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/andisab/swe-marketplace/dev-php-expertgit clone --depth 1 https://github.com/andisab/swe-marketplaceWrote 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/andisab/swe-marketplace/dev-php-expert)<a href="https://agentmods.dev/agents/andisab/swe-marketplace/dev-php-expert"><img src="https://agentmods.dev/badge/agents/andisab/swe-marketplace/dev-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 | $0.00021 | $0.00491 |
| Opus 5 | $0.00010 | $0.00246 |
| Sonnet 5 | $0.00004 | $0.00098 |
| Haiku 4.5 | $0.00002 | $0.00049 |
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 3d 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.
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.
- 3d ago First seen · 66 lines · 21 tokens per session scan A 5b5779673fa5
php-expert is an agent published in the GitHub repository andisab/swe-marketplace (21 stars, last pushed 15d ago), licensed MIT. It adds 21 tokens to every session and 491 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-08-30.
Other agents, from other repositories
database
Database schema, Eloquent models, and migrations.
livewire
Livewire 3 component implementation.
pest
Pest testing for Laravel.
index
Agents are the core of the Synapse library. Every component, such as Tools, Memory, or OutputSchema, must be attached to an agent.
symfony-reviewer
Symfony 8 / PHP 8.5+ code review specialist — DDD, Doctrine, CQRS, API Platform.
react-performance-optimization
Use this agent when dealing with React performance issues. Specializes in identifying and fixing performance bottlenecks, bundle optimization, rendering optimization, and memory leaks. Examples: Context: User has slow React application. user: 'My React app is loading slowly and feels sluggish during interactions'…