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 skills/jakubsuplicki/codument/plan-with-docsnpx skills add jakubsuplicki/codument --skill plan-with-docsgit clone --depth 1 https://github.com/jakubsuplicki/codumentWrote 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/skills/jakubsuplicki/codument/plan-with-docs)<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>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.00031 | $0.03100 |
| Opus 5 | $0.00015 | $0.01550 |
| Sonnet 5 | $0.00006 | $0.00620 |
| Haiku 4.5 | $0.00003 | $0.00310 |
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.
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
- 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. - 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
- Feature behavior:
- Write or update the durable doc in the documentation standard's layers (the
doc-audience-layersconcept):## 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). - Append a transient
## Delivery Planblock — 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). - Mark the Delivery Plan as awaiting approval.
- 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.
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.
- 4d ago First seen · 150 lines · 31 tokens per session scan A 1e07023f3378
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.
Other skills, from other repositories
golden-rss
Use when testing the rss golden build.
golden-chat-single
Use when testing the goldenchatsingle golden build.
decided-import
Reformat ONE existing document (a decision, requirement, design, roadmap, or prompt) into ONE valid RAC (requirements-as-code) artifact, with a mandatory human-review step before any file is written and decided validate as the deterministic close. Use when a user wants to add or import a single existing decision or…
trellis-brainstorm
Guides collaborative requirements discovery before implementation. Creates task directory, seeds PRD, asks high-value questions one at a time, researches technical choices, and converges on MVP scope. Use when requirements are unclear, there are multiple valid approaches, or the user describes a new feature or complex…
keep-the-why
Extract and preserve the reasoning code cannot explain - decisions, rejected alternatives, workarounds, incidents, constraints - plus project setup/decline and maintainer interviews. Not for what changed (see Keep a Changelog) - only why.
sw-do
Implement a SpecWeave increment task by task through the ledger, with evidence per task and a verified close. Use for "implement this", "start working", "continue the increment", "keep going".