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 instructions/jakubsuplicki/codument/agents-mdgit 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/instructions/jakubsuplicki/codument/agents-md)<a href="https://agentmods.dev/instructions/jakubsuplicki/codument/agents-md"><img src="https://agentmods.dev/badge/instructions/jakubsuplicki/codument/agents-md.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.04992 | $0.04992 |
| Opus 5 | $0.02496 | $0.02496 |
| Sonnet 5 | $0.00998 | $0.00998 |
| Haiku 4.5 | $0.00499 | $0.00499 |
Grade A, and why
codument AGENTS.md 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.
Copies of this mod
1 near-identical copy found in the catalogue:
- codument CLAUDE.md — 92% identical, 44 lines differ
How it starts
The opening of the file, as written. The whole thing — 177 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Codument Agent Guide
This is the canonical cross-agent guide for working on Codument. CLAUDE.md may exist for Claude-specific tooling, but this file is the shared contract.
Product Direction
Codument is a docs-backed delivery workflow for AI coding agents. The core loop is:
grill -> plan -> approve -> implement -> verify -> document -> review -> commit -> repeat
Do not treat docs as an afterthought. The docs are the control plane that lets an agent resume work without relying on chat history.
Build & Test
npm run typecheck
npm run build
npm test
Project Structure
src/commands/— CLI commands (init,scan,update)src/lib/— Core libraries for profiles, registry, scaffolding, detection, codemods, markers, and versioningsrc/hooks/— Claude profile hook scriptskills/— Workflow skills shipped with the packageagents/— Claude profile subagent definitionsrules/— Claude profile path-scoped rule templatestemplates/— Documentation templates copied on inittests/— Node test runner tests
Working Rules
- Use the approved feature plan before source edits.
- Keep implementation slices small enough to review and commit independently.
- Ask which doc owns a file with
codument context --file <path> --ownerbefore and after touching it — one line, from the same resolver the gate uses. Readdocs/.registry.jsonwhen you need the whole map, not to answer one question about one file. - Update mapped docs as part of the same change.
- Keep docs compact and durable; do not preserve working chatter.
- Use conventional commit prefixes.
Codument Delivery Workflow
Core loop
Use Codument as the durable control plane for agent-led engineering work:
- Grill the request against existing docs, code, ADRs, and project language.
- Plan the feature in docs before changing source code.
- Wait for explicit user approval before implementation.
- Implement one planned step at a time.
- Build the strongest practical feedback loop, preferring red-green-refactor when it fits.
- Update the mapped docs +
docs/.registry.jsonas part of the same step: materialize each new source file withcodument map materialize; when a contract changed, update its doc at intent altitude (a move that changed no contract owes nothing at all — the gate reports it and never blocks, so there is no signature to write). Never a junk mirror edit to clear the gate. - Review the diff against the approved plan, tests, docs, and architecture.
- Commit focused work with a conventional commit, authored as the user with no AI
Co-Authored-Bytrailer. - Move to the next unchecked step.
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 · 177 lines · 4,992 tokens per session scan A 0622f76d8649
codument AGENTS.md is an instructions file published in the GitHub repository jakubsuplicki/codument (47 stars, last pushed 13d ago), licensed Apache-2.0. It adds 4,992 tokens to every session, about $0.0250 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 instructions, from other repositories
spec-kitty AGENTS.md
AGENTS.md instructions for Priivacy-ai/spec-kitty, covering spec kitty development guidelines, ⚠️ critical: load the project charter first, ⚠️ critical: template source location, ⚠️ critical: use canonical sources, never improvise and ⚠️ critical: git workflow — no direct pushes to origin/main.
vibe-coding-prompt-template backend.instructions.md
Instructions for KhazP/vibe-coding-prompt-template: Read AGENTS.md, agentdocs/techstack.md, and agentdocs/codepatterns.md.
core copilot-instructions.md
Instructions for asdecided/core: These decisions are already accepted. Do not re-open or contradict them; ask the AsDecided MCP tools (getartifact, searchartifacts) for the full text before proposing a change that touches one.
slideops CLAUDE.md
Instructions for glukicov/slideops, covering claude.md, what this repository is, commands, the demo deck's citations must still match this repo and the citation mechanism (the core idea).
valuein CLAUDE.md
Claude Code instructions for valuein/valuein, covering claude.md, what this repo is (and isn't), sibling repos — where the actual code lives, commands and with a paid/sp500 token.
living-manual CLAUDE.md
Instructions for dougstanford/living-manual, covering living-manual, start of every session, how work lands — non-negotiable, user's manual (living-manual) and releasing.