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 skills add albertoarena/claude-laravel-event-sourcing --skill laravel-spatie-event-sourcinggit clone --depth 1 https://github.com/albertoarena/claude-laravel-event-sourcingWrote 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/skills/albertoarena/claude-laravel-event-sourcing/laravel-spatie-event-sourcing)<a href="https://agentmods.dev/skills/albertoarena/claude-laravel-event-sourcing/laravel-spatie-event-sourcing"><img src="https://agentmods.dev/badge/skills/albertoarena/claude-laravel-event-sourcing/laravel-spatie-event-sourcing/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.
<a href="https://agentmods.dev/skills/albertoarena/claude-laravel-event-sourcing/laravel-spatie-event-sourcing"><img src="https://agentmods.dev/badge/skills/albertoarena/claude-laravel-event-sourcing/laravel-spatie-event-sourcing.svg" alt="Reviewed on agentmods" width="80" 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.00150 | $0.01560 |
| Opus 5 | $0.00075 | $0.00780 |
| Sonnet 5 | $0.00030 | $0.00312 |
| Haiku 4.5 | $0.00015 | $0.00156 |
Grade A, and why
laravel-spatie-event-sourcing 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 12d 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 — 138 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Laravel Spatie Event Sourcing — Skill
Generate event-sourced domain code for Laravel using spatie/laravel-event-sourcing, following a two-gate workflow: Design first, then implement with tests.
Quick reference
references/design-heuristics.md— Event naming, aggregate boundaries, projector/reactor rules, anti-patternsreferences/adr-template.md— ADR template for Gate 1references/tdd-patterns.md— Pest and PHPUnit test patternsreferences/commands-pattern.md— Command + handler patterns (plain and bus-dispatched)references/spatie-api-cheatsheet.md— Key Spatie ES classes and methodsassets/templates/*.stub— Code generation stubs
Project bootstrap (one-time, automatic)
On first invocation in a project, run scripts/verify-setup.sh from this skill's directory. It checks:
- PHP 8.2+ is installed (required by
spatie/laravel-event-sourcingv7) spatie/laravel-event-sourcingis incomposer.json- The
stored_eventsandsnapshotstables exist (migrations have run) config/event-sourcing.phphas been published- A test framework is installed (Pest preferred, PHPUnit fallback)
If anything is missing, print the single command that fixes it and stop. Do not auto-install packages or run migrations on behalf of the user — they need to confirm first.
If everything passes, check for .claude/event-sourcing.md in the project root. If it doesn't exist, ask the user one configuration question:
"I'll create a project config at
.claude/event-sourcing.md. Two quick choices:
- Command dispatch style: plain handler classes invoked directly, or Laravel's command bus (
Bus::dispatch)?- Test framework: Pest or PHPUnit?"
Write their answers to that file. On future invocations, read it silently and proceed.
The two-gate workflow
This skill operates in two gates with a hard stop between them. The user must approve the design before any code gets written.
Gate 1 — Design (ADR)
Start with domain analysis. Ask 3–5 focused questions (skip any the user already answered):
What ships with it
21 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.
- assets/templates/aggregate.pest.stub 407 B
- assets/templates/aggregate.phpunit.stub 574 B
- assets/templates/aggregate.stub 322 B
- assets/templates/command-bus.stub 288 B
- assets/templates/command-handler-bus.stub 431 B
- assets/templates/command-handler.stub 433 B
- assets/templates/command.stub 220 B
- assets/templates/event.stub 241 B
- assets/templates/projector.pest.stub 1.0 KB
- assets/templates/projector.phpunit.stub 734 B
- assets/templates/projector.stub 386 B
- assets/templates/reactor.pest.stub 557 B
- assets/templates/reactor.phpunit.stub 738 B
- assets/templates/reactor.stub 221 B
- assets/templates/read-model.stub 321 B
- references/adr-template.md 1.8 KB
- references/commands-pattern.md 3.2 KB
- references/design-heuristics.md 5.4 KB
- references/spatie-api-cheatsheet.md 5.3 KB
- references/tdd-patterns.md 6.5 KB
- scripts/verify-setup.sh 3.4 KB runs code
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.
- 12d ago First seen · 138 lines · 150 tokens per session scan A 5ccbb1a643c4
laravel-spatie-event-sourcing is a skill published in the GitHub repository albertoarena/claude-laravel-event-sourcing (6 stars, last pushed 1mo ago), licensed MIT. It adds 150 tokens to every session and 1,560 once invoked, about $0.0007 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 skills, from other repositories
laravel-13-expert
Comprehensive Laravel 13.x expert skill covering the entire framework — installation, configuration, routing, controllers, middleware, Blade views, Eloquent ORM, migrations, queues, jobs, events, mail, notifications, caching, Redis, scheduling, service container, service providers, authentication, authorization, AI…
laravel-architecture-review
Review a Laravel codebase's architecture and design, not just its types. Use when asked to audit a Laravel app, find architectural smells, decide where business logic belongs (controller vs Action vs Service), whether a Repository/DDD/TDD layer is justified, or how to apply SOLID/DRY to a Laravel project. Runs the…
filament-plugin-development
Build and publish custom Filament plugins (Filament is the Laravel admin-panel framework). Use when creating a Filament plugin/package, implementing the Plugin contract, scaffolding from the plugin skeleton, registering assets/resources/pages/render-hooks, making a configurable plugin, testing it, or publishing to…
laravel-upgrade
Upgrade a Laravel application across major versions safely (Laravel 8 -> 9 -> 10 -> 11 -> 12 -> 13), one hop at a time. Use when upgrading Laravel, when a composer update fails after a major bump, when deciding whether to hop versions by hand or pay for Laravel Shift, or when something compiled fine but broke at…
solana-rpc
Expert assistant for Solana JSON-RPC — works with any provider: QuickNode, Helius, Triton, Ankr, Chainstack, or public endpoints. Standard JSON-RPC methods are identical across providers; only the URL differs. Use whenever the user wants raw Solana data: fetch transactions by signature, read account state, get block…
build-me
Implement a solution write-up (typically the markdown file produced by /solve-me) in this Laravel project, following existing project patterns and Laravel best practices. Cuts the work into commits itself, writes the commit plan to docs/build/ .md, and gets the developer's approval before writing any code. Then builds…