Skip to content
Back to skills

Graft

ASecurity

Compile and execute declarative multi-agent pipelines using the Graft CLI runtime. Compose agent graphs, state handoffs, and verification steps into repeatable workflows. Use when orchestrating cooperating agents.

  • 3 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 11, 2026
ai-agentspythonbashnodedebugginggitapi

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 4 files and shows the line behind each finding

Scanned November 11, 2026

npx -y skills add siddu1004/SFP --skill graft --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Graft?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Graft
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/siddu1004-graft/badge)](https://www.skillsdirectory.com/skills/siddu1004-graft)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: graft
description: "Compile and execute declarative multi-agent pipelines using the Graft CLI runtime. Compose agent graphs, state handoffs, and verification steps into repeatable workflows. Use when orchestrating cooperating agents."
---

> **This skill needs Graft, which is installed separately.** From this skill's folder, run `python3 scripts/sfp_app.py status` to see whether it is installed and running. If it is not, run `python3 scripts/sfp_app.py install` to get the plan (it changes nothing), tell the user what it will do, and run it again with `--yes` only after they agree. `start` runs it when it is installed but stopped.

# Graft Multi-Agent Pipeline Compiler

Declarative multi-agent orchestration runtime and compiler CLI. Graft lets developers define agent state machines, tool access policies, and validation gates in structured configuration files.

## Use this skill when
- Composing pipelines where multiple specialized agents collaborate sequentially or in parallel.
- Setting explicit handoff schemas and validation gates between agent stages.
- Replaying and debugging multi-step agent execution traces.

## Steps
1. **Initialize a Graft pipeline project**:
   Scaffold pipeline configuration:
   ```bash
   graft init my-agent-pipeline
   ```
2. **Define agent nodes and edges**:
   Specify agents, tasks, and transition conditions in `graft.yaml`:
   ```yaml
   pipeline:
     - name: researcher
       role: "Codebase exploration"
       output: "context.json"
     - name: implementer
       depends_on: [researcher]
       role: "Code authoring"
   ```
3. **Validate pipeline graph**:
   Run schema and dependency cycle checks:
   ```bash
   graft check graft.yaml
   ```
4. **Execute pipeline run**:
   Execute the compiled pipeline with live logging:
   ```bash
   graft run graft.yaml --log-level info
   ```

## Checks
- Verify graph has no circular dependencies or unresolvable transitions.
- Check that output schemas match input contracts of downstream nodes.

## Pitfalls
- Ensure environment variables and API credentials required by subagents are declared in project secrets.
- Always include explicit fallback and timeout transitions on long-running tasks.

## Sources
- [Graft GitHub Repository](https://github.com/JSLEEKR/graft)

Files in this skill

  • LICENSE54 B
  • SKILL.md2.2 KB
  • scripts/app.json711 B
  • scripts/sfp_app.py10.1 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.