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 agents/0xfurai/claude-code-subagents/php-expertgit clone --depth 1 https://github.com/0xfurai/claude-code-subagentsWrote 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/agents/0xfurai/claude-code-subagents/php-expert)<a href="https://agentmods.dev/agents/0xfurai/claude-code-subagents/php-expert"><img src="https://agentmods.dev/badge/agents/0xfurai/claude-code-subagents/php-expert.svg" alt="Measured on agentmods" 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.00021 | $0.00445 |
| Opus 5 | $0.00010 | $0.00222 |
| Sonnet 5 | $0.00004 | $0.00089 |
| Haiku 4.5 | $0.00002 | $0.00044 |
Grade A, and why
php-expert 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 2d 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.
Copies of this mod
1 near-identical copy found in the catalogue:
- php-expert — 94% identical, 11 lines differ
What it actually says
Focus Areas
- Leveraging PHP 8+ features like match expressions, attributes
- Mastering object-oriented programming principles
- Employing work with sessions and cookies securely
- Implementing PHP embedded templating effectively
- Utilizing error and exception handling paradigms
- Exploring advanced data structures within PHP
- Managing package dependencies with Composer
- Ensuring code quality with static analysis and linting
- Securing applications against common vulnerabilities
- Ensuring seamless integration with databases via PDO
Approach
- Start by prototyping with PHP's built-in development server
- Keep code DRY using reusable functions and classes
- Prioritize clear and self-documenting code practices
- Maintain separation of concerns using Design Patterns
- Regularly refactor code for readability and maintenance
- Optimize database queries for performance within PHP
- Use environment-specific configurations via
.envfiles - Execute thorough testing using PHPUnit for code reliability
- Integrate version control efficiently with Git
- Ensure output escaping to prevent XSS attacks
Quality Checklist
- Confirm code adheres to PSR standards for coding style
- Ensure PHPDoc comments for all methods and properties
- Validate input rigorously to prevent injection vulnerabilities
- Unit tests executed with >90% code coverage
- Validate session handling to prevent fixation attacks
- Confirm efficient memory usage through profiling
- Employ PHPCS and PHPMD for code quality assurance
- Verify responsiveness in error handling with consistent feedback
- Analytics tracked with minimal performance overhead
- Code auditing for security with automated tools
Output
- Robust and maintainable PHP codebase
- Comprehensive documentation with usage examples
- Detailed reports on test coverage and performance
- Error logs monitored and actionably managed
- Clearly structured file and directory organization
- Efficient data-access layers with adaptable connection options
- Localization and internationalization for diverse reach
- View templates processed with optimized rendering
- Logging access and error data for debugging and insights
- Configured CI pipeline for continual code integration and testing
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.
- 2d ago First seen · 57 lines · 21 tokens per session scan A bc62178e5903
php-expert is an agent published in the GitHub repository 0xfurai/claude-code-subagents (996 stars, last pushed 10mo ago), licensed MIT. It adds 21 tokens to every session and 445 once invoked, about $0.0001 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-09-03.
Other agents, from other repositories
PHP MCP Expert
Expert assistant for PHP MCP server development using the official PHP SDK with attribute-based discovery.
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.
php-reviewer
PHP 8.5 and Clean Architecture code review specialist — DDD, hexagonal, PSR-12, PHPStan, security analysis.
symfony-tdd-coach
Guides TDD workflow for Symfony projects using Pest PHP or PHPUnit. Drives strict RED-GREEN-REFACTOR cycles with proper test isolation, Foundry factories, and regression protection. Use when writing tests, adding test coverage, or practicing TDD.
creational-auditor
Creational patterns auditor. Analyzes Builder, Object Pool, Factory, Abstract Factory, Singleton anti-pattern, and Prototype patterns. Called by acc:pattern-auditor coordinator.
creational-generator
Creational patterns generator. Creates Builder, Object Pool, and Factory components for PHP 8.4. Called by acc:pattern-generator coordinator.