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-php83-upgradegit 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-php83-upgrade)<a href="https://agentmods.dev/skills/lonsdale201/wp-agent-skills/br-php83-upgrade"><img src="https://agentmods.dev/badge/skills/lonsdale201/wp-agent-skills/br-php83-upgrade/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-php83-upgrade"><img src="https://agentmods.dev/badge/skills/lonsdale201/wp-agent-skills/br-php83-upgrade.svg" alt="Reviewed on agentmods" width="80" 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.00079 | $0.01156 |
| Opus 5.5 | $0.00032 | $0.00462 |
| Sonnet 5.5 | $0.00016 | $0.00231 |
| Haiku 4.5 | $0.00008 | $0.00116 |
Grade A, and why
br-php83-upgrade 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 4d 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 — 108 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Better Route 2.0 / PHP 8.3 upgrade
Move an existing Better Route integration to the PHP 8.3 minimum without silently changing its application API or weakening its authentication and write safeguards.
Runtime and dependency change
- Check web/FPM, CLI, cron and long-lived worker PHP versions independently. Upgrade all to at least 8.3 before installing 2.0; verify required host plugins/extensions.
- Change
better-route/better-routeto^2.0, update the consumer lockfile and runcomposer check-platform-reqs --no-devunder the real deployment runtime. Aconfig.platformoverride is a resolver input, not a runtime upgrade. - Deploy the matching dependency tree and restart long-lived workers. Smoke test the integration's real authorization, reads, writes and retry behavior.
An existing ^1.1 constraint does not install 2.0. PHP 8.1/8.2 consumers can use
the 1.1.3 security patch. On 1.1.2 or older, use an explicit URL-bound Resource
ownership policy until updated; see br-owned-resource-guards.
The package is a Composer library; it has no standalone WordPress activation step.
For a host plugin that now requires this runtime, update that plugin's own declared
PHP requirement and deployment checks as well.
Readonly object compatibility
These existing final DTO/policy classes become readonly classes:
Http\RequestContext,Http\Response,Router\RouteDefinition;- Woo
AnalyticsQuery,CustomerListQuery,CouponListQuery,OrderListQuery,ProductListQueryandCustomerRolePolicy.
Declared fields were already readonly. Constructors, named parameters and values
remain unchanged; undeclared dynamic properties now throw. Replace custom property
attachments with RequestContext::withAttribute() or separate application state:
$nextContext = $context->withAttribute('tenantId', $tenantId);
return $next($nextContext);
The original context remains unchanged. Readonly is shallow: an object referenced by a DTO can still mutate. Do not treat these objects as deep security boundaries.
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.
- 4d ago First seen · 108 lines · 79 tokens per session scan A 87c33654b26d
br-php83-upgrade is a skill published in the GitHub repository Lonsdale201/wp-agent-skills (24 stars, last pushed 4d ago), licensed MIT. It adds 79 tokens to every session and 1,156 once invoked, about $0.0003 per session on Opus 5.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-10-21.
Other skills, from other repositories
mvc-expert
Expert guidelines to refactor legacy PHP codebases into clean, modern, and scalable MVC-structured projects / Pedoman ahli untuk merefaktor codebase PHP lama menjadi proyek terstruktur MVC yang bersih, modern, dan skalabel.
yao-geoflow-template
Use only for explicit legacy GEOFlow template skill questions, old PHP template-package contracts, or historical outputs using root index.php/article.php/category.php/archive.php and includes/.php. Route current Laravel Blade themes, reference-site cloning, homepage modules, leadform, theme editor, channel frontend…
loom-php
PHP language expertise for idiomatic, production-quality code.
symfony-components
Opinionated defaults, version facts, and pitfalls for Symfony and its components. Use when writing, reviewing, or upgrading Symfony code, to match the installed version's API and avoid known traps.
composer-dependencies
Composer playbook for safe package updates. Use to update dependencies, audit for vulnerabilities, manage composer.lock, set up Dependabot or Renovate, replace abandoned packages, or resolve version conflicts.
php-quality
PHP static analysis, code style and modern idioms for PHP 8.3 to 8.5. Use when setting up phpstan.neon or a baseline, choosing PHPStan or Psalm, PHP-CS-Fixer or PHPCodeSniffer, PER-CS or PSR-12, configuring Rector quality sets, or reviewing PHP for readonly, enums, property hooks and the pipe operator.