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-testinggit 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-testing)<a href="https://agentmods.dev/skills/leek/filament-agent-rules/filament-testing"><img src="https://agentmods.dev/badge/skills/leek/filament-agent-rules/filament-testing/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-testing"><img src="https://agentmods.dev/badge/skills/leek/filament-agent-rules/filament-testing.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.00045 | $0.00553 |
| Opus 5.5 | $0.00018 | $0.00221 |
| Sonnet 5.5 | $0.00009 | $0.00111 |
| Haiku 4.5 | $0.00005 | $0.00055 |
Grade A, and why
filament-testing 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 19d 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 Testing Workflow
For focused Pest + Livewire feature coverage of Filament admin surfaces.
Read First
Resolve paths from the current project root. Where the rules were installed for
another agent, the same paths end in AGENTS.md, GEMINI.md, .cursorrules,
.windsurfrules or .clinerules instead of CLAUDE.md:
tests/Feature/Filament/CLAUDE.mdapp/Filament/CLAUDE.md- The rule file for the surface under test:
app/Filament/Resources/CLAUDE.mdapp/Filament/Resources/Schemas/CLAUDE.mdapp/Filament/Resources/Tables/CLAUDE.mdapp/Filament/Actions/CLAUDE.mdapp/Filament/Widgets/CLAUDE.mdapp/Filament/Resources/RelationManagers/CLAUDE.md
Inspect existing test style, factories, panel access rules, policies, and database refresh conventions before adding tests.
Build Flow
- Authenticate a user that passes the panel access check in setup.
- Add the lowest-cost render test for every page, relation manager, or widget touched.
- For forms, test create/edit success, required validation, unique rules with current-record ignore behavior, relationship fields, and conditional state.
- For tables, test visible records, search, sort, filters, important columns, dot-notation rendering, row actions, and bulk actions.
- For actions, test success, validation failures, visibility/authorization, redirects/downloads, and resulting database state.
- For authorization, test both allowed and forbidden users when the behavior is security relevant.
- Keep tests targeted. Do not snapshot whole rendered pages.
Review Checklist
- Successful saves assert no form/action errors.
- Factories create all related data needed by fields, filters, and columns.
- Assertions check database state after mutations.
- Tests cover the regression risk introduced by the change, not unrelated framework behavior.
Helper reference
Read tests/Feature/Filament/CLAUDE.md for action helper signatures,
validation assertions, and deferred-filter examples. Use helpers supported
by the project's installed Filament version and assert persisted outcomes.
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.
- 19d ago Changed · +1 lines c24678fe5f80
- 2mo ago Changed · -11 lines b1ac552ec8d7
- 3mo ago First seen · 67 lines · 45 tokens per session scan A b4f93cf993ae
filament-testing is a skill published in the GitHub repository leek/filament-agent-rules (4 stars, last pushed 18d ago), licensed MIT. It adds 45 tokens to every session and 553 once invoked, about $0.0002 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.
filament-testing compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| filament-testingleek/filament-agent-rules | Skill | 4 | 18d ago | MIT | A | 45 | Claude Code, Codex |
| refocusingmvschwarz/openrig | Skill | 9.0k | today | Apache-2.0 | A | 59 | Claude Code |
| rulesyncdyoshikawa/rulesync | Skill | 1.7k | today | MIT | A | 64 | Claude Code, Codex |
| establishing-project-contextGanyuanRan/Aegis | Skill | 1.5k | yesterday | MIT | A | 45 | Claude Code |
| gitnexushashgraph-online/awesome-codex-plugins | Skill | 1.6k | today | Apache-2.0 | A | 58 | Codex |
| animateericrisco/rsc-harness | Skill | 707 | yesterday | MIT | A | 75 | Claude Code, Codex |
| gamedev-shadersericrisco/rsc-harness | Skill | 707 | yesterday | MIT | A | 102 | Claude Code, Codex |