wtfp:plan-section

wtfp:plan-section is a command for Claude Code from akougkas/wtf-p. It costs 18 tokens per session (1,116 once invoked), scanned A, a copy of wtfp:execute-outline, MIT.

A command for creating and independently checking a detailed plan for one manuscript section. It stores the plan, checks, and related project updates in structured records.

In plain words
What is it for?
Use it to plan a section using its outline, research, sources, evidence, summaries, and previous checks, then record the resulting plan and checkpoints.
Why use it?
It turns a writing request into bounded steps with evidence and review points before prose is changed.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: names the AskUserQuestion tool.

Good fit Use it to plan a section using its outline, research, sources, evidence…

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/akougkas/wtf-p/wtfp-plan-section
Install

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.

Clone the repo
git clone --depth 1 https://github.com/akougkas/wtf-p

Made for: Claude Code.

Wrote 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.

agentmods badge for wtfp:plan-section

README.md
[![agentmods](https://agentmods.dev/badge/commands/akougkas/wtf-p/wtfp-plan-section.svg)](https://agentmods.dev/commands/akougkas/wtf-p/wtfp-plan-section)
Your own site
<a href="https://agentmods.dev/commands/akougkas/wtf-p/wtfp-plan-section"><img src="https://agentmods.dev/badge/commands/akougkas/wtf-p/wtfp-plan-section.svg" alt="Measured on agentmods" height="20"></a>
Per session 18 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,116 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 94% copy Near-identical to another mod in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00018 $0.01116
Opus 5 $0.00009 $0.00558
Sonnet 5 $0.00004 $0.00223
Haiku 4.5 $0.00002 $0.00112

Measured 7d ago against content hash 20a545a7d9c0, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

wtfp:plan-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 7d 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.

Origin

This is a copy

94% identical to wtfp:execute-outline — 26 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.

vendors/antigravity/commands/wtfp-plan-section.md · 78 lines

How it starts

The opening of the file, as written. The whole thing — 78 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Plan 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://manifest, project://config, project://state, project://decisions, project://structure/outline, project://validations/*, project://sections/{section}, project://sections/{section}/context, project://sections/{section}/research, project://sections/{section}/summary, project://sources/{source}, project://evidence/{evidence}. Produce: project://sections/{section}/plans/{plan} (create), project://validations/{validation} (create), project://checkpoints/{checkpoint} (create), project://sections/{section} (update), 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

  1. Resolve one section record, load its linked context, research, evidence, decisions, and outline constraints, and enumerate the bounded project://validations/* collection before any specialist dispatch.
  2. Filter those records to candidates whose subject_uri is exactly project://structure/outline and whose action_id is exactly create-outline. A candidate is current only when executed_at >= outline.updated_at. Because the v1 validation schema carries no outline revision or content hash, disclose that this timestamp test is a conservative freshness proxy.
  3. Require exactly one current candidate and require its status to be passed. Separately verify that the current outline and target section are consistent with all current locked and deferred author choices: honor locked choices and do not treat deferred choices as resolved. A missing, stale, ambiguous, or non-passing candidate, or a decision contradiction, blocks all specialist dispatch and every plan, section, state, or validation write. Only a recovery checkpoint may be proposed on this blocked path, and it may be written only after a complete record preview and explicit author approval.
  4. Only after those prerequisites pass, delegate a bounded plan to section-planner, then require a fresh plan-checker pass over claim coverage, dependencies, file scope, citations, and decision fidelity.
  5. At confirm_plan, preview the plan and validation; on approval link the plan, update section status to planned, and reconcile state. Create a checkpoint for unresolved judgment instead of bypassing the required checker.

Read the full file on GitHub · 78 lines

Changes

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.

  1. 7d ago First seen · 78 lines · 18 tokens per session scan A 20a545a7d9c0

Subscribe to this mod's changes

wtfp:plan-section is a command published in the GitHub repository akougkas/wtf-p (19 stars, last pushed 7d ago), licensed MIT. It adds 18 tokens to every session and 1,116 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 94% identical to wtfp:execute-outline, differing in 26 lines, and is treated as a copy.