plan-with-docs

plan-with-docs is a skill for Claude Code, Codex from jakubsuplicki/codument. It costs 31 tokens per session (3,100 once invoked), scanned A, original, Apache-2.0.

A planning skill for turning settled decisions into a written feature plan. The plan records scope, exclusions, success checks, verification, and implementation steps.

In plain words
What is it for?
Writing durable plans for software features or concepts after product behavior, architecture, scope, and testing decisions are settled.
Why use it?
It prevents agreed decisions from being lost and gives the agent a clear plan it can return to later. It also separates planning from unresolved design discussions.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/jakubsuplicki/codument/plan-with-docs
Any agent
npx skills add jakubsuplicki/codument --skill plan-with-docs
Clone the repo
git clone --depth 1 https://github.com/jakubsuplicki/codument

Made for: Claude Code, Codex.

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 plan-with-docs

README.md
[![agentmods](https://agentmods.dev/badge/skills/jakubsuplicki/codument/plan-with-docs.svg)](https://agentmods.dev/skills/jakubsuplicki/codument/plan-with-docs)
Your own site
<a href="https://agentmods.dev/skills/jakubsuplicki/codument/plan-with-docs"><img src="https://agentmods.dev/badge/skills/jakubsuplicki/codument/plan-with-docs.svg" alt="Measured on agentmods" height="20"></a>
Per session 31 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,100 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00031 $0.03100
Opus 5 $0.00015 $0.01550
Sonnet 5 $0.00006 $0.00620
Haiku 4.5 $0.00003 $0.00310

Measured 4d ago against content hash 1e07023f3378, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

plan-with-docs 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.

.agents/skills/plan-with-docs/SKILL.md · 150 lines

How it starts

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

Plan With Docs

Use this after grilling has resolved enough uncertainty to create an implementation plan. The output is a durable feature or concept doc that the agent can resume from later.

Boundary With Grill With Docs

plan-with-docs is for writing the agreed plan, not for discovering the work's boundaries. Use it only when the important decisions are already settled enough to define scope, non-goals, acceptance criteria, verification, and implementation steps.

Do not use plan-with-docs yet if any meaningful decision is still open:

  • product behavior, user workflow, or success criteria
  • architecture, migration, compatibility, or data-shape tradeoffs
  • scope, non-goals, rollout, or reversibility
  • affected callers, docs, tests, or dependent features
  • verification strategy or acceptance criteria
  • the right durable doc home for the decision

When those questions remain, switch to grill-with-docs first. Ask one sharp decision question with a recommended answer, wait for the user to settle it, then return to planning.

Workflow

  1. Read docs/.registry.json, docs/overview.md, relevant feature/concept docs, and relevant ADRs. For a feature or file you already know is in scope, codument context --feature <slug> / --file <path> projects the grounded slice in one deterministic read — the owning doc's orientation, its invariants with their test pointers, the primary sources, and one-hop dependencies — instead of hand-assembling those registry lookups; add --budget <tokens> to cap it (it trims tail-first and says what it dropped). Fall back to reading the registry and docs directly if the CLI is unavailable.
  2. Choose the narrowest doc home:
    • Feature behavior: docs/features/{feature}.md
    • Cross-cutting model or pattern: docs/concepts/{concept}.md
    • Hard-to-reverse architecture decision: docs/architecture/decisions/{NNN}-{title}.md
  3. Write or update the durable doc in the documentation standard's layers (the doc-audience-layers concept): ## In plain terms, ## Design approach, ## Invariants & boundaries, ## Decisions, ## Key files. Fill these at plan time — they are the knowledge that outlives the work, written at intent altitude (no identifiers, counts, or call order; that is mechanism and lives in code).
  4. Append a transient ## Delivery Plan block — the working artifact, not durable doc content. It carries the step checklist, the Feature Map (when the plan introduces source files — see below), the Outcome, acceptance criteria, verification strategy, and open questions. It compacts out when the work ships (see Compaction on ship).
  5. Mark the Delivery Plan as awaiting approval.
  6. Show the delivery-plan checklist, the outcome, and the open questions inline (see Approval Summary), run the adversarial plan pass and fold its objections in, then stop and ask the user to approve or change the plan before implementation. Never make the user open the doc to see what they are approving.

Read the full file on GitHub · 150 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. 4d ago First seen · 150 lines · 31 tokens per session scan A 1e07023f3378

Subscribe to this mod's changes

plan-with-docs is a skill published in the GitHub repository jakubsuplicki/codument (47 stars, last pushed 14d ago), licensed Apache-2.0. It adds 31 tokens to every session and 3,100 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.

Related

Other skills, from other repositories