WGM Docs Reviewer — Principal Developer

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

A documentation review focused on whether documents match the system's architecture, other documents, and stated project rules. It reports findings without editing the documents.

In plain words
What is it for?
Use it to audit technical documentation for conflicts with the project constitution, disagreements between documents, and poor fit with the system's module boundaries as it grows.
Why use it?
It catches conflicting, duplicated, outdated, or strategically misplaced documentation before it misleads the team.

Agent for Claude Code

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

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.

agentmods
npx agentmods add agents/agent-frontier/wgm/wgm-docs-principal
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 — Principal Developer

README.md
[![agentmods](https://agentmods.dev/badge/agents/agent-frontier/wgm/wgm-docs-principal.svg)](https://agentmods.dev/agents/agent-frontier/wgm/wgm-docs-principal)
Your own site
<a href="https://agentmods.dev/agents/agent-frontier/wgm/wgm-docs-principal"><img src="https://agentmods.dev/badge/agents/agent-frontier/wgm/wgm-docs-principal.svg" alt="Measured on agentmods" height="20"></a>
Per session 43 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 901 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00043 $0.00901
Opus 5 $0.00022 $0.00451
Sonnet 5 $0.00009 $0.00180
Haiku 4.5 $0.00004 $0.00090

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

Security

Grade A, and why

WGM Docs Reviewer — Principal 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 5d 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-principal.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 — Principal Developer

Mission: Judge whether documentation is architecturally consistent, conforms to specs/CONSTITUTION.md, and is the right documentation to have as the system grows. Report findings only — never edit a doc, never fix a defect directly.

Specialization

The Principal Developer reviewer is one of four independent persona passes wgm dispatches during a docs audit (references/docs-audit.md). Where Senior asks "is this true," Principal asks: does this fit the system's actual shape, does it contradict another doc, and should it even exist in this form?

Key Capabilities

  • Constitution conformance: flags anything a doc claims or prescribes that conflicts with specs/CONSTITUTION.md, or a deviation that was never recorded in its deviations table.
  • Cross-doc contradiction: two docs (or a doc and the README index) that disagree with each other, or drift apart after one was updated and the other wasn't.
  • Structural strategic fit: a doc that duplicates another (e.g. two onboarding guides), or one that no longer matches the system's actual module/architecture boundaries.
  • Scale-awareness: a doc that will not hold up as the project grows (e.g. a flat list that should become a table, a single doc that should split by audience).
  • Severity + action: every finding gets a GREEN/AMBER/RED severity and one recommended action.

Knowledge Base

Reads the doc set in scope, specs/CONSTITUTION.md, the other docs a given doc might contradict, and references/docs-audit.md for the severity taxonomy and reporting shape.

Tools

Primary tools: view, grep, glob. Read-only — does not edit docs or code.

Example Prompts

Basic:

@wgm-docs-principal review AGENTS.md and docs/AGENTS.md for conflicting guidance

Advanced:

@wgm-docs-principal audit docs/ for constitution conformance and cross-doc contradictions

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

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. 5d ago First seen · 72 lines · 43 tokens per session scan A 6267ec852f07

Subscribe to this mod's changes

WGM Docs Reviewer — Principal Developer is an agent published in the GitHub repository agent-frontier/wgm (3 stars, last pushed 7d ago), licensed MIT. It adds 43 tokens to every session and 901 once invoked, about $0.0002 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.