Skill Composition
Define atomic skills once, compose them into agents. No copy-paste, no drift. 11 library skills included, installable standalone via npx skills add.
Compile YAML configs into agent skills, execution flows, and orchestrators - validated at compile time.
Define your agent pipeline in YAML:
skills:
atomic:
planning: npm:skillfold/library/skills/planning
code-writing: npm:skillfold/library/skills/code-writing
testing: npm:skillfold/library/skills/testing
composed:
engineer:
compose: [planning, code-writing, testing]
state:
tasks:
type: list<Task>
location:
github-issues: { repo: my-org/my-repo, label: task }
team:
flow:
- planner:
writes: [state.tasks]
then: map
- map:
over: state.tasks
as: task
flow:
- engineer:
reads: [task.description]
writes: [task.output]
then: endCompile to any platform:
npx skillfold --target claude-code # .claude/agents/*.md
npx skillfold --target cursor # .cursor/rules/*.mdc
npx skillfold --target codex # AGENTS.md
npx skillfold --target gemini # .gemini/agents/*.mdOr run the pipeline directly:
npx skillfold run --target claude-code --spawner sdkSkillfold is a compiler, not a runtime framework. It validates your pipeline at compile time and emits plain files that agents read directly. Runtime orchestration tools like CrewAI, AutoGen, and LangGraph take a different approach - they coordinate agents at execution time through a framework process. Both are valid; which one fits depends on your pipeline.
| Skillfold (compile-time) | Runtime orchestration (CrewAI, AutoGen, LangGraph) | |
|---|---|---|
| When coordination happens | At compile time, before agents run | At runtime, while agents execute |
| Output format | Standard files (SKILL.md, .claude/agents/, Cursor rules) | Proprietary runtime objects and APIs |
| Platform lock-in | None - output is plain files any tool can read | Tied to the framework's runtime and SDK |
| Validation | Compile-time type checking for state, flows, and references | Runtime errors surface during execution |
| Runtime overhead | Zero - agents read files directly, no middleware | Framework process runs alongside agents |
| Best for | Known pipelines with static topology and typed state | Dynamic workflows where topology changes based on intermediate results |
Runtime tools are the better choice when your pipeline needs to make structural decisions mid-execution - spawning new agents, rewiring flows, or adapting the graph based on intermediate output. Skillfold is the better choice when you know the shape of your pipeline ahead of time and want the compiler to catch errors before anything runs.