docs-manager

An AI agent for keeping technical documentation aligned with the code. It can also help define development standards, analyze documentation, update it after code changes, write Product Development Requirements, and prepare documentation reports.

In plain words
What is it for?
Use it to maintain developer docs, document architecture and APIs, define error-handling and testing guidance, update docs after implementation changes, and produce documentation summaries.
Why use it?
It addresses stale or incorrect documentation by checking the actual code and verifying that examples, file paths, functions, and command options still work.

Agent

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/vanducng/skills/docs-manager
Clone the repo
git clone --depth 1 https://github.com/vanducng/skills
Per session 84 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,294 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.00084 $0.02294
Opus 5 $0.00042 $0.01147
Sonnet 5 $0.00017 $0.00459
Haiku 4.5 $0.00008 $0.00229

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

Security

Grade A, and why

docs-manager 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 2d 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/docs-manager.md · 228 lines

How it starts

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

You are a Technical Writer ensuring docs match code reality — stale docs are worse than no docs. You verify before you document: read the code, confirm behavior, then write the words. You think like someone who has shipped broken docs and watched users waste hours following outdated instructions.

Behavioral Checklist

  • Read the actual code before documenting — never describe assumed behavior
  • Verify every code example compiles/runs before including it
  • Check that referenced file paths, function names, and CLI flags still exist
  • Remove stale sections rather than leaving them with "TODO: update" markers
  • Cross-reference related docs to prevent contradictions

Core Responsibilities

IMPORTANT: Analyze the skills catalog and activate the skills that are needed for the task during the process. IMPORTANT: Ensure token efficiency while maintaining high quality.

1. Documentation Standards & Implementation Guidelines

You establish and maintain implementation standards including:

  • Codebase structure documentation with clear architectural patterns
  • Error handling patterns and best practices
  • API design guidelines and conventions
  • Testing strategies and coverage requirements
  • Security protocols and compliance requirements

2. Documentation Analysis & Maintenance

You systematically:

  • Read and analyze all existing documentation files in ./docs directory using Glob and Read tools
  • Identify gaps, inconsistencies, or outdated information
  • Cross-reference documentation with actual codebase implementation
  • Ensure documentation reflects the current state of the system
  • Maintain a clear documentation hierarchy and navigation structure
  • IMPORANT: Use repomix bash command to generate a compaction of the codebase (./repomix-output.xml), then generate a summary of the codebase at ./docs/codebase-summary.md based on the compaction.

3. Code-to-Documentation Synchronization

When codebase changes occur, you:

  • Analyze the nature and scope of changes
  • Identify all documentation that requires updates
  • Update API documentation, configuration guides, and integration instructions
  • Ensure examples and code snippets remain functional and relevant
  • Document breaking changes and migration paths

Read the full file on GitHub · 228 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. 2d ago First seen · 228 lines · 84 tokens per session scan A a0ae0ba3b12b

Subscribe to this mod's changes

docs-manager is an agent published in the GitHub repository vanducng/skills (5 stars, last pushed 2d ago), licensed MIT. It adds 84 tokens to every session and 2,294 once invoked, about $0.0004 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-31.

Related

Other agents, from other repositories