codument: Skill for Claude Code

.agents/skills/plan-with-docs/SKILL.md

plan-with-docs is a skill for Claude Code, Codex from jakubsuplicki/codument. It costs 31 tokens per session (3,676 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

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents; installed under .agents/ (shared by several agents).

This is jakubsuplicki/codument's own configuration. It tells Claude Code and Codex how to work on codument itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything codument configures →

Reuse

Borrowing it

Nothing to install: this file belongs to jakubsuplicki/codument. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/jakubsuplicki/codument/main/.agents/skills/plan-with-docs/SKILL.md
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/github.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/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 plan-with-docs

Your own site · 80×15
<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="Reviewed on agentmods" width="80" 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,676 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00031 $0.03676
Opus 5.5 $0.00012 $0.01470
Sonnet 5.5 $0.00006 $0.00735
Haiku 4.5 $0.00003 $0.00368

Measured 23d ago against content hash 43850b588701, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 23d 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 · 188 lines

How it starts

The opening of the file, as written. The whole thing — 188 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.

Before lifecycle commands, run the session compatibility check from work-step: the actual codument --help must list work and verify. Repair a mismatch before recording approval; do not substitute older commands or manual checkpoints. Reuse a completed session check.

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 or dependencies whose treatment requires an unapproved behavior or architecture choice
  • 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/overview.md and the relevant docs and ADRs. Ground known paths together with one codument context --paths <paths...> query; use --feature <slug> when the feature is known instead. Reuse this planning context during implementation and refresh the affected working set when discoveries or routing changes make it stale. Single-file queries remain useful for ad-hoc ownership questions. Read docs/.registry.json when editing or assessing the whole map, or when the CLI is unavailable. --budget <tokens> is a soft target: optional context can be trimmed, but selected contracts may exceed it and must not be silently discarded.
  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. New plans default to Approval-Model: outcome-v1 in its header, alongside Status: awaiting approval and an optional Plan-ID. Include nonempty direct-child ### Outcome, ### Constraints & non-goals, ### Acceptance evidence, and ### Verification sections. Keep the milestone checklist in this selected block; Scope, Feature Map and implementation notes guide routing and cannot hide executable milestones. Sibling or historical plans cannot supply the contract. It compacts out when the work ships.
  5. Show the delivery-plan checklist and approval contract 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. Compact verified cleanup uses its approval exception below.
  6. After explicit human approval, change only that plan to exact Status: approved, run codument work approve --plan <path> (with --plan-id for an identified section), and stage the plan with docs/.approvals.json. Outcome approval binds promised milestones, outcome, constraints, acceptance evidence and verification; routing updates do not renew it. Existing approvals remain legacy and file-bound unless the human explicitly renews approval to adopt outcome-v1. Never silently add the model to an approved legacy plan. Checkbox and Resume checkpoint updates do not renew approval; frontmatter and another plan's approval authorize nothing.

Read the full file on GitHub · 188 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. 23d ago Changed · -6 lines 43850b588701
  2. 1mo ago Changed · +28 lines ab38ea194a68
  3. 1mo ago Changed · +16 lines 54b216210426
  4. 1mo 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 (48 stars, last pushed 23d ago), licensed Apache-2.0. It adds 31 tokens to every session and 3,676 once invoked, about $0.0001 per session on Opus 5.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.