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/rajconnects/founder-stack/start-buildgit clone --depth 1 https://github.com/rajconnects/founder-stackWhat 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.00042 | $0.01221 |
| Opus 5 | $0.00021 | $0.00611 |
| Sonnet 5 | $0.00008 | $0.00244 |
| Haiku 4.5 | $0.00004 | $0.00122 |
Grade A, and why
start-build 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 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.
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 — 77 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are starting a phase build. This command makes parallel-session coordination mechanical.
Arguments: $ARGUMENTS
Steps
-
Parse arguments. First positional = phase id (e.g.,
7a,docs-cleanup). Optional flags:--severity major|minor(default: ask the user — major = siblings pause; minor = siblings proceed with caution)--spec <path>(optional — if given, run/spec-intake <path>first; otherwise ask the user for plan summary)
If phase id missing, fail fast:
/start-build requires a phase id. Example: /start-build 7a --severity major. -
Pre-sweep stale rows. Read
.claude/coordination.json. For each row withstatus: active:- Compute heartbeat age. If older than
_doc.staleness_threshold_minutes(default 10), flip tocompleted_unclean, setcompletedtimestamp, and noteworktreepath for cleanup. - For each
completed_uncleanrow whoseworktreepath still exists on disk: rungit worktree remove --force <path>. If removal fails, log the path so the user can investigate.
- Compute heartbeat age. If older than
-
Conflict check. Among remaining
status: activerows:- If any row has
severity: major→ surface to the user with the row'splan_summary,branch, andclaims. Ask: "Session<id>is running a major build on<branch>. Pause this build or proceed with caution?" — let the user decide. - If any row has
severity: minorand itsclaims.filesglob-overlap your intended claims → surface the overlap and ask the user how to proceed. - If no overlap and no major sibling → proceed silently.
- If any row has
-
Run intake (if not done).
- If
--specprovided: invoke/spec-intake <spec>and use its plan as the basis. - Otherwise: ask the user for a one-line
plan_summary, plus roughclaims(files as globs, branches that will be pushed, remote ops likemigrationordeploy:staging).
- If
-
Capture session id.
- Read
$CLAUDE_SESSION_IDfrom environment. If unset, ask the user to paste the resume id from the most recent/resumeoutput (they can run/resumeand copy the uuid). - Generate a new short id for
id(e.g.,sess-+ first 8 chars of a uuid).
- Read
-
Create the worktree.
- Branch name: phase id (e.g.,
phase-7a-app-shell) or as user specifies. - Worktree path: sibling to the repo root, named
../<repo-basename>-<branch-slug>. - Run:
git worktree add <worktree-path> -b <branch-name>(or without-bif branch already exists). - If
git worktree addfails (branch exists in another worktree, dirty state, etc.), surface the error and stop — do not write the session row until the worktree exists.
- Branch name: phase id (e.g.,
-
Write the session row to
.claude/coordination.json:{ "id": "sess-<id>", "resume_id": "<CLAUDE_SESSION_ID>", "status": "active", "severity": "<major|minor>", "phase": "<phase-id>", "branch": "<branch-name>", "worktree": "<absolute-worktree-path>", "plan_summary": "<one-line>", "claims": { "files": [...], "branches": [...], "remote_ops": [...] }, "started": "<ISO-8601 now>", "heartbeat": "<ISO-8601 now>" }Append to
sessionsarray. Preserve all other rows untouched. -
Print handoff to the user:
✅ Build claim recorded: sess-<id> (severity: <major|minor>) Worktree: <absolute path> Branch: <branch> Plan: <summary> Next: cd '<worktree path>' and continue work there. To close this build: /handoff <phase-id>
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 · 77 lines · 42 tokens per session scan A 58c4a55b893a
start-build is a command published in the GitHub repository rajconnects/founder-stack (2 stars, last pushed 1mo ago), licensed MIT. It adds 42 tokens to every session and 1,221 once invoked, about $0.0002 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.
analyze
Perform a non-destructive cross-artifact consistency and quality analysis across spec.md, plan.md, and tasks.md after task generation.
constitution
Create or update the project constitution from interactive or provided principle inputs.
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.