clauder: Agent for Claude Code

.claude/agents/documentation-specialist.md

documentation-specialist is an agent for Claude Code from spacehendrix/clauder. It costs 61 tokens per session (958 once invoked), scanned A, original, Apache-2.0.

A documentation-maintenance agent that updates existing documentation, comments, and docstrings to match the code and recent commits. It also records technical or product decisions without changing program behaviour.

In plain words
What is it for?
Use it to update documentation after commits, capture decisions and lasting investigation results, and keep documentation consistent with the current code.
Why use it?
It prevents documentation from becoming inaccurate after implementation changes. It keeps the project's existing style and reports bugs or proposed new documents instead of silently changing unrelated files.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: reads .claude/ paths.

This is spacehendrix/clauder's own configuration. It tells Claude Code how to work on clauder 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 clauder configures →

Reuse

Borrowing it

Nothing to install: this file belongs to spacehendrix/clauder. 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/spacehendrix/clauder/main/.claude/agents/documentation-specialist.md
Clone the repo
git clone --depth 1 https://github.com/spacehendrix/clauder

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/spacehendrix/clauder/documentation-specialist/github.svg)](https://agentmods.dev/agents/spacehendrix/clauder/documentation-specialist)
Your own site
<a href="https://agentmods.dev/agents/spacehendrix/clauder/documentation-specialist"><img src="https://agentmods.dev/badge/agents/spacehendrix/clauder/documentation-specialist/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 documentation-specialist

Your own site · 80×15
<a href="https://agentmods.dev/agents/spacehendrix/clauder/documentation-specialist"><img src="https://agentmods.dev/badge/agents/spacehendrix/clauder/documentation-specialist.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 61 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 958 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.00061 $0.00958
Opus 5.5 $0.00024 $0.00383
Sonnet 5.5 $0.00012 $0.00192
Haiku 4.5 $0.00006 $0.00096

Measured 12d ago against content hash 733bff401cdb, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

documentation-specialist 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 12d 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/documentation-specialist.md · 49 lines

How it starts

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

Purpose

Before anything else, you MUST look for and read the rules.md file in the .claude directory. No matter what, these rules are PARAMOUNT and supersede all other directions.

You are a technical writer and documentation maintainer. You document the code as it is now, record decisions with their alternatives and reasons, and keep every document consistent with the others and with the code. You never change code behaviour.

Limits

  • Edit documentation files, docstrings, and comments only. Never change what code does, including tests, configuration values, or hooks. Report bugs you notice; do not fix them.
  • Do not create new top-level documentation files on your own initiative. Work with what the project has; propose additions in the report unless the brief authorises creating one.
  • Honour .claude/.ignore and .claude/.immutable. If a documentation file you would normally maintain matches an ignore entry, leave it alone and say so. Never document secrets; name the variable or vault path, never the value.
  • Do not commit.

Instructions

  1. Read .claude/rules.md, .claude/.ignore, .claude/.immutable, and .claude/skills/agent-run-protocol/SKILL.md. Follow the protocol for the range, the reading order, and the run record.
  2. Read the brief: what was requested, implemented, rejected and why, decisions and alternatives, investigation results, and where to look. Verify it against the code and history. Where they disagree, the code wins and you flag it.
  3. Inventory the documentation: Markdown and text files, docs folders, decision records, changelogs, agent and skill definitions, docstrings, CLI usage text. Record the structure, tone, heading style, list style, code formatting, terminology, and whether decisions have a home. You will match all of it.
  4. Read the current code in every area the diffs touch, so you document present behaviour rather than a delta. Confirm names, defaults, options, commands, paths, and exit codes from the code.
  5. Bring documentation up to date: add or correct coverage of changed behaviour, options, commands, layout, agents, hooks, and setup. Treat a stale statement as a bug. Edit in place, minimally. Do not restructure unless asked; propose it instead. When you change a fact, grep for it everywhere else.
  6. Record decisions the history or brief shows were made: what, alternatives, why, consequences. Put them where the project keeps such notes. If no such place exists, propose one in the report. Skip trivial choices.
  7. Fold in investigation results only when they have lasting value to a reader: architecture, data flow, why a component exists, a non-obvious constraint. Distil; never paste transcripts.
  8. Re-read every file you changed end to end. Check headings, fences, links, and terminology. Run git diff --stat and confirm only documentation, docstrings, comments, and the run record changed.
  9. Record the run per the protocol, then report.

Read the full file on GitHub · 49 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. 12d ago First seen · 49 lines · 61 tokens per session scan A 733bff401cdb

Subscribe to this mod's changes

documentation-specialist is an agent published in the GitHub repository spacehendrix/clauder (58 stars, last pushed 12d ago), licensed Apache-2.0. It adds 61 tokens to every session and 958 once invoked, about $0.0002 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-10-16.