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/akougkas/wtf-p/wtfp-insert-sectiongit clone --depth 1 https://github.com/akougkas/wtf-pWrote 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/akougkas/wtf-p/wtfp-insert-section)<a href="https://agentmods.dev/commands/akougkas/wtf-p/wtfp-insert-section"><img src="https://agentmods.dev/badge/commands/akougkas/wtf-p/wtfp-insert-section.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.00018 | $0.00616 |
| Opus 5 | $0.00009 | $0.00308 |
| Sonnet 5 | $0.00004 | $0.00123 |
| Haiku 4.5 | $0.00002 | $0.00062 |
Grade A, and why
wtfp:insert-section 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 5d 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.
This is a copy
83% identical to wtfp:execute-outline — 39 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 61 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Insert a section
@${PLUGIN_ROOT}/project/README.md @${PLUGIN_ROOT}/skills/wtfp-plan-section/SKILL.md @${PLUGIN_ROOT}/skills/wtfp-plan-section/references/actions.md
Record contract
Read: project://structure/outline, project://state, project://sections/{section}.
Produce: project://structure/outline (update), project://sections/{section} (create), project://state (update).
Resolve every logical URI through the host adapter. Portable v1 JSON records are the source of truth: schema-validate before a write, preserve stable IDs, update revision and timestamps where required, and replace records atomically. Never pass a literal logical URI to a shell command or infer record state from a legacy Markdown control file.
Manuscript prose and supporting context, research, plan, review, summary, handoff, and deliverable artifacts retain their authored format (normally Markdown). Link them from the relevant v1 record; do not convert manuscript prose into project-state JSON.
Procedure
- Resolve the insertion point and propose a stable new section ID, goal, dependencies, wave, claims, and word budget.
- Preview impacts on outline ordering, dependencies, section totals, and current position; require approval.
- Create the section record and atomically update outline and state. Do not renumber stable IDs or move manuscript files implicitly.
Safety and completion
Do not initialize a repository or run branch, stage, commit, merge, push, or publish operations. If requested, return a clearly labeled optional handoff for a separately authorized action.
Report the logical resources read, created, updated, archived, or deleted; the gates crossed; validation results; unresolved checkpoints; and the safest next action. Never claim a mutation that was not verified.
Bound action contract and schemas
@${PLUGIN_ROOT}/actions/insert-section.json @${PLUGIN_ROOT}/project/schemas/common.schema.json @${PLUGIN_ROOT}/project/schemas/outline.schema.json @${PLUGIN_ROOT}/project/templates/outline.json @${PLUGIN_ROOT}/project/schemas/section.schema.json @${PLUGIN_ROOT}/project/templates/section.json @${PLUGIN_ROOT}/project/schemas/state.schema.json @${PLUGIN_ROOT}/project/templates/state.json
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.
- 5d ago First seen · 61 lines · 18 tokens per session scan A 1e87c6acc440
wtfp:insert-section is a command published in the GitHub repository akougkas/wtf-p (19 stars, last pushed 6d ago), licensed MIT. It adds 18 tokens to every session and 616 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 83% identical to wtfp:execute-outline, differing in 39 lines, and is treated as a copy.
Other commands, from other repositories
fd-done
Close the task — summarize built vs required, then commit and push on confirmation.
fd-execute
Implement plan.md with the TDD pipeline — parallel worktree guard from affect.md, wave-based execution, checkpoint after each wave.
fd-review
Two-lens review of the task artifacts before execution — CEO review challenges scope and premise, eng review checks architecture, edge cases, and blast radius.
fd-verify
Verify the implementation — run tests, check regression on affect.md files, review and scan; blocks /fd-done on failure.
fd-resume
Restore from checkpoint.json (falling back to STATE.md) — brief the user, PAUSE for confirmation, then continue from the recorded command and stage.
fd-checkpoint
Purpose: Force-save the current session to checkpoint.json and STATE.md so it can be safely resumed later with /fd-resume. Normally runs automatically on session.idle via the session-events hook; invoke manually to force a save before closing a session.