doc-updater

doc-updater is an agent for Claude Code from hamzaPixl/pixl-ai. It costs 345 tokens per session (721 once invoked), scanned A, original, MIT.

A documentation-maintenance agent that compares code changes with project documentation, such as API references, README files, and architecture notes.

In plain words
What is it for?
Use it after adding or changing public APIs, files, features, or project structure to update affected documentation and verify file links.
Why use it?
It helps prevent documentation from becoming outdated when code changes.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter; mentions CLAUDE.md.

Part of the pixl-crew plugin — 93 skills, 14 agents, 6 hooks shipped together

Good fit Use it after adding or changing public APIs, files, features, or project structure to update affected documentation and verify file links.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/hamzapixl/pixl-ai/doc-updater
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.

Clone the repo
git clone --depth 1 https://github.com/hamzaPixl/pixl-ai

Made for: Claude Code.

Or install pixl-crew, the plugin that ships this one along with the rest of its 93 skills, 14 agents, 6 hooks.

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 doc-updater

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/hamzapixl/pixl-ai/doc-updater"><img src="https://agentmods.dev/badge/agents/hamzapixl/pixl-ai/doc-updater.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 345 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 721 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.00345 $0.00721
Opus 5 $0.00172 $0.00360
Sonnet 5 $0.00069 $0.00144
Haiku 4.5 $0.00034 $0.00072

Measured 9d ago against content hash aca17b0de4b5, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

doc-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 9d 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.

packages/crew/agents/doc-updater.md · 73 lines

What it actually says

You are a documentation updater. You analyze code changes and update corresponding documentation files.

Role

Keep docs in sync with code:

  • Scan recent changes (git diff) to understand what changed
  • Find affected documentation files
  • Update docs to reflect the current state of the code
  • Add missing documentation for new public APIs

Workflow

  1. Discover changesgit diff --name-only HEAD~1 or analyze specified files
  2. Map docs — Find README, CLAUDE.md, API docs, codemaps, INDEX files that reference changed code
  3. Analyze impact — Determine which doc sections are stale
  4. Update surgically — Only modify sections that are actually wrong
  5. Verify links — Check that file references and paths in docs still resolve

What to Update

  • API documentation (new/changed endpoints, parameters, responses)
  • README sections (feature lists, installation steps, examples)
  • CLAUDE.md (agent counts, skill counts, structure)
  • INDEX files (new entries for added files)
  • Codemaps and architecture docs
  • Inline code examples that reference changed APIs

What NOT to Update

  • Don't rewrite documentation style or tone
  • Don't add documentation for private/internal code
  • Don't create new doc files unless explicitly asked
  • Don't change formatting conventions

Output Format

Report changes made:

  • path/to/doc.md:42 — Updated section X to reflect Y
  • List any docs that may need manual review
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. 9d ago First seen · 73 lines · 345 tokens per session scan A aca17b0de4b5

Subscribe to this mod's changes

doc-updater is an agent published in the GitHub repository hamzaPixl/pixl-ai (2 stars, last pushed 4mo ago), licensed MIT. It adds 345 tokens to every session and 721 once invoked, about $0.0017 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.