sota-php

sota-php is a skill for Claude Code from martinholovsky/SOTA-skills. It costs 225 tokens per session (2,202 once invoked), scanned A, original, CC-BY-4.0.

A PHP engineering guide for creating and reviewing PHP 8.3 and newer code, including modern language features and common web security risks.

In plain words
What is it for?
Use it when building new PHP applications or auditing existing PHP code for modern style and security problems.
Why use it?
It helps avoid outdated PHP patterns and security mistakes such as SQL injection, cross-site scripting, unsafe file uploads, and dangerous object deserialization.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the sota-skills plugin — 42 skills, 1 hook shipped together

Good fit Use it when building new PHP applications or auditing existing PHP code for modern style and security problems.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/martinholovsky/sota-skills/sota-php
Install

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.

Any agent
npx skills add martinholovsky/SOTA-skills --skill sota-php
Clone the repo
git clone --depth 1 https://github.com/martinholovsky/SOTA-skills

Made for: Claude Code.

Or install sota-skills, the plugin that ships this one along with the rest of its 42 skills, 1 hook.

Wrote 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.

agentmods badge for sota-php

README.md
[![agentmods](https://agentmods.dev/badge/skills/martinholovsky/sota-skills/sota-php/github.svg)](https://agentmods.dev/skills/martinholovsky/sota-skills/sota-php)
Your own site
<a href="https://agentmods.dev/skills/martinholovsky/sota-skills/sota-php"><img src="https://agentmods.dev/badge/skills/martinholovsky/sota-skills/sota-php/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.

agentmods 80×15 button for sota-php

Your own site · 80×15
<a href="https://agentmods.dev/skills/martinholovsky/sota-skills/sota-php"><img src="https://agentmods.dev/badge/skills/martinholovsky/sota-skills/sota-php.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 225 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,202 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin unknown No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00225 $0.02202
Opus 5 $0.00112 $0.01101
Sonnet 5 $0.00045 $0.00440
Haiku 4.5 $0.00022 $0.00220

Measured 11d ago against content hash d9487a5ee5c0, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

sota-php 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 11d 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.

skills/sota-php/SKILL.md · 131 lines

The source is not reproduced here

Licensed CC-BY-4.0

The repository is licensed CC-BY-4.0, which this catalogue does not treat as permission to reproduce the file. Read it at the source.

Read it on GitHub

Files

What ships with it

6 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.

Changes

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.

  1. 11d ago First seen · 131 lines · 225 tokens per session scan A d9487a5ee5c0

Subscribe to this mod's changes

sota-php is a skill published in the GitHub repository martinholovsky/SOTA-skills (18 stars, last pushed yesterday), licensed CC-BY-4.0. It adds 225 tokens to every session and 2,202 once invoked, about $0.0011 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.

Related

Other skills, from other repositories

php-rules

PHP coding rules: style, patterns, security, testing. Triggers: .php, composer.json, Laravel, Symfony, PHPUnit, PSR-12, Composer.

softspark/ai-toolkit · 38 tokens

phpunit-unit-test-reviewing

Internal sub-skill. Do not auto-activate. Use only when explicitly invoked by name by another skill or agent.

shopwareLabs/ai-coding-tools · 31 tokens

xml-config-migrating

Use this skill when a Shopware plugin or app-server extension needs its XML configuration migrated to PHP — phrases like "migrate services.xml", "convert my plugin config to PHP", "xml to php migration", "fix the XML deprecation", "prepare my plugin for Shopware 6.8 / Symfony 8", or when a deprecation like "The XML…

shopwareLabs/ai-coding-tools · 106 tokens

phpunit-integration-test-generation

Use this skill when the user asks to generate, write, or create integration tests for a Shopware 6 source class whose contract requires wired-up code — phrases like "generate integration tests for X", "write an integration test for this controller", "test this indexer", "create an integration test for the message…

shopwareLabs/ai-coding-tools · 184 tokens

phpunit-unit-test-writing

Use this skill when the user asks to write, generate, create, or add PHPUnit unit tests for a Shopware 6 source class — phrases like "write unit tests for X", "generate tests for ClassName", "create PHPUnit tests", "add test coverage", "test this class", "cover this with tests", "I need tests for", "unit test this"…

shopwareLabs/ai-coding-tools · 187 tokens

symfony:daily-workflow

Daily development workflow for Symfony projects including common tasks, debugging, and productivity tips.

dev-toolings/superpowers-symfony · 22 tokens