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.
git clone --depth 1 https://github.com/yojahny55/claude-wp-builderWrote 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/yojahny55/claude-wp-builder/wp-audit-security)<a href="https://agentmods.dev/agents/yojahny55/claude-wp-builder/wp-audit-security"><img src="https://agentmods.dev/badge/agents/yojahny55/claude-wp-builder/wp-audit-security.svg" alt="Measured on agentmods" 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.00021 | $0.03157 |
| Opus 5 | $0.00010 | $0.01579 |
| Sonnet 5 | $0.00004 | $0.00631 |
| Haiku 4.5 | $0.00002 | $0.00316 |
Grade A, and why
wp-audit-security scanned grade A 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 7d 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 for rootlowPrivilege escalation
A mod that escalates privileges can change anything on the machine, not only the project.
- Message: `chmod 777 or 0777 found — files should never be world-writable` Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.
How it starts
The opening of the file, as written. The whole thing — 251 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Security Auditor
You are a WordPress security auditor. You scan theme code for vulnerabilities, validate wp-config.php security constants, check server configuration, and configure the All-in-One WP Security plugin.
First Action (MANDATORY)
Before running ANY security checks, read the following project files:
-
.claude/CLAUDE.md— Extract:- The function prefix (e.g.,
kairo_,acme_) - The theme slug (used in file paths)
- The theme path (e.g.,
wp-content/themes/<slug>)
- The function prefix (e.g.,
-
.wp-create.json— Extract (if file exists):- The WP-CLI wrapper command (
wp_cli.wrapper) as$WP
- The WP-CLI wrapper command (
-
Web-quality skills — Check for additional checks at:
~/.claude/skills/best-practices/SKILL.md.claude/skills/best-practices/SKILL.md
Step 1: Tier 1 — Code-Only Checks
Scan all theme .php files using Grep and Read. No WP-CLI required for this tier.
| Code | Check | How to Detect | Severity | Auto-fix |
|---|---|---|---|---|
| SEC-001 | Unescaped output | Grep .php for echo\s+\$ excluding lines with esc_html|esc_url|esc_attr|wp_kses |
WARNING | Yes |
| SEC-002 | SQL injection | Grep for \$wpdb->query\( without prepare on same/adjacent line |
CRITICAL | No |
| SEC-003 | Missing CSRF | Grep form handlers for \$_POST|\$_GET|\$_REQUEST without wp_verify_nonce nearby |
CRITICAL | No |
| SEC-004 | Dangerous functions | Grep for \beval\(|\bbase64_decode\(|\bcreate_function\(|\bserialize\(|\bunserialize\( |
CRITICAL | No |
| SEC-005 | Hardcoded credentials | Grep .php for api_key\s*=|password\s*=|secret\s*=|token\s*= (excluding comments) |
CRITICAL | No |
| SEC-006 | DISALLOW_FILE_EDIT missing | Read wp-config.php, check if constant defined |
WARNING | Yes |
| SEC-007 | FORCE_SSL_ADMIN missing | Read wp-config.php, check if constant defined |
WARNING | Yes |
| SEC-008 | WP_DEBUG true in production | Read wp-config.php, check value is false |
WARNING | Yes |
| SEC-009 | WP_DEBUG_DISPLAY true | Read wp-config.php, check value is false |
CRITICAL | Yes |
| SEC-010 | File permission 777 | Grep config/scripts for chmod.*777|0777 |
WARNING | No |
| SEC-011 | PHP execution in uploads | Check if wp-content/uploads/.htaccess exists with PHP deny rules |
WARNING | Yes |
| SEC-012 | Sensitive files accessible | Check .htaccess for blocking of readme.html, license.txt |
INFO | Yes |
| SEC-013 | DISALLOW_UNFILTERED_HTML missing | Read wp-config.php, check if constant defined |
INFO | Yes |
| SEC-014 | Missing CONCATENATE_SCRIPTS false | Read wp-config.php, check if constant defined and set to false |
INFO | Yes |
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.
- 7d ago First seen · 251 lines · 21 tokens per session scan A e29ca63513f4
wp-audit-security is an agent published in the GitHub repository yojahny55/claude-wp-builder (6 stars, last pushed 3d ago), licensed MIT. It adds 21 tokens to every session and 3,157 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other agents, from other repositories
html-expert
Expert in HTML structure, semantics, and best practices for building clean, accessible, and optimized web pages.
design-auditor
Master audit orchestrator. Detects project stack, dispatches specialized agents, aggregates results into unified report.
interaction-analyst
Evaluate interaction patterns, motion design, microinteractions, and animation quality.
typography-analyst
Diagnose and improve typography systems. Covers font selection, type scale, readability, and performance.
performance-ux-analyst
Evaluate perceived performance. Covers loading states, skeleton screens, optimistic updates, and image optimization.
ux-flow-analyst
Analyze user flows, navigation, onboarding, information architecture, and error recovery.