Get the pack working in 5 minutes.
Prereqs:
- Git-initialized repo (swarm clone recommended)
- Claude Code installed
- Shell with
bash,git - Optional: Rust 1.70+ (for CLI tools; Python 3 fallback available)
- Optional:
ghCLI for GitHub integration
Done when: .runs/<run-id>/signal/signal_receipt.json exists with status: VERIFIED.
git clone git@github.com:org/your-repo.git your-repo-swarm
cd your-repo-swarm# Copy the pack (required)
cp -r /path/to/demo-swarm/.claude .
# Copy tooling (optional - only needed if you want the Rust CLI)
cp -r /path/to/demo-swarm/tools .
cp -r /path/to/demo-swarm/scripts .The .claude/ directory contains everything needed for flows. The tools/ and scripts/ directories provide optional Rust CLI tooling for mechanical operations. A Python fallback (.claude/skills/runs-derive/fallback/runs_tools.py) is included if Rust is not available.
If you copied tools/ and scripts/ and have Rust installed:
bash scripts/bootstrap.shThis installs pack-check and demoswarm CLI tools to .demoswarm/bin/.
If you skip this step, the pack will use the Python fallback automatically.
Open the repo. Claude Code discovers .claude/commands/, .claude/agents/, .claude/skills/.
Optional: run /customize-pack to adapt test/lint commands to your stack.
/flow-1-signal "Add a health check endpoint"
Flow 1 transforms free-text into:
requirements.md— testable requirementsfeatures/*.feature— BDD scenariossignal_receipt.json— flow summary
ls .runs/*/signal/
# requirements.md, features/, signal_receipt.json
cat .runs/*/signal/signal_receipt.json | jq .status
# Should return: "VERIFIED"If UNVERIFIED, check blockers field in the receipt.
The pack works fully offline. When gh is not authenticated:
- GitHub agents (
gh-issue-manager,gh-reporter) are SKIPPED, not failed - Local artifacts are still written to
.runs/<run-id>/ - Git operations create local branches/commits but don't push
To verify CLI tooling works against artifacts (replace <run-id> with your actual run ID):
# Count requirements
bash .claude/scripts/demoswarm.sh count pattern \
--file ".runs/<run-id>/signal/requirements.md" \
--regex '^### REQ-'
# Count BDD scenarios
bash .claude/scripts/demoswarm.sh count bdd \
--dir ".runs/<run-id>/signal/features"
# Read receipt status
bash .claude/scripts/demoswarm.sh receipt get \
--file ".runs/<run-id>/signal/signal_receipt.json" \
--key statusNote: The demoswarm CLI returns scalar values to stdout. Use jq or the pack's receipts for structured data.
| Goal | Command/Doc |
|---|---|
| Continue to Plan | /flow-2-plan |
| Run all 7 flows | Walkthrough |
| Customize for your stack | customize-pack.md |
| Validate pack contracts | validation-run.md |
"Receipt status is UNVERIFIED"
Check blockers field. Common causes: missing prereqs, critic flagged issues. This is not failure—it means the flow completed with documented gaps.
"CANNOT_PROCEED in receipt"
Mechanical failure (I/O, permissions, tooling). Check missing_required field.
"GitHub operations skipped"
Check gh auth status. Flows work locally—GitHub posting is optional.
"Command not found"
Ensure .claude/ is at repo root and you're in Claude Code.
"pack-check failed"
Run bash scripts/bootstrap.sh to install CLI tools (requires Rust). Alternatively, ensure Python 3 is available for the fallback.