aio-doc-writer

aio-doc-writer is a skill for Claude Code from aiocean/claude-plugins. It costs 38 tokens per session (4,990 once invoked), scanned A, original, MIT.

A documentation skill that examines a codebase and creates architecture documentation, module documentation, and dependency maps. It uses a knowledge graph and language-server analysis to understand code relationships.

In plain words
What is it for?
Use it to document projects, describe individual modules, and map dependencies between components.
Why use it?
It reduces the manual work of explaining how a codebase is organised and which parts depend on each other.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: agent in frontmatter.

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /Users/username/....

Part of the aio-codeflow plugin — 9 skills shipped together

Good fit Use it to document projects, describe individual modules, and map dependencies between components.

Compare 6 skills from other repositories ↓
Install

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.

Claude Code
/plugin marketplace add aiocean/claude-plugins
Claude Code
/plugin install aio-codeflow

Made for: Claude Code.

Or install aio-codeflow, the plugin that ships this one along with the rest of its 9 skills.

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 aio-doc-writer

README.md
[![agentmods](https://agentmods.dev/badge/skills/aiocean/claude-plugins/aio-doc-writer/github.svg)](https://agentmods.dev/skills/aiocean/claude-plugins/aio-doc-writer)
Your own site
<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.

agentmods 80×15 button for aio-doc-writer

Your own site · 80×15
<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>
Per session 38 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,990 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.
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.00038 $0.04990
Opus 5.5 $0.00015 $0.01996
Sonnet 5.5 $0.00008 $0.00998
Haiku 4.5 $0.00004 $0.00499

Measured 3mo ago against content hash 7459fd4e7571, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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.

The scan reads SKILL.md. This mod also ships 3 executable files (scripts/doc-quality-check.sh, scripts/scan-codebase.py, scripts/tree-sitter-analyze.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

plugins/aio-codeflow/skills/aio-doc-writer/SKILL.md · 466 lines

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:

  1. Claim - factual statement.
  2. Evidence - one or more path:line references.
  3. Confidence - ░░░░░ to ▓▓▓▓▓.
  4. Impact - why this matters to decisions.

Read the full file on GitHub · 466 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. 3mo ago First seen · 466 lines · 38 tokens per session scan A 7459fd4e7571

Subscribe to this mod's changes

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.

Related

aio-doc-writer compared with skills from other repositories

aio-doc-writer next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
aio-doc-writeraiocean/claude-pluginsSkill44d agoMITA38Claude Code
design-patternsFlorianBruniaux/claude-code-ultimate-guideSkill7.6ktodayCC-BY-SA-4.0A59Claude Code
smart-exploreFlorianBruniaux/claude-code-ultimate-guideSkill7.6ktodayCC-BY-SA-4.0A73Claude Code
source-command-audit-whitepapersFlorianBruniaux/claude-code-ultimate-guideSkill7.6ktodayCC-BY-SA-4.0A26Claude Code, Codex
audit-agents-skillsFlorianBruniaux/claude-code-ultimate-guideSkill7.6ktodayCC-BY-SA-4.0A41Claude Code
check-cache-bugsFlorianBruniaux/claude-code-ultimate-guideSkill7.6ktodayCC-BY-SA-4.0A38Claude Code
eval-rulesFlorianBruniaux/claude-code-ultimate-guideSkill7.6ktodayCC-BY-SA-4.0A82Claude Code