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 leek/filament-agent-rules --skill filament-docsgit clone --depth 1 https://github.com/leek/filament-agent-rulesWrote 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/leek/filament-agent-rules/filament-docs)<a href="https://agentmods.dev/skills/leek/filament-agent-rules/filament-docs"><img src="https://agentmods.dev/badge/skills/leek/filament-agent-rules/filament-docs.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.00069 | $0.01028 |
| Opus 5 | $0.00034 | $0.00514 |
| Sonnet 5 | $0.00014 | $0.00206 |
| Haiku 4.5 | $0.00007 | $0.00103 |
Grade A, and why
filament-docs 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 — 105 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Filament Docs And Rule Routing
This repository's canonical product is the directory-scoped rule set. Use this skill to find the smallest relevant slice of that rule set before writing, reviewing, or debugging Filament code.
Resolve The Project Root
Find the current project root from the workspace or nearest Laravel project
marker (artisan, composer.json, or .git). Do not use absolute user home
paths. Resolve every path below from that project root.
When working in a project that has installed these rules for a specific agent, read the same scoped path using the active agent filename if present:
- Codex:
AGENTS.md - Claude:
CLAUDE.md - Gemini:
GEMINI.md - Cursor:
.cursor/rules/*.mdc
If several exist, prefer the file for the agent currently doing the work, then
fall back to CLAUDE.md because that is the canonical authoring filename in
this repo.
Local Rules First
Read only the files relevant to the task:
| Task | Rule files |
|---|---|
| Cross-cutting Filament conventions | app/Filament/CLAUDE.md |
| Resources | app/Filament/Resources/CLAUDE.md |
| Resource pages | app/Filament/Resources/Pages/CLAUDE.md |
| Relation managers | app/Filament/Resources/RelationManagers/CLAUDE.md |
| Forms and infolists | app/Filament/Resources/Schemas/CLAUDE.md |
| Tables | app/Filament/Resources/Tables/CLAUDE.md |
| Actions | app/Filament/Actions/CLAUDE.md |
| Custom pages and dashboards | app/Filament/Pages/CLAUDE.md |
| Widgets | app/Filament/Widgets/CLAUDE.md |
| Panel providers and discovery | app/Providers/Filament/CLAUDE.md |
| Theme CSS | resources/css/filament/CLAUDE.md |
| Tests | tests/Feature/Filament/CLAUDE.md |
Always read the hub (app/Filament/CLAUDE.md) for non-trivial work. It
contains cross-cutting rules such as global defaults, schema composition,
authorization, and the custom Blade escape ladder.
Also check composer.json, composer.lock, or vendor/ for a local Filament
Blueprint install; if present, read and follow its installed guidance alongside
these rules before consulting external docs.
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 · 105 lines · 69 tokens per session scan A feb6084c510b
filament-docs is a skill published in the GitHub repository leek/filament-agent-rules (4 stars, last pushed 28d ago), licensed MIT. It adds 69 tokens to every session and 1,028 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 skills, from other repositories
laravel-patterns
Laravel architecture patterns, routing/controllers, Eloquent ORM, service layers, queues, events, caching, and API resources for production apps.
laravel
Use when building or extending a Laravel 11/12 app — Eloquent models, migrations and relationships, routing with controllers and Form Requests, queues and background jobs, framework-native security (validation, mass-assignment, policies, signed URLs, rate limiting), and Pest/PHPUnit feature tests. NOT pure PHP…
dare-laravel-api
Padrões DARE para APIs REST em Laravel 11 + PHP 8.3 — Strict Types, FormRequests, Services, JsonResources, Eloquent + casts, tratamento global de exceções, testes Feature/Pest, PHPStan/Larastan, Pint.
laravel-specialist
Build and configure Laravel 10+ applications, including creating Eloquent models and relationships, implementing Sanctum authentication, configuring Horizon queues, designing RESTful APIs with API resources, and building reactive interfaces with Livewire. Use when creating Laravel models, setting up queue workers…
php-pro
Use when building PHP applications with modern PHP 8.3+ features, Laravel, or Symfony frameworks. Invokes strict typing, PHPStan level 9, async patterns with Swoole, and PSR standards. Creates controllers, configures middleware, generates migrations, writes PHPUnit/Pest tests, defines typed DTOs and value objects…
laravel-packages
Laravel Filament v4 admin panel, Debugbar development, SEOTools, third-party packages. ALWAYS activate when: working with admin panel, Filament resources, forms, tables, SEO meta tags, debugging. Triggers on: Filament form field, admin CRUD, resource table, action button, widget, Debugbar query log, N+1 detected, SEO…