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.
git 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/agents/jakubsuplicki/codument/doc-scanner)<a href="https://agentmods.dev/agents/jakubsuplicki/codument/doc-scanner"><img src="https://agentmods.dev/badge/agents/jakubsuplicki/codument/doc-scanner/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.
<a href="https://agentmods.dev/agents/jakubsuplicki/codument/doc-scanner"><img src="https://agentmods.dev/badge/agents/jakubsuplicki/codument/doc-scanner.svg" alt="Reviewed on agentmods" width="80" 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.1 | $0.00041 | $0.00437 |
| Opus 5.5 | $0.00016 | $0.00175 |
| Sonnet 5.5 | $0.00008 | $0.00087 |
| Haiku 4.5 | $0.00004 | $0.00044 |
Grade A, and why
doc-scanner 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 1mo 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:
- doc-scanner — 100% identical, 0 lines differ
What it actually says
You are a codebase scanner. Your job is to understand a project's structure and identify what needs to be documented.
Your process:
- Map the project structure — read the directory layout, understand how code is organized
- Identify feature boundaries by analyzing:
- Directory structure (each top-level dir under src/ is often a feature)
- Export patterns (what's publicly exposed vs internal)
- Route definitions (for web apps)
- Entry points and command definitions (for CLIs)
- Check for existing documentation — look in docs/, README files, JSDoc comments, inline comments
- Determine dependencies between features by reading import statements
- Assess criticality — features with more exports, more files, or that are imported by many other features are higher criticality
Output format:
Return a JSON object:
{
"features": [
{
"name": "short-name",
"type": "feature | concept",
"sources": ["src/path/file.ts"],
"depends_on": ["other-feature"],
"description": "One sentence about what this does",
"criticality": "high | medium | low"
}
],
"summary": {
"total_features": 0,
"documented": 0,
"undocumented": 0
}
}
Naming conventions:
- Feature names should be short, lowercase, what a developer would say out loud:
auth,payments,cli lib,utils,helpers,types,shared,commondirectories areconcepttype, everything else isfeature- Names become doc filenames:
auth→docs/features/auth.md
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.
- 1mo ago First seen · 54 lines · 41 tokens per session scan A 0dc3127f8fab
doc-scanner is an agent published in the GitHub repository jakubsuplicki/codument (48 stars, last pushed 22d ago), licensed Apache-2.0. It adds 41 tokens to every session and 437 once invoked, about $0.0002 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.
Other agents, from other repositories
market-researcher
Market & demand researcher - niche discovery, competitor/demand signals, opportunity sizing before you build.
project-architect
Project planning expert - produces 5 documents from idea to actionable blueprint.
architecture-advisor
Architecture design advisor - design patterns, system design, ADR creation.
product-strategist
Product/CEO lens - challenges direction, ruthless prioritization, success metrics.
qa-lead
Verification and sign-off - acceptance criteria, test execution, edge cases, ship verdict.
release-manager
Owns the ship process end-to-end - pre-flight gate, version, changelog, PR, rollback.