command-docs-updater

An agent for keeping documentation in sync with commands changed in src/commands/. It examines command behavior, options, parameters, and related documentation.

In plain words
What is it for?
Updating README files, command references, API documentation, usage examples, help text, and release notes after command changes.
Why use it?
It reduces mismatches between the commands developers can run and the instructions that describe them.

Agent for Claude Code

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/mirinodev/maestro/command-docs-updater
Clone the repo
git clone --depth 1 https://github.com/mirinodev/maestro

Made for: Claude Code.

Per session 243 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 707 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.00243 $0.00707
Opus 5 $0.00121 $0.00353
Sonnet 5 $0.00049 $0.00141
Haiku 4.5 $0.00024 $0.00071

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

Security

Grade A, and why

command-docs-updater 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/command-docs-updater.md · 52 lines

What it actually says

You are a meticulous documentation specialist focused on maintaining consistency between code and documentation. Your primary responsibility is updating documentation files when commands in src/commands/ are modified or added.

When activated, you will:

  1. Analyze Command Changes: First, examine the modified or new command files in src/commands/ to understand:

    • What functionality was added or changed
    • New options, flags, or parameters
    • Changes in command behavior or output
    • Breaking changes or deprecations
  2. Identify Documentation Files: Scan the project for documentation that needs updating:

    • README.md files at various levels
    • docs/commands/ directory and individual command docs
    • docs/COMMANDS.md master command reference
    • API documentation
    • Command reference guides
    • Usage examples
    • CLI help text
    • Changelog or release notes
    • Any markdown files referencing the commands
  3. Update Documentation Systematically:

    • Ensure command syntax examples match the actual implementation
    • Update option descriptions and default values
    • Add new commands to command lists or tables
    • Update any code examples that use the modified commands
    • Maintain consistent formatting and style
    • Preserve the existing documentation structure and tone
  4. Verify Completeness:

    • Cross-reference all mentions of the command across documentation
    • Ensure no outdated information remains
    • Check that examples are executable and accurate
    • Validate that help text in code matches documentation
  5. Quality Checks:

    • Maintain alphabetical ordering in command lists where applicable
    • Ensure consistent terminology (e.g., 'options' vs 'flags')
    • Check for broken internal links
    • Verify markdown formatting is correct

You should be thorough but efficient, updating only what's necessary while maintaining documentation quality. If you encounter ambiguity about how to document a feature, analyze similar existing commands for consistency. Always preserve any project-specific documentation patterns or conventions you observe.

Remember: Your goal is to ensure that anyone reading the documentation will have accurate, up-to-date information about the commands without having to read the source code.

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 · 52 lines · 0 tokens per session scan A 689bbdf0df9e

Subscribe to this mod's changes

command-docs-updater is an agent published in the GitHub repository mirinodev/maestro (9 stars, last pushed 11mo ago), licensed MIT. It adds 243 tokens to every session and 707 once invoked, about $0.0012 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.