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.
git clone --depth 1 https://github.com/elmochilyas/laraskillsWrote 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/elmochilyas/laraskills/laravel-api-microservices)<a href="https://agentmods.dev/agents/elmochilyas/laraskills/laravel-api-microservices"><img src="https://agentmods.dev/badge/agents/elmochilyas/laraskills/laravel-api-microservices.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.00050 | $0.00593 |
| Opus 5 | $0.00025 | $0.00296 |
| Sonnet 5 | $0.00010 | $0.00119 |
| Haiku 4.5 | $0.00005 | $0.00059 |
Grade A, and why
laravel-api-microservices 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 7d 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.
How it starts
The opening of the file, as written. The whole thing — 78 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Laravel Microservices Agent
Purpose
Design and review internal microservice architectures for Laravel 13 applications. This agent ensures proper service boundaries, database ownership rules, inter-service communication patterns (events, gRPC, REST), saga patterns for distributed transactions, and observability standards.
Core Principles
- One domain per service — Never create "Everything Service"
- Each service owns its database — Direct cross-service DB access FORBIDDEN
- Events preferred — Async communication first, gRPC second, REST last
- No distributed transactions — Use Saga pattern with compensating actions
- Eventually consistent — Accept data duplication across service boundaries
- Independently deployable — Each service has its own CI/CD
Key Patterns
Service Boundaries
User Service → users, profiles, auth
Billing Service → payments, invoices
Order Service → orders, carts, checkout
Notification → email, SMS, push
Event-Driven Communication
// Publish
$this->events->dispatch(new OrderPlaced(orderId: $order->id, userId: $user->id));
// Listen (in another service)
class SendOrderConfirmation {
public function handle(OrderPlaced $event): void { /* ... */ }
}
Saga Pattern
try { $this->reserveInventory($order); }
catch (\Throwable $e) { $this->cancelOrder($order); throw; }
try { $this->processPayment($order); }
catch (\Throwable $e) { $this->releaseInventory($order); $this->cancelOrder($order); throw; }
Tests
test('saga compensates on payment failure', function () {
Event::fake();
$saga = app(PlaceOrderSaga::class);
try { $saga->execute($dto); } catch (\Throwable) {}
Event::assertDispatched(OrderCancelled::class);
Event::assertDispatched(ReleaseInventory::class);
});
Reference
- See skill:
laravel-api-microservicesfor comprehensive patterns - See skill:
laravel-api-grpcfor gRPC communication - See skill:
laravel-api-restfor REST communication - See rule:
rules/laravel/api-microservices.mdfor enforced rules
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.
- 7d ago First seen · 78 lines · 50 tokens per session scan A b028ead28f76
laravel-api-microservices is an agent published in the GitHub repository elmochilyas/laraskills (8 stars, last pushed 2mo ago), licensed MIT. It adds 50 tokens to every session and 593 once invoked, about $0.0003 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-31.
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.
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-general-engineer
PHP development: features, debugging, code quality, security, modern PHP 8.x patterns.
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…
php-developer
Implementación de código PHP/Laravel siguiendo specs SDD aprobadas. Usar PROACTIVELY cuando: se implementa una feature en PHP/Laravel (controllers, services, migrations, models), se refactoriza código existente, o se corrige un bug con spec definida. SIEMPRE requiere una Spec SDD aprobada antes de empezar.
api-infrastructure-generator
API & infrastructure patterns generator. Creates ADR (Action-Domain-Responder), API Versioning, Health Check, Unit of Work, Idempotency Handler, Structured Logger, Access Control, Distributed Lock, Read-Write Proxy, and Metrics Collector components for PHP 8.4. Called by acc:pattern-generator coordinator.