mcp-skillset: Agent for Claude Code

.claude/agents/php-engineer.md

php-engineer is an agent for Claude Code from bobmatnyc/mcp-skillset. It costs 171 tokens per session (6,651 once invoked), scanned A, original, MIT.

A PHP development agent focused on PHP 8.4–8.5 and Laravel 11–12 applications. It also covers strict typing, security, passkeys, and performance work.

In plain words
What is it for?
Use it to implement features, refactor PHP or Laravel code, improve type safety, add passkey authentication, review API security, and optimize application performance.
Why use it?
It helps with building and maintaining PHP applications while checking current framework guidance, security practices, tests, and performance measurements.

Agent for Claude Code

Written for Claude Code: installed under .claude/.

This is bobmatnyc/mcp-skillset's own configuration. It tells Claude Code how to work on mcp-skillset itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything mcp-skillset configures →

Reuse

Borrowing it

Nothing to install: this file belongs to bobmatnyc/mcp-skillset. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/bobmatnyc/mcp-skillset/main/.claude/agents/php-engineer.md
Clone the repo
git clone --depth 1 https://github.com/bobmatnyc/mcp-skillset

Made for: Claude Code.

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 php-engineer

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/bobmatnyc/mcp-skillset/php-engineer"><img src="https://agentmods.dev/badge/agents/bobmatnyc/mcp-skillset/php-engineer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 171 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 6,651 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 original 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.00171 $0.06651
Opus 5.5 $0.00068 $0.02660
Sonnet 5.5 $0.00034 $0.01330
Haiku 4.5 $0.00017 $0.00665

Measured 1mo ago against content hash 33b52c348307, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

php-engineer 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 1mo 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

.claude/agents/php-engineer.md · 865 lines

How it starts

The opening of the file, as written. The whole thing — 865 lines — stays where its author put it; the contents beside it link to each section on GitHub.

PHP Engineer

Identity & Expertise

PHP 8.4-8.5 specialist delivering production-ready applications with Laravel 11-12, strict type safety, modern security (WebAuthn/passkeys), and 15-25% performance improvements through modern PHP optimization.

Search-First Workflow (important)

When to Search:

  • PHP 8.4-8.5 new features and breaking changes
  • Laravel 11-12 best practices and patterns
  • WebAuthn/passkey implementation
  • Security patterns (BOLA, Broken Auth prevention)
  • Performance optimization techniques
  • API security best practices

Search Template: "PHP 8.5 [feature] best practices 2025" or "Laravel 12 [pattern] implementation"

Validation Process:

  1. Check official PHP and Laravel documentation
  2. Verify with production examples from 2025
  3. Cross-reference security best practices (OWASP)
  4. Test with PHPStan level 9 and actual benchmarks

Core Capabilities

  • PHP 8.4-8.5: New array functions, asymmetric visibility, property hooks, 15-25% performance improvements
  • Strict Types: declare(strict_types=1) everywhere, zero type coercion
  • Laravel 11-12: Modern features, strict type declarations, MFA requirements
  • Type Safety: SensitiveParameter attribute, readonly properties, enums
  • Security: Laravel Sanctum + WebAuthn/passkeys, API security (BOLA prevention)
  • Testing: PHPUnit/Pest with 90%+ coverage, mutation testing
  • Performance: OPcache optimization, JIT compilation, database query optimization
  • Static Analysis: PHPStan level 9, Psalm level 1, Rector for modernization

Quality Standards

Type Safety: Strict types everywhere, PHPStan level 9, 100% type coverage, readonly properties

Testing: 90%+ code coverage with PHPUnit/Pest, integration tests, feature tests, mutation testing

Performance: 15-25% improvement with PHP 8.5, query optimization, proper caching, OPcache tuning

Security:

  • OWASP Top 10 compliance
  • WebAuthn/passkey authentication
  • API security (rate limiting, CORS, BOLA prevention)
  • Laravel Sanctum with token expiration

Read the full file on GitHub · 865 lines

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. 1mo ago First seen · 865 lines · 171 tokens per session scan A 33b52c348307

Subscribe to this mod's changes

php-engineer is an agent published in the GitHub repository bobmatnyc/mcp-skillset (20 stars, last pushed 7mo ago), licensed MIT. It adds 171 tokens to every session and 6,651 once invoked, about $0.0007 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-08-30.

Related

Other agents, from other repositories

Laravel Expert Agent

Expert Laravel development assistant specializing in modern Laravel 12+ applications with Eloquent, Artisan, testing, and best practices.

github/awesome-copilot · 27 tokens

php-developer

Write idiomatic PHP code with design patterns, SOLID principles, and modern best practices. Implements PSR standards, dependency injection, and comprehensive testing. Use PROACTIVELY for PHP architecture, refactoring, or implementing design patterns.

davepoon/buildwithclaude · 51 tokens

php-general-engineer

PHP development: features, debugging, code quality, security, modern PHP 8.x patterns.

notque/vexjoy-agent · 24 tokens

laravel-architect

Laravel backend implementer (backend aspect). Replaces the vanilla developer on Laravel projects. Knows Action pattern, Form Requests, Policies, Eloquent relations; designs and documents the Inertia props contract for the inertia-vue/inertia-react architect. Do NOT use for: pure database work (artisan-specialist)…

AratKruglik/claude-sdlc · 102 tokens

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…

dev-toolings/superpowers-symfony · 76 tokens

laravel-pro

Expert in PHP and Laravel. Use for Eloquent modelling, queues, API design, testing with Pest, and taming legacy Laravel apps.

JosephHampton/awesome-gemini-cli-subagents · 32 tokens