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/valsecchi75/project-scaffolder/phase-docgit clone --depth 1 https://github.com/valsecchi75/project-scaffolderWrote 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/valsecchi75/project-scaffolder/phase-doc)<a href="https://agentmods.dev/commands/valsecchi75/project-scaffolder/phase-doc"><img src="https://agentmods.dev/badge/commands/valsecchi75/project-scaffolder/phase-doc.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.00022 | $0.00336 |
| Opus 5 | $0.00011 | $0.00168 |
| Sonnet 5 | $0.00004 | $0.00067 |
| Haiku 4.5 | $0.00002 | $0.00034 |
Grade A, and why
phase-doc 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.
What it actually says
/phase-doc — Phase Execution Document
Generate docs/phases/PHASE-{N}-execution.md for the current phase. This document is the hard gate: the Cortex refuses /task without it.
Steps
- Determine the current phase N from CLAUDE.md ("Current phase") and
wiki/product/roadmap.md. - If
docs/phases/PHASE-{N}-execution.mdalready exists → ask: "Update the existing doc or abort?" Never overwrite silently. - Read
wiki/priorities.md,wiki/product/roadmap.md, and the design spec indocs/superpowers/specs/. - Draft the Activities table using
templates/execution-doc.md(from the plugin root). For every activity:- a
→ VERIFY:criterion (concrete evidence, not "it works") - a model assignment following the Model Routing Policy
- a Parallel flag (yes only if zero dependency on other activities)
- a token estimate (~Nk)
- a
- Fill Assumptions & Unknowns from the phase brief (tag
[HYPOTHESIS]anything not explicitly stated). - Present the draft table for confirmation (skip confirmation in Autonomous mode).
- Create
docs/phases/if missing, write the document. - Log the operation to
logs/pipeline/YYYY-MM-DD.md.
Flags
--update— regenerate the doc for the current phase keeping completed activities marked.
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 · 28 lines · 22 tokens per session scan A 5da6e177b8b9
phase-doc is a command published in the GitHub repository valsecchi75/project-scaffolder (9 stars, last pushed 1mo ago), licensed MIT. It adds 22 tokens to every session and 336 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
project-recap
Generate a visual project recap for context switching.
os-meeting
快速创建和管理AI团队会议.
workspace
Testany Workspace, 管理工作空间,成员权限,团队组织.
standup
Show a daily standup summary with completed, in-progress, and blocked tasks across all active epics.
m-task-planner
Target: $ARGUMENTS (Default: requirement document(s) discovered in the project).
triage
Triage ServiceNow incidents — list open incidents, assess priority, investigate a specific INC, or analyze trends.