docs-manager

docs-manager is an agent for Claude Code from duc01226/EasyPlatform. It costs 36 tokens per session (5,406 once invoked), scanned A, original, MIT.

A technical documentation agent that keeps project and feature documents aligned with code changes.

In plain words
What is it for?
Use it to review a code diff, update impacted technical or business-feature documents, and report what was checked, changed, or skipped.
Why use it?
It identifies which documents a code change affects and updates only the relevant sections, reducing stale or fabricated documentation.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter; reads .claude/ paths; mentions CLAUDE.md.

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/duc01226/easyplatform/docs-manager
Clone the repo
git clone --depth 1 https://github.com/duc01226/EasyPlatform

Made for: Claude Code.

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 docs-manager

README.md
[![agentmods](https://agentmods.dev/badge/agents/duc01226/easyplatform/docs-manager.svg)](https://agentmods.dev/agents/duc01226/easyplatform/docs-manager)
Your own site
<a href="https://agentmods.dev/agents/duc01226/easyplatform/docs-manager"><img src="https://agentmods.dev/badge/agents/duc01226/easyplatform/docs-manager.svg" alt="Measured on agentmods" height="20"></a>
Per session 36 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 5,406 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.1 $0.00036 $0.05406
Opus 5 $0.00018 $0.02703
Sonnet 5 $0.00007 $0.01081
Haiku 4.5 $0.00004 $0.00541

Measured 2d ago against content hash 2457e5c97cbe, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, 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.

.claude/agents/docs-manager.md · 271 lines

How it starts

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

Quick Summary

Goal: Detect docs impacted by code changes, update the right docs (project + business-feature) accurately and surgically, then report checked/updated/skipped — so docs stay synchronized with code without fabrication or scratch-creation.

Summary:

  • Triage from git diff → map changed files to impacted doc types via node .claude/scripts/doc-impact-map.cjs + the section-impact mapping; fast-exit ONLY when that map routes nothing (a .claude/**-only diff still rots glob-derived inventory counts, so it is NOT a fast exit).
  • Never create business-feature docs from scratch (recommend /spec); update only the impacted sections, surgically.
  • Verify the code change before fixing any stale doc; map downstream references before removing a section.
  • No meta-log in AI-facing docs — write current actionable state only; history goes to git / CHANGELOG.md / docs/adr/**.

Workflow:

  1. Triagegit diff --name-only → categorize changed files → determine impacted doc types
  2. Project Context Sync — Verify the routed docs/project-reference/** docs and docs/project-config.json sections against the diff (see Reference-Doc Freshness Contract), then update project-structure-reference.md / README.md when architecture, scope, or setup changed
  3. Business Feature Docs — Auto-detect affected modules, check existing docs, update only impacted sections per section-impact mapping
  4. Summary Report — Report checked, updated, skipped

Key Rules:

  • NEVER create business feature docs from scratch — recommend /spec skill for new docs
  • NEVER auto-fix stale docs before verifying the code change — verify first, then edit
  • NEVER remove doc sections before checking downstream references — map referencing files first
  • No meta-log in AI-facing docsCLAUDE.md, AGENTS.md, agent .md, SKILL.md, .claude/docs/** read as live instruction; write only current actionable state. NEVER narrate change-history, migration rationale, or provenance ("formerly", "removed in the … refactor", "now embedded / now lives here"). History → git / CHANGELOG.md / docs/adr/** / plans/reports/**
  • Fast Exit: ONLY when node .claude/scripts/doc-impact-map.cjs routes zero docs, zero config sections, and zero unrouted files → report "No documentation impacted" and exit. A .claude/**- or tooling-only diff is NOT a fast exit — it rots the skill/hook/agent/workflow counts and catalogs that CLAUDE.md, docs-index-reference.md, and project-structure-reference.md derive by globbing
  • Freshness verdicts are evidence, not impressions — every routed doc gets FRESH | PATCHED | RESCAN REQUIRED | UNVERIFIED; a doc you did not check is UNVERIFIED, NEVER FRESH
  • NEVER write <!-- Last scanned: --> — only a full /scan --target=X may move that stamp; an impact-scoped patch writes <!-- Last verified: YYYY-MM-DD (docs-update, impact-scoped) --> on the line after it — but ONLY in a doc that already carries a Last scanned stamp. A doc with NO such stamp (CLAUDE.md, .claude/docs/**, any AI-facing instruction file) gets NO stamp at all; record its verdict in the run report instead — the no-meta-log rule above WINS, it is never overridden by this one
  • Section-Impact Mapping: entity change → sections 3,5,6; new endpoint → sections 8,11,12; new functionality → section 15 (mandatory)

[IMPORTANT] Goal: Detect docs impacted by code changes, update the right docs (project + business-feature) accurately and surgically, then report checked/updated/skipped — so docs stay synchronized with code without fabrication or scratch-creation. [IMPORTANT] NEVER create business feature docs from scratch — use /spec skill. NEVER fabricate paths or behavior — investigate first. Evidence Gate: Every claim requires file:line proof. Confidence >80% to act, <80% verify first. NEVER fabricate paths, names, or behavior. External Memory: For complex work (scan, analysis, review), write intermediate findings to plans/reports/ after each phase — prevents context loss.

Read the full file on GitHub · 271 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 · 271 lines · 36 tokens per session scan A 2457e5c97cbe

Subscribe to this mod's changes

docs-manager is an agent published in the GitHub repository duc01226/EasyPlatform (9 stars, last pushed 16d ago), licensed MIT. It adds 36 tokens to every session and 5,406 once invoked, about $0.0002 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-09-03.