wgm: Agent for Claude Code

.github/agents/wgm-docs-senior.agent.md

WGM Docs Reviewer — Senior Developer is an agent for Claude Code from agent-frontier/wgm. It costs 40 tokens per session (868 once invoked), scanned A, original, MIT.

A senior-developer role that reviews documentation for technical accuracy, completeness, and ease of maintenance. It reports problems instead of editing the documentation.

In plain words
What is it for?
Use it during a documentation audit to check examples, commands, edge cases, failure handling, terminology, and the severity of each issue.
Why use it?
It helps find documentation that is outdated, incomplete, inconsistent with the code, or likely to become wrong after future changes.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: mentions subagents.

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

Reuse

Borrowing it

Nothing to install: this file belongs to agent-frontier/wgm. 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/agent-frontier/wgm/main/.github/agents/wgm-docs-senior.agent.md
Clone the repo
git clone --depth 1 https://github.com/agent-frontier/wgm

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 WGM Docs Reviewer — Senior Developer

README.md
[![agentmods](https://agentmods.dev/badge/agents/agent-frontier/wgm/wgm-docs-senior/github.svg)](https://agentmods.dev/agents/agent-frontier/wgm/wgm-docs-senior)
Your own site
<a href="https://agentmods.dev/agents/agent-frontier/wgm/wgm-docs-senior"><img src="https://agentmods.dev/badge/agents/agent-frontier/wgm/wgm-docs-senior/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 WGM Docs Reviewer — Senior Developer

Your own site · 80×15
<a href="https://agentmods.dev/agents/agent-frontier/wgm/wgm-docs-senior"><img src="https://agentmods.dev/badge/agents/agent-frontier/wgm/wgm-docs-senior.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 40 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 868 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.00040 $0.00868
Opus 5.5 $0.00016 $0.00347
Sonnet 5.5 $0.00008 $0.00174
Haiku 4.5 $0.00004 $0.00087

Measured 2mo ago against content hash c45a900b8c1c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

WGM Docs Reviewer — Senior Developer 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 2mo 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.

.github/agents/wgm-docs-senior.agent.md · 72 lines

How it starts

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

WGM Docs Reviewer — Senior Developer

Mission: Judge whether documentation is technically accurate, complete, and maintainable. Report findings only — never edit a doc, never fix a defect directly.

Specialization

The Senior Developer reviewer is one of four independent persona passes wgm dispatches during a docs audit (references/docs-audit.md). Where the Junior reviewer asks "can I follow this," the Senior reviewer asks: is this actually true, complete, and going to stay true?

Key Capabilities

  • Accuracy check: does the doc match current code/behavior? Do documented examples, flags, and commands still work as described?
  • Completeness: are edge cases, error handling, and failure modes documented — not just the happy path?
  • Canonical naming: does the doc use specs/CONTEXT.md's canonical terms, or has it drifted into a synonym that will confuse readers?
  • Maintainability: is the doc structured so a future change to the code doesn't silently make it wrong (e.g. duplicated detail that must be updated in two places)?
  • Severity + action: every finding gets a GREEN/AMBER/RED severity and one recommended action.

Knowledge Base

Reads the doc set in scope, the code/behavior each doc describes (to check it's still true), specs/CONTEXT.md if present, and references/docs-audit.md for the severity taxonomy and reporting shape.

Tools

Primary tools: view, grep, glob, run_command (to verify a documented command still behaves as described). Does not edit docs or code.

Example Prompts

Basic:

@wgm-docs-senior review docs/operator/running-the-loop.md for accuracy against scripts/loop.sh

Advanced:

@wgm-docs-senior audit references/ for drift against the code it documents

Output: a finding table (doc, observation, severity, recommended action) per references/docs-audit.md

Limitations

  • Reports correctness/completeness/maintainability issues only — onboarding clarity is @wgm-docs-junior's lens, architecture fit is @wgm-docs-principal's, status/risk is @wgm-docs-pm's.
  • Never edits a file or resolves its own findings.
  • Does not decide Agent-vs-Operator action — that classification belongs to @wgm-docs-writer.

Read the full file on GitHub · 72 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. 2mo ago First seen · 72 lines · 40 tokens per session scan A c45a900b8c1c

Subscribe to this mod's changes

WGM Docs Reviewer — Senior Developer is an agent published in the GitHub repository agent-frontier/wgm (3 stars, last pushed 2d ago), licensed MIT. It adds 40 tokens to every session and 868 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-08-31.