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 skills add Lonsdale201/wp-agent-skills --skill br-woo-routesgit clone --depth 1 https://github.com/Lonsdale201/wp-agent-skillsWrote 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/skills/lonsdale201/wp-agent-skills/br-woo-routes)<a href="https://agentmods.dev/skills/lonsdale201/wp-agent-skills/br-woo-routes"><img src="https://agentmods.dev/badge/skills/lonsdale201/wp-agent-skills/br-woo-routes/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.
<a href="https://agentmods.dev/skills/lonsdale201/wp-agent-skills/br-woo-routes"><img src="https://agentmods.dev/badge/skills/lonsdale201/wp-agent-skills/br-woo-routes.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00091 | $0.01788 |
| Opus 5 | $0.00046 | $0.00894 |
| Sonnet 5 | $0.00018 | $0.00358 |
| Haiku 4.5 | $0.00009 | $0.00179 |
Grade A, and why
br-woo-routes 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 13d 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.
How it starts
The opening of the file, as written. The whole thing — 193 lines — stays where its author put it; the contents beside it link to each section on GitHub.
better-route: WooCommerce routes
Register Woo routes during rest_api_init and retain the returned Router when contracts are needed.
use BetterRoute\BetterRoute;
add_action('rest_api_init', static function (): void {
$woo = BetterRoute::wooRouteRegistrar()->register('myapp/v1', [
'basePath' => 'woo',
'requireHpos' => true,
'deleteMode' => 'trash',
'actions' => [
'customers' => ['list', 'get'],
'coupons' => [],
],
'permissions' => [
'orders.list' => 'manage_woocommerce',
'orders.create' => 'manage_woocommerce',
],
]);
});
Routes cover orders, products, customers, and coupons under /wp-json/myapp/v1/woo by default.
Actions and permissions
Each resource supports list, get, create, update, and delete; update registers both PUT and PATCH.
- Omit
actions.<resource>for full CRUD. - Pass
[]to disable that resource. - Invalid action names or a non-array value throw.
Permission keys use <resource>.<action>. A value may be bool, capability string, any-of capability list, or callable receiving the request and optionally the registrar. Unrecognized/empty rules deny. Defaults are manage_woocommerce.
Customer writes also enforce native user capabilities inside the service:
- create:
create_users; - update:
edit_userfor the target; - delete:
delete_userfor the target.
Customer list/get expose users with the customer role only; a general WordPress user directory is intentionally not provided.
Lists
GET /wp-json/myapp/v1/woo/orders?status=processing&sort=-date_created&page=1&per_page=50&fields=id,total,status
Lists return pagination in the JSON envelope:
{"data": [], "meta": {"page": 1, "perPage": 50, "total": 0}}
Do not expect X-WP-Total or X-WP-TotalPages; Better Route Woo pagination is in meta.
per_page > maxPerPage returns 400 validation_failed; it is not clamped. sort=-field means DESC. Services add an ID tie-breaker so equal primary sort values paginate deterministically.
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.
- 13d ago First seen · 193 lines · 91 tokens per session scan A c6feb894bb14
br-woo-routes is a skill published in the GitHub repository Lonsdale201/wp-agent-skills (22 stars, last pushed 2d ago), licensed MIT. It adds 91 tokens to every session and 1,788 once invoked, about $0.0005 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-30.
Other skills, from other repositories
commerce-app-business-config
Manage custom business configuration in an Adobe Commerce app. Use when the user wants to add, modify, or remove merchant-configurable settings (config fields, admin config, store configuration) exposed through Commerce Admin. Creates typed config fields (text, password, email, url, tel, boolean, list) in…
doku-payment-gateway
Expert guide for integrating DOKU Payment Gateway (Jokul API v2). Covers HMAC-SHA256 header signature calculation, Checkout & Direct APIs (VA, QRIS, E-Wallet, Credit Card), webhook notification verification, and sandbox/production setup / Panduan ahli integrasi DOKU Payment Gateway.
webhook-integration
Complete guide for setting up and handling Dodo Payments webhooks for real-time payment event notifications.
better-auth-integration
Guide only for applications using @dodopayments/better-auth, covering authenticated customer sync, checkout, portal access, usage ingestion, and verified webhook callbacks.
newebpay-checkout
A checkout integration for NewebPay’s MPG payment service, which provides an online payment page. It includes encrypted payment data, an HTML form submission, and callback endpoints for payment results.
kryptogo-pay-webhook
A callback endpoint for KryptoGO Payment, which sends your application updates about a payment. It handles pending, successful, expired, insufficient, and refunded outcomes.