filament-actions

filament-actions is a skill for Claude Code, Codex from leek/filament-agent-rules. It costs 50 tokens per session (577 once invoked), scanned A, original, MIT.

An action-building guide for Filament, a Laravel toolkit for building admin panels. It covers buttons and operations in pages, tables, bulk selections, modals, imports, exports, and notifications.

In plain words
What is it for?
Use it when adding or reviewing page actions, table actions, bulk actions, modal workflows, import or export actions, and action authorization.
Why use it?
It helps state-changing operations handle confirmation, validation, permissions, success messages, and failure messages consistently.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions CLAUDE.md; installed under .agents/ (shared by several agents); mentions AGENTS.md.

Good fit Use it when adding or reviewing page actions, table actions, bulk actions, modal workflows, import or export actions, and action authorization.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/leek/filament-agent-rules/filament-actions
Install

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.

Any agent
npx skills add leek/filament-agent-rules --skill filament-actions
Clone the repo
git clone --depth 1 https://github.com/leek/filament-agent-rules

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for filament-actions

README.md
[![agentmods](https://agentmods.dev/badge/skills/leek/filament-agent-rules/filament-actions/github.svg)](https://agentmods.dev/skills/leek/filament-agent-rules/filament-actions)
Your own site
<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.

agentmods 80×15 button for filament-actions

Your own site · 80×15
<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>
Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 577 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 20d ago against content hash 62c51de49da1, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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.

.agents/skills/filament-actions/SKILL.md · 61 lines

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:

  1. app/Filament/CLAUDE.md
  2. app/Filament/Actions/CLAUDE.md
  3. app/Filament/Resources/Tables/CLAUDE.md for table actions
  4. app/Filament/Resources/Schemas/CLAUDE.md for modal schemas
  5. tests/Feature/Filament/CLAUDE.md when tests are expected

Check global action defaults in service providers before adding modal, color, slide-over, icon, or confirmation settings locally.

Build Flow

  1. Identify the action surface:
    • page header action
    • table header action
    • table record action
    • toolbar or bulk action
    • schema action
    • notification action
  2. Use Filament\Actions\* imports.
  3. Use schema([...]) or steps([...]) for action modal input.
  4. Add requiresConfirmation() for destructive or irreversible actions.
  5. Set visibility and authorization from policies or explicit abilities.
  6. Delegate non-trivial work to an app-level action/service.
  7. Add success and failure notifications for work that changes state or can fail.
  8. Chunk or queue bulk work that can touch many records.
  9. 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.

Read the full file on GitHub · 61 lines

Changes

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.

  1. 20d ago Changed · +1 lines 62c51de49da1
  2. 2mo ago Changed · -50 lines 8cfbb6389f76
  3. 3mo ago First seen · 110 lines · 50 tokens per session scan A daf74b1d27f6

Subscribe to this mod's changes

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.

Related

filament-actions compared with skills from other repositories

filament-actions next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
filament-actionsleek/filament-agent-rulesSkill419d agoMITA50Claude Code, Codex
refocusingmvschwarz/openrigSkill9.0ktodayApache-2.0A59Claude Code
rulesyncdyoshikawa/rulesyncSkill1.7ktodayMITA64Claude Code, Codex
gitnexushashgraph-online/awesome-codex-pluginsSkill1.6kyesterdayApache-2.0A58Codex
establishing-project-contextGanyuanRan/AegisSkill1.5ktodayMITA45Claude Code
animateericrisco/rsc-harnessSkill7072d agoMITA75Claude Code, Codex
gamedev-shadersericrisco/rsc-harnessSkill7072d agoMITA102Claude Code, Codex