maestro: Agent for Claude Code

.claude/agents/command-docs-updater.md

command-docs-updater is an agent for Claude Code from mirinodev/maestro. It costs 243 tokens per session (707 once invoked), scanned A, original, MIT.

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

Written for Claude Code: installed under .claude/. Also seen: names the TodoWrite tool.

This is mirinodev/maestro's own configuration. It tells Claude Code how to work on maestro itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything maestro configures →

Reuse

Borrowing it

Nothing to install: this file belongs to mirinodev/maestro. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/mirinodev/maestro/main/.claude/agents/command-docs-updater.md
Clone the repo
git clone --depth 1 https://github.com/mirinodev/maestro

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 command-docs-updater

README.md
[![agentmods](https://agentmods.dev/badge/agents/mirinodev/maestro/command-docs-updater/github.svg)](https://agentmods.dev/agents/mirinodev/maestro/command-docs-updater)
Your own site
<a href="https://agentmods.dev/agents/mirinodev/maestro/command-docs-updater"><img src="https://agentmods.dev/badge/agents/mirinodev/maestro/command-docs-updater/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 command-docs-updater

Your own site · 80×15
<a href="https://agentmods.dev/agents/mirinodev/maestro/command-docs-updater"><img src="https://agentmods.dev/badge/agents/mirinodev/maestro/command-docs-updater.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
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. 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.00243 $0.00707
Opus 5.5 $0.00097 $0.00283
Sonnet 5.5 $0.00049 $0.00141
Haiku 4.5 $0.00024 $0.00071

Measured 1mo ago against content hash 689bbdf0df9e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 1mo 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. 1mo 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 1y ago), licensed MIT. It adds 243 tokens to every session and 707 once invoked, about $0.0010 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.