filament-forms

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

A form-building guide for Filament, a Laravel toolkit for building admin panels. It covers fields, layouts, validation, relationship inputs, repeatable sections, and dependent values.

In plain words
What is it for?
Use it when creating, editing, reviewing, or debugging Filament forms in resources, actions, pages, widgets, or shared schema components.
Why use it?
It helps forms match the database, model relationships, project rules, and expected validation behavior instead of becoming inconsistent or unreliable.

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 creating, editing, reviewing, or debugging Filament forms in resources, actions, pages, widgets, or shared schema components.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/leek/filament-agent-rules/filament-forms
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-forms
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-forms

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/leek/filament-agent-rules/filament-forms"><img src="https://agentmods.dev/badge/skills/leek/filament-agent-rules/filament-forms.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 48 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 610 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.00048 $0.00610
Opus 5.5 $0.00019 $0.00244
Sonnet 5.5 $0.00010 $0.00122
Haiku 4.5 $0.00005 $0.00061

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

Security

Grade A, and why

filament-forms 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.

.agents/skills/filament-forms/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 Form Workflow

For form schemas in resources, actions, pages, widgets, or embedded schema components.

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/Resources/Schemas/CLAUDE.md
  3. app/Providers/Filament/CLAUDE.md
  4. app/Filament/Actions/CLAUDE.md when the form lives inside an action
  5. tests/Feature/Filament/CLAUDE.md when tests are expected

Inspect the model casts, migrations, relationships, validation rules, existing global configureUsing() defaults, and any current form layout in nearby resources.

Build Flow

  1. Return a configured Filament\Schemas\Schema from the relevant configure() or form() method.
  2. Organize fields into meaningful sections. Use a 12-column grid when the surrounding project does, size fields to their content, and pair related fields on shared rows.
  3. Choose components from data semantics: enum or finite set to Select, temporal values to date/time pickers, booleans to toggles/checkboxes, paragraphs to Textarea or rich/markdown editors, related records to relationship-aware components.
  4. Mirror model casts and database requirements. Add required(), unique(ignoreRecord: true), numeric/date constraints, and relationship validation where appropriate.
  5. Treat dehydration as the write boundary. Display-only fields use dehydrated(false). Hidden privileged state must not persist accidentally.
  6. For dependent fields, use Livewire state callbacks and reset stale child values when parent choices change.
  7. Prefer reusable schema component classes over duplicated heavy chains.

Avoid

  • Flat full-width field lists.
  • Free-text inputs for finite values.
  • Re-declaring global component defaults.
  • Custom Blade before built-in fields, layout components, prime components, or reusable schema component classes have been exhausted.

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. 19d ago Changed · +1 lines 27e2ef950220
  2. 2mo ago Changed · -59 lines 2c083be3d1c0
  3. 3mo ago First seen · 119 lines · 48 tokens per session scan A 1a600c30afac

Subscribe to this mod's changes

filament-forms is a skill published in the GitHub repository leek/filament-agent-rules (4 stars, last pushed 18d ago), licensed MIT. It adds 48 tokens to every session and 610 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-forms compared with skills from other repositories

filament-forms next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
filament-formsleek/filament-agent-rulesSkill418d agoMITA48Claude Code, Codex
build-teaql-appteaql/teaql-agent-kitSkill2.8k23d agoMITA112Codex
firebaseericrisco/rsc-harnessSkill707yesterdayMITA77Claude Code, Codex
nodejsericrisco/rsc-harnessSkill707yesterdayMITA77Claude Code, Codex
om-system-extensionopen-mercato/open-mercatoSkill2.0ktodayMITA73Claude Code, Codex
backend-builderhashgraph-online/awesome-codex-pluginsSkill1.6ktodayApache-2.0A43Claude Code, Codex
api-contracthashgraph-online/awesome-codex-pluginsSkill1.6ktodayApache-2.0A44Codex