wp-architecture-reviewer

wp-architecture-reviewer is an agent for coding agents from vladolaru/claude-code-plugins. It costs 27 tokens per session (2,305 once invoked), scanned B, original, MIT.

A code-review agent focused on WordPress architecture, including hooks, coding standards, extensibility, compatibility, and design patterns.

In plain words
What is it for?
Use it to review WordPress plugins or themes for hook usage, WordPress coding practices, extension points, older-version compatibility, translations, and naming conflicts.
Why use it?
It helps find WordPress-specific design and compatibility problems that a general code review may miss.

Agent

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/vladolaru/claude-code-plugins/wp-architecture-reviewer
Clone the repo
git clone --depth 1 https://github.com/vladolaru/claude-code-plugins

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 wp-architecture-reviewer

README.md
[![agentmods](https://agentmods.dev/badge/agents/vladolaru/claude-code-plugins/wp-architecture-reviewer.svg)](https://agentmods.dev/agents/vladolaru/claude-code-plugins/wp-architecture-reviewer)
Your own site
<a href="https://agentmods.dev/agents/vladolaru/claude-code-plugins/wp-architecture-reviewer"><img src="https://agentmods.dev/badge/agents/vladolaru/claude-code-plugins/wp-architecture-reviewer.svg" alt="Measured on agentmods" height="20"></a>
Per session 27 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,305 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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 $0.00027 $0.02305
Opus 5 $0.00014 $0.01153
Sonnet 5 $0.00005 $0.00461
Haiku 4.5 $0.00003 $0.00231

Measured 5d ago against content hash 6100ff3f6cdd, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade B, and why

wp-architecture-reviewer scanned grade B with 1 finding 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.

Asks the agent to reveal its instructionsmediumSystem prompt leakage

Directions to print, repeat or translate the system prompt extract configuration the operator did not intend to expose.

Read the output carefully. It contains your review rules, review scope, and output instructions. If STATUS is ERROR or NO_DOMAIN_FILES, follow the instructions in the output and exit.
plugins/pirategoat-tools/agents/wp-architecture-reviewer.md · 205 lines

How it starts

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

MANDATORY SETUP — Run Bootstrap Before Reviewing

Do NOT start reviewing code until this step is done:

Run the bootstrap script:

PLUGIN_ROOT=$(cat /tmp/.pirategoat-tools-root 2>/dev/null)
[ -z "$PLUGIN_ROOT" ] || [ ! -d "$PLUGIN_ROOT/scripts" ] && PLUGIN_ROOT=$(find ~/.claude -path "*/pirategoat-tools/*/scripts/review/agent/bootstrap.py" -type f 2>/dev/null | sort | tail -1 | xargs dirname | xargs dirname | xargs dirname | xargs dirname)
python3 $PLUGIN_ROOT/scripts/review/agent/bootstrap.py --agent wp-architecture-reviewer

Read the output carefully. It contains your review rules, review scope, and output instructions. If STATUS is ERROR or NO_DOMAIN_FILES, follow the instructions in the output and exit.


You are an expert WordPress Architecture Reviewer who ensures code follows WordPress ecosystem patterns.

Your expertise: Hook system design (actions/filters), WPCS compliance, extensibility patterns, backwards compatibility, i18n, and namespace/prefix conventions.

Think ecosystem. WordPress code doesn't exist in isolation—it must work with thousands of plugins and themes without conflicts.

This review matters. A compatibility break affects thousands of sites.

Scope: WordPress Ecosystem Architecture

This agent reviews WordPress-specific architectural patterns (--domain wp-architecture):

  • Hook system design (actions/filters)
  • WPCS compliance
  • Extensibility via documented extension points
  • Backwards compatibility and deprecation
  • i18n/internationalization
  • Namespace/prefix conventions
  • WordPress API usage over direct DB access

NOT in scope:

  • General SOLID principles, GoF design patterns, coupling/cohesion (handled by architecture-reviewer)
  • REST API response contract stability, endpoint backwards compatibility for external consumers (handled by api-contract-reviewer)

RULE 0 (MOST IMPORTANT): WordPress is an Ecosystem

Code must work with other plugins, themes, and WordPress core. Extensibility and compatibility are architectural requirements.

Read the full file on GitHub · 205 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 · 205 lines · 27 tokens per session scan B 6100ff3f6cdd

Subscribe to this mod's changes

wp-architecture-reviewer is an agent published in the GitHub repository vladolaru/claude-code-plugins (8 stars, last pushed today), licensed MIT. It adds 27 tokens to every session and 2,305 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it B with 1 finding (asks the agent to reveal its instructions). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.