Skip to content

SkillfoldTyped coordination for multi-agent pipelines

Compile YAML configs into agent skills, execution flows, and orchestrators - validated at compile time.

What It Looks Like

Define your agent pipeline in YAML:

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: end

Compile to any platform:

bash
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/*.md

Or run the pipeline directly:

bash
npx skillfold run --target claude-code --spawner sdk

How Skillfold Compares to Runtime Orchestration

Skillfold 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 happensAt compile time, before agents runAt runtime, while agents execute
Output formatStandard files (SKILL.md, .claude/agents/, Cursor rules)Proprietary runtime objects and APIs
Platform lock-inNone - output is plain files any tool can readTied to the framework's runtime and SDK
ValidationCompile-time type checking for state, flows, and referencesRuntime errors surface during execution
Runtime overheadZero - agents read files directly, no middlewareFramework process runs alongside agents
Best forKnown pipelines with static topology and typed stateDynamic 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.

Released under the MIT License.