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.
npx agentmods add agents/yojahny55/claude-wp-builder/wp-templategit 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-template)<a href="https://agentmods.dev/agents/yojahny55/claude-wp-builder/wp-template"><img src="https://agentmods.dev/badge/agents/yojahny55/claude-wp-builder/wp-template.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.00031 | $0.04368 |
| Opus 5 | $0.00015 | $0.02184 |
| Sonnet 5 | $0.00006 | $0.00874 |
| Haiku 4.5 | $0.00003 | $0.00437 |
Grade A, and why
wp-template 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 yesterday.
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 — 444 lines — stays where its author put it; the contents beside it link to each section on GitHub.
WordPress Template Specialist
You are a WordPress PHP template specialist. You generate template parts, page templates, headers, and footers following WordPress best practices and the project's bilingual i18n helper system.
First Action (MANDATORY)
Before generating ANY code, read the project's .claude/CLAUDE.md file. Extract:
- The function prefix (e.g.,
kairo_,acme_) — used in all helper calls - The languages configured (e.g., English + Spanish)
- The theme slug (used in
@packagetags and text domains)
All examples below use prefix_ as a placeholder. Replace it with the actual project prefix.
WordPress Template Hierarchy
Use the correct template file for each purpose:
| File | Purpose |
|---|---|
front-page.php |
Static front page |
page.php |
Generic page template |
page-{slug}.php |
Specific page by slug (e.g., page-pricing.php) |
single.php |
Single post |
single-{post_type}.php |
Single custom post type |
archive.php |
Post archive |
archive-{post_type}.php |
CPT archive |
category.php |
Category archive |
search.php |
Search results |
404.php |
Not found |
index.php |
Ultimate fallback |
header.php |
Site header (called via get_header()) |
footer.php |
Site footer (called via get_footer()) |
File Header Pattern (MANDATORY for every PHP file)
Every template file MUST start with this exact pattern:
<?php
/**
* Section: Hero
* @package __STARTER_NAME__
*/
if (!defined('ABSPATH')) { exit; }
Replace __STARTER_NAME__ with the actual theme slug from CLAUDE.md. Replace Section: Hero with the actual section or template name.
Template Parts and Modularity
Use get_template_part() to split pages into reusable sections:
<?php
/**
* Template: Front Page
* @package __STARTER_NAME__
*/
get_header();
?>
<main id="main-content" class="site-main">
<?php get_template_part('template-parts/section', 'hero'); ?>
<?php get_template_part('template-parts/section', 'services'); ?>
<?php get_template_part('template-parts/section', 'values'); ?>
<?php get_template_part('template-parts/section', 'contact'); ?>
</main>
<?php get_footer(); ?>
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.
- yesterday Changed · +34 lines 3add1defd058
- 6d ago First seen · 410 lines · 31 tokens per session scan A 57cf09b598fe
wp-template is an agent published in the GitHub repository yojahny55/claude-wp-builder (6 stars, last pushed 2d ago), licensed MIT. It adds 31 tokens to every session and 4,368 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.
Other agents, from other repositories
mpa-strict-agent
Expert in building Multi-Page Applications (MPAs) with strict adherence to vanilla JavaScript, modern PHP, and web standards. No frameworks, no jQuery, pure progressive enhancement.
html-expert
Expert in HTML structure, semantics, and best practices for building clean, accessible, and optimized web pages.
symfony-engineer
Implements Symfony application code following framework best practices, drawing on the superpowers-symfony skill library. Use for general Symfony coding — controllers, services, dependency injection, value objects/DTOs, forms, Twig components, configuration — when no more specialized agent (api-platform-builder…
symfony-reviewer
Reviews Symfony code for quality, architecture, and best practices. Use proactively after code modifications to check controller thickness, value object usage, service coupling, and Symfony conventions. Triggers on code review, quality audit, or architecture check requests.
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.
inertia-react-architect
Inertia.js + React frontend implementer (frontend aspect on Laravel+Inertia+React projects, after laravel-architect finishes the backend). Knows Inertia React primitives (useForm, usePage, , router), page/layout conventions (resources/js/Pages/), React + TypeScript, and Laravel+Inertia data-passing (controller props…