Getting it into your agent
This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.
/plugin marketplace add aiocean/claude-plugins/plugin install aio-codeflowWrote 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/aiocean/claude-plugins/aio-doc-writer)<a href="https://agentmods.dev/skills/aiocean/claude-plugins/aio-doc-writer"><img src="https://agentmods.dev/badge/skills/aiocean/claude-plugins/aio-doc-writer/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/skills/aiocean/claude-plugins/aio-doc-writer"><img src="https://agentmods.dev/badge/skills/aiocean/claude-plugins/aio-doc-writer.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.00038 | $0.04990 |
| Opus 5.5 | $0.00015 | $0.01996 |
| Sonnet 5.5 | $0.00008 | $0.00998 |
| Haiku 4.5 | $0.00004 | $0.00499 |
Grade A, and why
aio-doc-writer 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 3mo 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 — 466 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Codebase Oracle
SCRIPTS="${CLAUDE_PLUGIN_ROOT}/skills/aio-doc-writer/scripts"
Environment
- GitNexus: !
npx gitnexus status 2>/dev/null && echo "AVAILABLE" || echo "NOT INSTALLED"
Comprehensive architecture documentation powered by GitNexus knowledge graph combined with Oracle direct documentation writing and LSP precision analysis.
Core Philosophy: Oracle writes all documentation from scratch using GitNexus's knowledge graph (structure, dependencies, clusters, flows, hybrid search) combined with LSP type-aware analysis and direct source code reading.
What GitNexus Provides: A precomputed knowledge graph — nodes (functions, classes, modules), edges (imports, calls, inheritance), clusters (functional communities with cohesion scores), execution flows from entry points, and hybrid search (BM25 + semantic). All from a single npx gitnexus analyze.
What LSP Provides: Type-aware precision — hover info, exact reference counts, caller tracing, diagnostics, rename safety.
What Oracle Provides: All written documentation — module docs, architecture analysis, key flows, dependency narratives, failure modes, design rationale, and decision guidance.
Documentation Intent Contract
Before writing or updating any docs, declare this contract:
- Audience: Who will use this doc (
new engineer,oncall,feature owner,refactor owner). - Primary tasks: Top 2-3 questions the reader should answer quickly.
- Decision horizon: What decisions this doc supports (incident, refactor, onboarding, architecture review).
- Out of scope: What this doc intentionally does not cover.
If user does not specify, infer from context and state assumptions explicitly in CODEBASE_MAP.md.
Evidence and Confidence Protocol
Every non-trivial claim must be represented as:
Claim- factual statement.Evidence- one or morepath:linereferences.Confidence-░░░░░to▓▓▓▓▓.Impact- why this matters to decisions.
What ships with it
25 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- graph.html.tpl 45 KB
- references/architecture-analysis.md 21 KB
- references/quality-gates.md 2.3 KB
- references/tools-integration.md 5.9 KB
- references/writing-quality.md 12 KB
- scripts/doc-quality-check.sh 5.9 KB runs code
- scripts/scan-codebase.py 15 KB runs code
- scripts/tree-sitter-analyze.py 29 KB runs code
- templates/adr.md.tpl 5.5 KB
- templates/api-surface.md.tpl 3.8 KB
- templates/architecture.md.tpl 5.8 KB
- templates/CODEBASE_MAP.md.tpl 3.9 KB
- templates/component.md.tpl 3.1 KB
- templates/data-model.md.tpl 3.0 KB
- templates/dependencies.md.tpl 7.1 KB
- templates/infrastructure.md.tpl 3.5 KB
- templates/key-flows.md.tpl 2.8 KB
- templates/module.md.tpl 2.6 KB
- templates/observability.md.tpl 7.1 KB
- templates/onboarding.md.tpl 7.2 KB
- templates/overview.md.tpl 3.5 KB
- templates/product-requirements.md.tpl 2.8 KB
- templates/quality.md.tpl 3.7 KB
- templates/security.md.tpl 8.2 KB
- templates/testing.md.tpl 6.2 KB
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.
- 3mo ago First seen · 466 lines · 38 tokens per session scan A 7459fd4e7571
aio-doc-writer is a skill published in the GitHub repository aiocean/claude-plugins (4 stars, last pushed 4d ago), licensed MIT. It adds 38 tokens to every session and 4,990 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-31.
aio-doc-writer compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| aio-doc-writeraiocean/claude-plugins | Skill | 4 | 4d ago | MIT | A | 38 | Claude Code |
| design-patternsFlorianBruniaux/claude-code-ultimate-guide | Skill | 7.6k | today | CC-BY-SA-4.0 | A | 59 | Claude Code |
| smart-exploreFlorianBruniaux/claude-code-ultimate-guide | Skill | 7.6k | today | CC-BY-SA-4.0 | A | 73 | Claude Code |
| source-command-audit-whitepapersFlorianBruniaux/claude-code-ultimate-guide | Skill | 7.6k | today | CC-BY-SA-4.0 | A | 26 | Claude Code, Codex |
| audit-agents-skillsFlorianBruniaux/claude-code-ultimate-guide | Skill | 7.6k | today | CC-BY-SA-4.0 | A | 41 | Claude Code |
| check-cache-bugsFlorianBruniaux/claude-code-ultimate-guide | Skill | 7.6k | today | CC-BY-SA-4.0 | A | 38 | Claude Code |
| eval-rulesFlorianBruniaux/claude-code-ultimate-guide | Skill | 7.6k | today | CC-BY-SA-4.0 | A | 82 | Claude Code |