Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add commands/marcusgoll/spec-flow/studiogit clone --depth 1 https://github.com/marcusgoll/Spec-FlowWhat it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00022 | $0.02602 |
| Opus 5 | $0.00011 | $0.01301 |
| Sonnet 5 | $0.00004 | $0.00520 |
| Haiku 4.5 | $0.00002 | $0.00260 |
Grade C, and why
studio scanned grade C with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Recursive force deletehighDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
rm -rf worktrees/studio/ How it starts
The opening of the file, as written. The whole thing — 360 lines — stays where its author put it; the contents beside it link to each section on GitHub.
GitHub auth: !gh auth status >/dev/null 2>&1 && echo "Authenticated" || echo "Not authenticated"
Repository: !gh repo view --json nameWithOwner -q .nameWithOwner 2>/dev/null || echo "Unknown"
Existing worktrees: !git worktree list --porcelain 2>/dev/null | grep -c "^worktree" || echo "0"
Studio state: !test -f .spec-flow/studio/state.yaml && echo "Active" || echo "Not initialized"
Roadmap status (next): !gh issue list --label "status:next,type:feature" --json number --jq 'length' 2>/dev/null || echo "0"
Roadmap status (backlog): !gh issue list --label "status:backlog,type:feature" --json number --jq 'length' 2>/dev/null || echo "0"
Commands:
- init N - Create N persistent worktrees (1-10) for parallel development
- setup - Configure GitHub branch protection for auto-merge CI flow
- status - Show all agent worktrees and their current work
- stop - Guidance for graceful shutdown
Target workflow:
/studio setup → Configure GitHub for auto-merge
/studio init 3 → Create 3 agent worktrees
(open terminals, cd into each, run claude)
Each agent: /feature next → work → /ship-staging → /finalize → repeat
Prerequisites:
- Git repository with remote
- GitHub CLI authenticated
- Worktree manager script available
Step 0: Parse Command
Extract subcommand from $ARGUMENTS:
init N→ Create N worktreessetup→ Configure GitHub branch protectionstatus→ Show studio statusstop→ Shutdown guidance
If no arguments or help requested, display usage and exit.
Command: init N
1.1 Validate Prerequisites
# Check git repo
if ! git rev-parse --is-inside-work-tree >/dev/null 2>&1; then
echo "Error: Not inside a git repository"
exit 1
fi
# Check GitHub auth
if ! gh auth status >/dev/null 2>&1; then
echo "Error: GitHub CLI not authenticated. Run: gh auth login"
exit 1
fi
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2d ago First seen · 360 lines · 22 tokens per session scan C d95ec1ecc696
studio is a command published in the GitHub repository marcusgoll/Spec-Flow (91 stars, last pushed 4mo ago), licensed MIT. It adds 22 tokens to every session and 2,602 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other commands, from other repositories
quick-fix
Fast-track workflow for small bug fixes.
review
Review the current diff for violations of the conventions in AGENTS.md and .cursor/rules/. Report findings ordered by severity; do not fix anything unless asked.
usage-add
PitWay: Accumulate measured planning or qa token usage onto a milestone.
pi-code-review
Adversarial code review via Codex — break confidence in changes, not validate them.
milestone-list
PitWay: List every milestone with a concise one-line status.
setup
Install the claude-pace statusline bundled with this plugin.