Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/marcusgoll/Spec-Flownpx agentmods add commands/marcusgoll/spec-flow/studioWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/commands/marcusgoll/spec-flow/studio)<a href="https://agentmods.dev/commands/marcusgoll/spec-flow/studio"><img src="https://agentmods.dev/badge/commands/marcusgoll/spec-flow/studio/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/commands/marcusgoll/spec-flow/studio"><img src="https://agentmods.dev/badge/commands/marcusgoll/spec-flow/studio.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What 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.1 | $0.00022 | $0.02602 |
| Opus 5.5 | $0.00009 | $0.01041 |
| Sonnet 5.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 1mo 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.
- 1mo ago First seen · 360 lines · 22 tokens per session scan C d95ec1ecc696
studio is a command published in the GitHub repository marcusgoll/Spec-Flow (96 stars, last pushed 24d ago), licensed MIT. It adds 22 tokens to every session and 2,602 once invoked, about $0.0001 per session on Opus 5.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
github-pr-description
Updates the description of the PR.
release
Execute full version release — merge PRs, version bump, tag, GitHub Release, sync branches, cleanup.
team
Route a task to the right AI team + member (two-level team→member selection).
end-work
Complete work session with final checklist.
task-dispatch
PitWay: Prepare a parallel-eligible task for worktree execution.
task-integrate
PitWay: Apply a dispatched task's worktree commit to the main tree.