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-resourcegit 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-resource)<a href="https://agentmods.dev/skills/leek/filament-agent-rules/filament-resource"><img src="https://agentmods.dev/badge/skills/leek/filament-agent-rules/filament-resource/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-resource"><img src="https://agentmods.dev/badge/skills/leek/filament-agent-rules/filament-resource.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.00046 | $0.00559 |
| Opus 5 | $0.00023 | $0.00280 |
| Sonnet 5 | $0.00009 | $0.00112 |
| Haiku 4.5 | $0.00005 | $0.00056 |
Grade A, and why
filament-resource 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 9d 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 — 57 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Filament Resource Workflow
Use this skill for complete resource work. A resource change usually touches the resource class plus extracted schema, table, page, relation, action, and test files.
Read First
Resolve paths from the current project root, using the active agent filename where installed:
app/Filament/CLAUDE.mdapp/Filament/Resources/CLAUDE.mdapp/Providers/Filament/CLAUDE.md- Then read whichever resource surface applies:
app/Filament/Resources/Schemas/CLAUDE.mdapp/Filament/Resources/Tables/CLAUDE.mdapp/Filament/Resources/Pages/CLAUDE.mdapp/Filament/Resources/RelationManagers/CLAUDE.mdapp/Filament/Actions/CLAUDE.mdtests/Feature/Filament/CLAUDE.md
Before generating code, inspect the target model, casts, relationships, database columns, policies, existing resource conventions, and panel discovery paths.
Build Flow
- Use the project's existing resource layout and artisan generators when they are available.
- Keep the resource class thin. Extract forms to
Schemas/, tables toTables/, and page behavior toPages/. - Bind the model, record title, navigation metadata, global search behavior, Eloquent query customization, and policy-backed authorization explicitly.
- Build forms and infolists as schema component trees. Use fields for input, entries for read-only display, and layout/prime components for structure.
- Build tables with indexed searchable/sortable columns, eager-loaded relations, filters, record actions, toolbar actions, and persisted user state when appropriate.
- Delegate non-trivial UI action work to app-level business actions.
- Add focused Pest + Livewire tests for page rendering, create/edit flows, table behavior, actions, authorization, and relation managers when touched.
Review Checklist
- The class is inside the panel's discovered namespace.
- Required model fields are represented and validated in the form.
- Privileged attributes are not editable unless explicitly intended.
- Dot-notation table columns have eager loading or a safe query strategy.
- Bulk and inline-edit actions are authorized.
- Tests authenticate a user that can access the panel.
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.
- 9d ago First seen · 57 lines · 46 tokens per session scan A df247bd53831
filament-resource is a skill published in the GitHub repository leek/filament-agent-rules (4 stars, last pushed 1mo ago), licensed MIT. It adds 46 tokens to every session and 559 once invoked, about $0.0002 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
django-tdd
Django testing strategies with pytest-django, TDD methodology, factoryboy, mocking, coverage, and testing Django REST Framework APIs.
springboot-tdd
Test-driven development for Spring Boot using JUnit 5, Mockito, MockMvc, Testcontainers, and JaCoCo. Use when adding features, fixing bugs, or refactoring.
ring:running-dev-cycle
Running the backend dev cycle: implements every task in a rolling-wave plan.md (ring:writing-plans format) for a Go/TS service, driving specialist agents through Gate 0 implementation/TDD, Gate 8 parallel review, and Gate 9 validation per epic, elaborating later phases at each phase boundary. Use when starting or…
ring:instrumenting-streaming-events
Instrumenting streaming events: wires lib-streaming event emission end-to-end into a Lerian Go service via a 13-gate cycle (catalog, Builder bootstrap, Emit sites, outbox, HTTP manifest, NoopEmitter fallback, integration and chaos tests), dispatching ring:backend-go under TDD. Consumes the validated…
csharp-dotnet
Use when writing, reviewing, testing, or shipping C# / .NET code — ASP.NET Core APIs (minimal APIs vs controllers), EF Core data access, async correctness, solution layout in .cs/.csproj/.sln. NOT a Java/Spring backend (that is spring-boot), NOT a Node/TypeScript backend (that is nestjs), NOT framework-neutral REST…
nestjs
Use when building or structuring a NestJS backend — feature modules, providers and DI wiring, provider scopes and request-lifecycle order, where to bind guards/pipes/interceptors/filters, and testing with Test.createTestingModule. NOT a bare Express/Fastify service with no DI (that is nodejs), NOT framework-agnostic…