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/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/leek/filament-agent-rules/filament-docs"><img src="https://agentmods.dev/badge/skills/leek/filament-agent-rules/filament-docs.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.00069 | $0.00824 |
| Opus 5.5 | $0.00028 | $0.00330 |
| Sonnet 5.5 | $0.00014 | $0.00165 |
| Haiku 4.5 | $0.00007 | $0.00082 |
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 23d 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 — 77 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 (apply-agent-rules installation):
.cursorrules
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 |
| Clusters and clustered resources/pages | app/Filament/Clusters/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.
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.
- 23d ago Changed · -28 lines 64b6a07d6506
- 1mo 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 19d ago), licensed MIT. It adds 69 tokens to every session and 824 once invoked, about $0.0003 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-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…
llamaindex-development
Expert guidance for LlamaIndex development including RAG applications, vector stores, document processing, query engines, and building production AI applications.
laravel-idioms
Laravel framework patterns: Eloquent ORM relationships, N+1 query prevention, Form Request validation, Service layer architecture, and Pest/PHPUnit testing. Use when building or reviewing Laravel web apps and APIs. Pair with php-idioms.
drupal-development
Expert guidance for Drupal 10 module development with PHP 8+, SOLID principles, and Drupal coding standards.
laravel-development
Expert guidance for Laravel PHP development following best practices, SOLID principles, and Laravel conventions.