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-actionsgit 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-actions)<a href="https://agentmods.dev/skills/leek/filament-agent-rules/filament-actions"><img src="https://agentmods.dev/badge/skills/leek/filament-agent-rules/filament-actions/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-actions"><img src="https://agentmods.dev/badge/skills/leek/filament-agent-rules/filament-actions.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.00050 | $0.00577 |
| Opus 5.5 | $0.00020 | $0.00231 |
| Sonnet 5.5 | $0.00010 | $0.00115 |
| Haiku 4.5 | $0.00005 | $0.00058 |
Grade A, and why
filament-actions 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 20d 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 — 61 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Filament Action Workflow
For UI actions rendered by Filament, not domain actions under app/Actions/; a
Filament action should call domain logic, not contain it.
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:
app/Filament/CLAUDE.mdapp/Filament/Actions/CLAUDE.mdapp/Filament/Resources/Tables/CLAUDE.mdfor table actionsapp/Filament/Resources/Schemas/CLAUDE.mdfor modal schemastests/Feature/Filament/CLAUDE.mdwhen tests are expected
Check global action defaults in service providers before adding modal, color, slide-over, icon, or confirmation settings locally.
Build Flow
- Identify the action surface:
- page header action
- table header action
- table record action
- toolbar or bulk action
- schema action
- notification action
- Use
Filament\Actions\*imports. - Use
schema([...])orsteps([...])for action modal input. - Add
requiresConfirmation()for destructive or irreversible actions. - Set visibility and authorization from policies or explicit abilities.
- Delegate non-trivial work to an app-level action/service.
- Add success and failure notifications for work that changes state or can fail.
- Chunk or queue bulk work that can touch many records.
- Extract the action class only when it is reused or too large inline.
Review Checklist
- The action has the right scope for the data it needs.
- The UI does not show unauthorized actions.
- Modal input is validated by the schema.
- Bulk actions are authorized and do not process huge selections in one request.
- Tests call the action and cover validation/error paths where meaningful.
Reuse, modals, and notifications
Read app/Filament/Actions/CLAUDE.md → "Reusable across surfaces",
"Modal icon + color", and "Notification with follow-up action" for the
canonical examples. Shared actions follow that rule's extraction threshold.
Notification event receivers must be mounted, resolve scoped records, and
authorize the requested operation.
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.
- 20d ago Changed · +1 lines 62c51de49da1
- 2mo ago Changed · -50 lines 8cfbb6389f76
- 3mo ago First seen · 110 lines · 50 tokens per session scan A daf74b1d27f6
filament-actions is a skill published in the GitHub repository leek/filament-agent-rules (4 stars, last pushed 19d ago), licensed MIT. It adds 50 tokens to every session and 577 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-actions compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| filament-actionsleek/filament-agent-rules | Skill | 4 | 19d ago | MIT | A | 50 | 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 |
| gitnexushashgraph-online/awesome-codex-plugins | Skill | 1.6k | yesterday | Apache-2.0 | A | 58 | Codex |
| establishing-project-contextGanyuanRan/Aegis | Skill | 1.5k | today | MIT | A | 45 | Claude Code |
| animateericrisco/rsc-harness | Skill | 707 | 2d ago | MIT | A | 75 | Claude Code, Codex |
| gamedev-shadersericrisco/rsc-harness | Skill | 707 | 2d ago | MIT | A | 102 | Claude Code, Codex |