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 skills/netresearch/php-modernization-skill/php-modernizationnpx skills add netresearch/php-modernization-skill --skill php-modernizationgit clone --depth 1 https://github.com/netresearch/php-modernization-skillWhat 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 | $0.00102 | $0.01185 |
| Opus 5 | $0.00051 | $0.00593 |
| Sonnet 5 | $0.00020 | $0.00237 |
| Haiku 4.5 | $0.00010 | $0.00119 |
Grade C, and why
php-modernization scanned grade C 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 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.
Recursive force deletehighDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
- Never trust a warm PHPStan cache after vendor change: `rm -rf /tmp/phpstan-* var/cache/phpstan` first. The source is not reproduced here
No licence file
A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.
What ships with it
32 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- checkpoints.yaml 25 KB
- references/adapter-registry-pattern.md 14 KB
- references/api-platform-edges.md 11 KB
- references/composer-package-metadata.md 6.2 KB
- references/contracts-and-invariants.md 11 KB
- references/core-rules.md 1.6 KB
- references/doctrine-modernization-edges.md 9.7 KB
- references/immutability-boundaries.md 9.8 KB
- references/migration-strategies.md 12 KB
- references/multi-agent-pitfalls.md 8.9 KB
- references/multi-version-adapters.md 8.9 KB
- references/mutation-testing.md 9.8 KB
- references/php-8.4.md 18 KB
- references/php-8.5.md 15 KB
- references/php-cs-fixer-deprecations.md 3.9 KB
- references/php8-features.md 14 KB
- references/phpstan-compliance.md 17 KB
- references/phpunit-modernization.md 7.9 KB
- references/psr-per-compliance.md 13 KB
- references/psr15-middleware-architecture.md 13 KB
- references/request-dtos.md 14 KB
- references/static-analysis-tools.md 20 KB
- references/symfony-patterns.md 18 KB
- references/type-safety.md 15 KB
- scripts/_common.py 3.5 KB runs code
- scripts/introspect.py 5.8 KB runs code
- scripts/modernize_loop.py 15 KB runs code
- scripts/verify_php_project.py 51 KB runs code
- scripts/verify-php-project.sh 1.2 KB runs code
- templates/composer-scripts.json 648 B
- templates/github-actions/php-modernization.yml 5.0 KB
- templates/README.md 3.1 KB
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 First seen · 81 lines · 102 tokens per session scan C 0e281d27053e
php-modernization is a skill published in the GitHub repository netresearch/php-modernization-skill (43 stars, last pushed 3d ago), with no licence file. It adds 102 tokens to every session and 1,185 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
sanctuary
Security, custody, and privacy infrastructure for AI agents. Use when the agent needs encrypted state storage, self-custodied identity, selective disclosure, zero-knowledge proofs, portable reputation, sovereignty health reporting, handshakes, MCP-to-MCP federation, protection-posture auditing, or principal dashboard…
git-workflow
Use when establishing branching strategies, implementing Conventional Commits, creating or reviewing PRs, resolving PR review comments, merging PRs (including CI verification, auto-merge queues, and post-merge cleanup), managing PR review threads, merging PRs with signed commits, handling merge conflicts, verifying a…
security-audit
Use when conducting security assessments — OWASP Top 10 / API / LLM, CWE Top 25, CVSS scoring — auditing PHP/TYPO3, APIs, frontend, Terraform/K8s/Docker IaC, AWS cloud, AI agent configs, or scanning dependencies.
skill-repo
Use when creating skill repositories, standardizing or validating skill repo structure, setting up composer/release workflows, configuring split licensing (MIT + CC-BY-SA-4.0), fixing plugin.json / SKILL.md validation or version-parity errors, or releasing a skill version (version bump, tagging).
go-development
Use when developing Go applications, implementing job schedulers or cron (netresearch/go-cron, ofelia), Docker API integrations, LDAP/AD clients, building resilient services with retry logic, setting up Go test suites (unit/integration/fuzz/mutation), or running golangci-lint.
typo3-extension-upgrade
Use when upgrading TYPO3 extensions to newer LTS versions (v11->v12, v12->v13, v13->v14 - v14.3 LTS is the current target), running Extension Scanner, Rector, Fractor, PHPStan, fixing deprecated APIs, or resolving compatibility issues. Also triggers on: migration, version upgrade, deprecated API, dual-version…