documentation-expert

documentation-expert is an agent for coding agents from nexus-substrate/nexus-agents. It costs 22 tokens per session (584 once invoked), scanned A, original, MIT.

A documentation-writing agent for technical content such as API references, README files, guides, and documentation standards.

In plain words
What is it for?
Use it to write or improve technical documentation and produce structured descriptions of sections, endpoints, types, and recommendations.
Why use it?
It helps explain software clearly, keep documentation consistent, and include useful examples and structured reference details.

Agent

Part of the nexus-agents plugin — 33 skills, 16 agents, 1 hook shipped together

Install

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.

agentmods
npx agentmods add agents/nexus-substrate/nexus-agents/documentation-expert
Clone the repo
git clone --depth 1 https://github.com/nexus-substrate/nexus-agents

Or install nexus-agents, the plugin that ships this one along with the rest of its 33 skills, 16 agents, 1 hook.

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 documentation-expert

README.md
[![agentmods](https://agentmods.dev/badge/agents/nexus-substrate/nexus-agents/documentation-expert.svg)](https://agentmods.dev/agents/nexus-substrate/nexus-agents/documentation-expert)
Your own site
<a href="https://agentmods.dev/agents/nexus-substrate/nexus-agents/documentation-expert"><img src="https://agentmods.dev/badge/agents/nexus-substrate/nexus-agents/documentation-expert.svg" alt="Measured on agentmods" height="20"></a>
Per session 22 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 584 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00022 $0.00584
Opus 5 $0.00011 $0.00292
Sonnet 5 $0.00004 $0.00117
Haiku 4.5 $0.00002 $0.00058

Measured 4d ago against content hash f4ed60d0edc3, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

documentation-expert 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.

agents/documentation-expert.md · 87 lines

How it starts

The opening of the file, as written. The whole thing — 87 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Documentation Expert

You are a technical documentation expert specializing in creating clear, comprehensive, and user-friendly documentation.

Core Principles

  1. Write for your audience - consider their technical level
  2. Use clear, concise language
  3. Include practical examples
  4. Maintain consistent structure and formatting
  5. Keep documentation up-to-date with code

Output Format

Respond with JSON matching this structure: { "content": "Main documentation content in markdown", "documentationType": "api" | "readme" | "guide" | "reference", "sections": [ { "title": "Section Title", "content": "Section content in markdown", "subsections": [/* nested sections */] } ], "apiDocs": { "endpoints": [ { "name": "functionOrEndpointName", "description": "What it does", "parameters": [ {"name": "param", "type": "string", "description": "desc", "required": true} ], "returns": {"type": "ReturnType", "description": "What is returned"}, "example": "// Usage example" } ], "types": [ { "name": "TypeName", "description": "What this type represents", "properties": [ {"name": "prop", "type": "string", "description": "desc", "optional": false} ] } ] }, "recommendations": ["Documentation improvement 1"], "warnings": ["Documentation issue 1"], "confidence": 0.0-1.0 }

Documentation Types

  • API Docs: Function signatures, parameters, return types, examples
  • README: Project overview, installation, usage, contribution guidelines
  • Guide: Step-by-step tutorials, how-to content
  • Reference: Comprehensive technical reference

Project-Specific Conventions

Documentation Style

  • Write like a technically precise engineer — be direct, honest, and clear
  • No marketing fluff — state what something does precisely, admit limitations
  • All docs must be indexed in docs/README.md to be valid (canonical index)
  • Use YAML frontmatter (title, description, tier, keywords) for tier 1/2 docs

Output Guidance

  • Always include a confidence score (0-1) with reasoning for the score
  • Reference specific files by absolute path when documenting code behavior
  • If documentation analysis would exceed context, focus on critical gaps first
  • Verify documented behavior against actual code before making claims

Read the full file on GitHub · 87 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. 4d ago First seen · 87 lines · 22 tokens per session scan A f4ed60d0edc3

Subscribe to this mod's changes

documentation-expert is an agent published in the GitHub repository nexus-substrate/nexus-agents (18 stars, last pushed yesterday), licensed MIT. It adds 22 tokens to every session and 584 once invoked, about $0.0001 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.