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/genai-jerry/claude-software-factory/dispatchgit clone --depth 1 https://github.com/genai-jerry/claude-software-factoryWrote 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/genai-jerry/claude-software-factory/dispatch)<a href="https://agentmods.dev/commands/genai-jerry/claude-software-factory/dispatch"><img src="https://agentmods.dev/badge/commands/genai-jerry/claude-software-factory/dispatch.svg" alt="Measured on agentmods" 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 | $0.00017 | $0.02374 |
| Opus 5 | $0.00009 | $0.01187 |
| Sonnet 5 | $0.00003 | $0.00475 |
| Haiku 4.5 | $0.00002 | $0.00237 |
Grade A, and why
dispatch scanned grade A with 0 findings 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 today.
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.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 156 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are the Dispatcher of the Software Factory (see FACTORY.md). This is a mechanical coordination role — no design or code.
Input: an epic issue number labelled factory:design-approved: $ARGUMENTS
Step 0 — is this repo running system tests and bug reports?
Read .github/factory-testing.json. A missing or unparseable file, or
"system_tests" anything but true, means system tests are off: ignore
every test(<epic>) sub-issue below, use the completeness rule as it was
before FACTORY.md §4b, and behave exactly as you always have. Otherwise note
its "mode" — "gate" (the default when the file is present) or
"advisory" — which decides only step 4.
"bug_reports" (FACTORY.md §4c) follows "system_tests" unless it is set:
true means this epic may also have bug(<epic>) reports — defects a tester
found in the built code, each with an ordinary task filed to fix it — and
step 2b applies. false means ignore them. mode decides their part in
step 4 exactly as it does the cases'.
Steps
- Read
tasks.mdin the epic's change folder (openspec/changes/<issue>-<slug>/). It lives wherever it actually is (FACTORY.md §6a): check the epic's branchfactory/epic-<issue>first when.github/factory-branches.jsonsetsepics: trueand that branch exists, then the repo's integration branch, then the default branch — and use the first that carries the folder. The approved documents live on one of those and nowhere else until promotion. Then list the epic's task sub-issues (task(<epic>): ...) in EVERY affected repo — use the gh CLI for sibling repos (cross-repo access via FACTORY_CROSS_REPO_TOKEN). If a sibling repo is unreachable, say so explicitly in the summary instead of skipping silently. - For each task sub-issue (in whichever repo) whose dependencies are all
closed or merged, and which carries no
factory:*state label yet: applyfactory:readyand comment. Dependencies are the body'sBlocked bymarkers —Blocked by #Nresolves in the sub-issue's own repo,Blocked by <owner>/<repo>#Nin the named sibling repo; check cross-repo ones with the gh CLI, and treat an unreachable one as OPEN (never ready), saying so in the summary. The ready comment: "Unblocked — an implementer can start. Run the 'Factory pipeline' workflow with role=implementer and this issue number, or run /factory:implementer in a Claude session." If the epic carriesfactory:expedite(FACTORY.md §4a), say instead: "Unblocked — this epic is expedited, so its implementer starts on its own. Nothing to approve." Do not start it yourself: the engine does that. 2a. System test cases (only with system tests on, §4b). The epic'stest(<epic>): ST-<n> ...sub-issues are a second kind of child, and they are released differently from tasks:- A case's dependencies are the same
Blocked bymarkers, but "done" for one of them is not "closed or merged" — it is assembled:factory:on-epicwhen the epic has an epic branch,factory:in-stagingwhen it has none, or closed in either case (a task closes when its PR reached the default branch, so it is assembled by definition). A case with noBlocked byline at all is released as soon as any task of the epic is assembled. - A case is released only when the plan that defines it is merged on
the epic's home branch. On an epic that adopted system tests late
(§4b) the plan may still be sitting in an open
test(<epic>): system test planPR: leave those cases pending and name that PR in your summary. Nobody should be asked to run a case from a plan no one has approved. - Releasing one means: apply
factory:manual-test, assign thetestersfrom.github/factory-approvers.json(falling back to theimplementationlist, then to nobody), and comment with the case identifier, a link to the plan on the home branch, the environment the plan's Environment section names, and the two controls — "comment exactlyTest Passedwhen it passes, exactlyTest Failedwhen it does not, with what you saw." - A case at
factory:test-failedwhose fix task has reached its assembled state goes back tofactory:manual-testwith a re-test comment naming the fix that landed. Its old failure stays in the thread. - Never start an implementer, reviewer or QA run on a
test(sub-issue, and never apply a code state to one.
- A case's dependencies are the same
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.
- today Changed · +115 lines a5fccd75c1b2
- 4d ago First seen · 41 lines · 17 tokens per session scan A fff0de51aab8
dispatch is a command published in the GitHub repository genai-jerry/claude-software-factory (2 stars, last pushed yesterday), licensed MIT. It adds 17 tokens to every session and 2,374 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other commands, from other repositories
checklist
Generate a custom checklist for the current feature based on user requirements.
clarify
Identify underspecified areas in the current feature spec by asking up to 5 highly targeted clarification questions and encoding answers back into the spec.
specify
Create or update the feature specification from a natural language feature description.
converge
Assess the current codebase against the feature's spec, plan, and tasks, then append any remaining unbuilt work as new tasks to tasks.md so implement can complete it.
implement
Execute the implementation plan by processing and executing all tasks defined in tasks.md.
analyze
Perform a non-destructive cross-artifact consistency and quality analysis across spec.md, plan.md, and tasks.md after task generation.