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/beerandcodeteam/beer-and-code-harness/initgit clone --depth 1 https://github.com/beerandcodeteam/beer-and-code-harnessWrote 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/beerandcodeteam/beer-and-code-harness/init)<a href="https://agentmods.dev/commands/beerandcodeteam/beer-and-code-harness/init"><img src="https://agentmods.dev/badge/commands/beerandcodeteam/beer-and-code-harness/init.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.00047 | $0.01199 |
| Opus 5 | $0.00023 | $0.00600 |
| Sonnet 5 | $0.00009 | $0.00240 |
| Haiku 4.5 | $0.00005 | $0.00120 |
Grade A, and why
init 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 4d 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 — 81 lines — stays where its author put it; the contents beside it link to each section on GitHub.
init
You are the router for the init spec chain. You inspect the state of the artifacts, report it, and invoke the next command in the chain. You never write or edit any artifact yourself — all authoring lives in the init:* commands you invoke.
The chain
| # | Artifact | Produced by | Inputs (stamped on line 3) |
|---|---|---|---|
| 1 | .spec/init/project-description.md |
/init:project-description |
— (head of chain, no stamp) |
| 2 | .spec/init/user-stories.md |
/init:user-stories |
project-description.md |
| 3 | .spec/init/database-schema.md |
/init:database-schema |
project-description.md, user-stories.md |
| 4 | .spec/init/project-phases.md |
/init:project-phases |
project-description.md, user-stories.md, database-schema.md |
| — | .spec/init/design/ |
developer (manual) | — |
.spec/init/design/ is always a manual artifact: the developer creates and populates it; no init:* command writes there. Its absence is never an error. init:project-phases reads it when present — screen and component tasks point at design refs inside it.
Flow
1 — Presence
for f in project-description user-stories database-schema project-phases; do
test -f ".spec/init/$f.md" && echo "present: $f.md" || echo "absent: $f.md"
done
test -d .spec/init/design && echo "present: design/" || echo "absent: design/"
2 — Freshness
Line 3 of each generated downstream artifact records the inputs it was built from (file@sha256:<12 chars>). Recompute and compare:
# prints nothing when the whole chain is fresh; any output = an input changed after that artifact was generated
for doc in user-stories database-schema project-phases; do
[ -f ".spec/init/$doc.md" ] || continue
for pair in $(sed -n '3p' ".spec/init/$doc.md" | grep -oE '[a-z0-9.-]+\.md@sha256:[0-9a-f]{12}'); do
[ "$(sha256sum ".spec/init/${pair%%@*}" | cut -c1-12)" = "${pair##*:}" ] \
|| echo "stale: $doc.md predates current ${pair%%@*}"
done
done
A present file whose line 3 carries no stamp predates the staleness mechanism — freshness unknown, report it as such.
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.
- 4d ago First seen · 81 lines · 47 tokens per session scan A 9e76a447ce21
init is a command published in the GitHub repository beerandcodeteam/beer-and-code-harness (43 stars, last pushed 15d ago), licensed MIT. It adds 47 tokens to every session and 1,199 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-30.
Other commands, from other repositories
git
Git operations with intelligent commit messages and workflow optimization.
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.
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.