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 usrrname/cursorrules --skill laravelgit clone --depth 1 https://github.com/usrrname/cursorrulesWrote 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/usrrname/cursorrules/laravel)<a href="https://agentmods.dev/skills/usrrname/cursorrules/laravel"><img src="https://agentmods.dev/badge/skills/usrrname/cursorrules/laravel/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/usrrname/cursorrules/laravel"><img src="https://agentmods.dev/badge/skills/usrrname/cursorrules/laravel.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.00008 | $0.00372 |
| Opus 5.5 | $0.00003 | $0.00149 |
| Sonnet 5.5 | $0.00002 | $0.00074 |
| Haiku 4.5 | $0.00001 | $0.00037 |
Grade A, and why
laravel 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.
What it actually says
Laravel Skill
Build robust PHP applications with Laravel framework.
When to Use
- Creating Laravel applications
- Building APIs with Laravel
- Writing Eloquent models
- Implementing authentication
Critical Rules
Architecture
- Follow MVC pattern
- Use Service classes for business logic
- Implement Repository pattern for data access
- Use Form Request classes for validation
- Keep controllers thin, models rich
Eloquent ORM
- Use eager loading to avoid N+1 queries
- Define relationships explicitly
- Use accessors/mutators sparingly
- Leverage query scopes
- Use factories for testing
Security
- Use Laravel's authentication system
- Hash passwords with bcrypt
- Use CSRF protection on forms
- Sanitize user inputs
- Use authorization gates/policies
Code Style
- Follow PSR-12 coding standards
- Use type hints
- Leverage Laravel's helper functions
- Write docblocks for complex methods
- Use meaningful variable names
Examples
Good
class UserController extends Controller
{
public function index(Request $request): JsonResponse
{
$users = User::with('posts')
->active()
->paginate(20);
return response()->json($users);
}
}
Bad
// N+1 query problem
$users = User::all();
foreach ($users as $user) {
echo $user->posts->count(); // Query in loop
}
Related
/mysql- Database patterns/typescript- For API type definitions
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.
- 1mo ago First seen · 81 lines · 8 tokens per session scan A c79c8874172a
laravel is a skill published in the GitHub repository usrrname/cursorrules (11 stars, last pushed 6mo ago), licensed ISC. It adds 8 tokens to every session and 372 once invoked, about $0.0000 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-31.
Other skills, from other repositories
laravel-expert
Laravel & PHP Development Instructions for GitHub Copilot.
php-laravel-codestyle
Custom Instructions: PHP 8+ & Laravel Architecture Expert.
bitrix-console-commands
Bitrix CLI bitrix.php — make: generators (module, controller, tablet, service, event, message, agent), orm:annotate, messenger:consume, own Symfony Console commands in module .settings.php. Use when scaffolding code or writing CLI/cron jobs.
laravel
Writes Laravel PHP — Eloquent, Artisan controllers, FormRequests, jobs, events, policies, providers. For Symfony / Doctrine use symfony-workflow. For framework-free PHP use php-coder.
laravel-api-endpoint
Use when creating a new Laravel API endpoint — Controller, FormRequest, Resource, route, Policy, OpenAPI annotations — versioned route layout, single-action invoke controllers.
laravel-dto
Use when creating a Laravel/PHP DTO with the SimpleDto base class and attribute mapping. For DTOs in other stacks, use the stack-native skill (TypeScript, Python, Rust, Go).