wtfp:resume-writing

wtfp:resume-writing is a command for Claude Code from akougkas/wtf-p. It costs 22 tokens per session (1,002 once invoked), scanned A, original, MIT.

A command for continuing a paused manuscript project from its latest portable handoff. It reads the recorded project state and directs the next safe action.

In plain words
What is it for?
Use it to resume writing work using the current outline, plans, reviews, summaries, checkpoints, validation results, and manuscript records.
Why use it?
It avoids losing progress or repeating completed work after an interruption.

Command for Claude Code

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

Good fit Use it to resume writing work using the current outline, plans, reviews, summaries, checkpoints, validation results, and manuscript records.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/akougkas/wtf-p/wtfp-resume-writing
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:resume-writing

README.md
[![agentmods](https://agentmods.dev/badge/commands/akougkas/wtf-p/wtfp-resume-writing/github.svg)](https://agentmods.dev/commands/akougkas/wtf-p/wtfp-resume-writing)
Your own site
<a href="https://agentmods.dev/commands/akougkas/wtf-p/wtfp-resume-writing"><img src="https://agentmods.dev/badge/commands/akougkas/wtf-p/wtfp-resume-writing/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for wtfp:resume-writing

Your own site · 80×15
<a href="https://agentmods.dev/commands/akougkas/wtf-p/wtfp-resume-writing"><img src="https://agentmods.dev/badge/commands/akougkas/wtf-p/wtfp-resume-writing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 22 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,002 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 original No closer match found 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.00022 $0.01002
Opus 5 $0.00011 $0.00501
Sonnet 5 $0.00004 $0.00200
Haiku 4.5 $0.00002 $0.00100

Measured 11d ago against content hash 04acd65b306a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

wtfp:resume-writing 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 11d 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.

vendors/antigravity/commands/wtfp-resume-writing.md · 73 lines

How it starts

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

Resume writing

@${PLUGIN_ROOT}/project/README.md @${PLUGIN_ROOT}/skills/wtfp-manage-project/SKILL.md @${PLUGIN_ROOT}/skills/wtfp-manage-project/references/actions.md

Record contract

Read: project://manifest, project://config, project://state, project://decisions, project://structure/outline, project://checkpoints/{checkpoint}, project://sections/{section}, project://sections/{section}/plans/{plan}, project://sections/{section}/reviews/{review}, project://sections/{section}/handoff, project://sections/{section}/summary, project://validations/{validation}, project://paper/{artifact}. Produce: project://checkpoints/{checkpoint} (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. In the current invocation, read and schema-validate the manifest, config, state, decisions, and every pending active checkpoint. Read the chosen pending checkpoint plus its linked handoff, section, selected plan, reviews, validations, manuscript, summary, and outline; a prior conversation, invocation prose, or generated report is not evidence that these reads occurred. Missing, stale, ambiguous, or conflicting resume inputs fail closed with zero writes.
  2. Verify referenced revisions and artifacts are current, then report completed work, pending work, blockers, stale assumptions, and the exact bounded options. Do not create a report artifact: before selection the action is read-only.
  3. Invoke the host's interactive user gate and wait for one exact option. Invocation arguments may request resumption but cannot answer this gate. If the gate is unavailable or no response is returned, report needs-input and make no mutation.
  4. Only after the returned selection, resolve, waive, or expire the checkpoint as selected and set state.status to active when continuation is confirmed. Preserve the existing valid state.phase, increment required revisions, and clear only the resolved active checkpoint URI.
  5. Schema-validate and read back checkpoint and state before claiming success. Preserve the handoff until the selected continuation itself is confirmed.

Read the full file on GitHub · 73 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. 11d ago First seen · 73 lines · 22 tokens per session scan A 04acd65b306a

Subscribe to this mod's changes

wtfp:resume-writing is a command published in the GitHub repository akougkas/wtf-p (19 stars, last pushed 12d ago), licensed MIT. It adds 22 tokens to every session and 1,002 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-30.