Custom Agents
Install the main SpecFlow skills first. Then add the bundled worker agents only if you want them.
SpecFlow ships three supporting worker agents in agents/:
coder— implementation worker for301-spec-implementation,302-test-implementation,401-cleanup, and402-test-correctionexecution-agent— validation worker for test, lint, and build passesdesigner— UI direction worker for106-ui-design,107-ui-experience,108-ui-page-design, and UI-affecting301-spec-implementationruns
OpenCode
Section titled “OpenCode”Global install:
curl -fsSL https://raw.githubusercontent.com/ajelinek/SpecFlow/main/install/install-agents.sh | sh -s -- --path="$HOME/.config/opencode/agents"Project-local install:
curl -fsSL https://raw.githubusercontent.com/ajelinek/SpecFlow/main/install/install-agents.sh | sh -s -- --path=/path/to/project/.opencode/agentsDirect copy to a chosen directory:
curl -fsSL https://raw.githubusercontent.com/ajelinek/SpecFlow/main/install/install-agents.sh | sh -s -- --path=/path/to/agents-dirCommon target directories:
- Project-local:
.opencode/agents/ - User-wide:
~/.config/opencode/agents/
Claude Code
Section titled “Claude Code”Global install:
curl -fsSL https://raw.githubusercontent.com/ajelinek/SpecFlow/main/install/install-agents.sh | sh -s -- --path="$HOME/.claude/agents"Project-local install:
curl -fsSL https://raw.githubusercontent.com/ajelinek/SpecFlow/main/install/install-agents.sh | sh -s -- --path=/path/to/project/.claude/agentsDirect copy to a chosen directory:
curl -fsSL https://raw.githubusercontent.com/ajelinek/SpecFlow/main/install/install-agents.sh | sh -s -- --path=/path/to/agents-dirCommon target directories:
- Project-local:
.claude/agents/ - User-wide:
~/.claude/agents/
Manual Install
Section titled “Manual Install”If you prefer not to run the installer, download these files and place them in your target agents directory:
Example target directories:
- OpenCode global:
~/.config/opencode/agents/ - OpenCode project-local:
.opencode/agents/ - Claude Code global:
~/.claude/agents/ - Claude Code project-local:
.claude/agents/
If your Claude setup does not support the model named in one of these files, replace or remove
the model field after copying.
Important Split
Section titled “Important Split”- Use
npx skills add ...for the main SpecFlow install - Use the
curl ... | sh -s -- --path=...installer only if you want the optional worker agents - Edit copied agent files if you want different
modelvalues
These agents are installed separately, but they are the intended support structure for full
301, 302, 401, and 402 runs.