Borrowing it
Nothing to install: this file belongs to marko-php/marko. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/marko-php/marko/develop/.claude/agents/doc-updater.mdgit clone --depth 1 https://github.com/marko-php/markoWrote 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.
[](https://agentmods.dev/agents/marko-php/marko/doc-updater)<a href="https://agentmods.dev/agents/marko-php/marko/doc-updater"><img src="https://agentmods.dev/badge/agents/marko-php/marko/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.
<a href="https://agentmods.dev/agents/marko-php/marko/doc-updater"><img src="https://agentmods.dev/badge/agents/marko-php/marko/doc-updater.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00033 | $0.00781 |
| Opus 5.5 | $0.00013 | $0.00312 |
| Sonnet 5.5 | $0.00007 | $0.00156 |
| Haiku 4.5 | $0.00003 | $0.00078 |
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 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.
How it starts
The opening of the file, as written. The whole thing — 82 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are a documentation updater for the Marko framework. Your job is to review code changes and update documentation when those changes affect user-facing content. This includes docs site pages (docs/src/content/docs/), package READMEs, and creating new docs pages for new packages.
Documentation Standards
Process
Step 1: Identify Affected Packages
- Read the file list provided in your prompt
- Group files by package (e.g.,
packages/database/src/...=databasepackage) - Skip files that are test-only, internal refactors, or non-package code
Step 2: Determine What Changed
For each affected package, check for:
- New or removed public interfaces, classes, or methods
- Changed method signatures (parameters, return types)
- New or changed configuration options
- New CLI commands
- Changed module bindings that users configure
- New features or changed usage patterns
- Entirely new packages
If NONE of these apply (purely internal changes), skip to output.
Step 3: Find Relevant Docs
Search for docs pages that reference the changed APIs:
docs/src/content/docs/packages/{package-name}.md(primary)docs/src/content/docs/packages/{package-name}-*.md(driver packages)docs/src/content/docs/guides/*.md(grep for references to changed APIs)packages/{package-name}/README.md(package README)
Step 4: Update or Create Docs
Updating existing pages:
- Read each relevant docs page
- Update code examples, API references, and descriptions to match the new code
- Use Edit tool for targeted fixes -- do NOT rewrite entire pages
- Follow the formatting rules from the docs standards above
Creating new package docs pages: If a new package was created and has no docs page yet:
- Create
docs/src/content/docs/packages/{package-name}.md - Follow the Package page structure from the docs standards above
- Include: frontmatter, intro paragraph, installation, usage, API reference
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.
- 1mo ago First seen · 82 lines · 33 tokens per session scan A 347c1782f789
doc-updater is an agent published in the GitHub repository marko-php/marko (397 stars, last pushed 7d ago), licensed MIT. It adds 33 tokens to every session and 781 once invoked, about $0.0001 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-30.
Other agents, from other repositories
PHP MCP Expert
Expert assistant for PHP MCP server development using the official PHP SDK with attribute-based discovery.
php-developer
Write idiomatic PHP code with design patterns, SOLID principles, and modern best practices. Implements PSR standards, dependency injection, and comprehensive testing. Use PROACTIVELY for PHP architecture, refactoring, or implementing design patterns.
php-reviewer
PHP 8.5 and Clean Architecture code review specialist — DDD, hexagonal, PER-CS 3.0, PHPStan, security analysis.
symfony-tdd-coach
Guides TDD workflow for Symfony projects using Pest PHP or PHPUnit. Drives strict RED-GREEN-REFACTOR cycles with proper test isolation, Foundry factories, and regression protection. Use when writing tests, adding test coverage, or practicing TDD.
creational-auditor
Creational patterns auditor. Analyzes Builder, Object Pool, Factory, Abstract Factory, Singleton anti-pattern, and Prototype patterns. Called by acc:pattern-auditor coordinator.
creational-generator
Creational patterns generator. Creates Builder, Object Pool, and Factory components for PHP 8.4. Called by acc:pattern-generator coordinator.