filament-tables

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

A workflow guide for Filament tables, which are data tables in Filament PHP applications. It covers table columns, filters, record actions, bulk actions, relationships, persistence, and tests.

In plain words
What is it for?
Use it when creating, editing, reviewing, or debugging Filament resource tables, relation-manager tables, widgets, or Livewire table components.
Why use it?
It helps keep table changes aligned with the project’s existing models, permissions, database support, and local conventions.

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

Good fit Use it when creating, editing, reviewing, or debugging Filament resource tables, relation-manager tables, widgets, or Livewire table components.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/leek/filament-agent-rules/filament-tables"><img src="https://agentmods.dev/badge/skills/leek/filament-agent-rules/filament-tables.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 51 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,214 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.00051 $0.01214
Opus 5 $0.00026 $0.00607
Sonnet 5 $0.00010 $0.00243
Haiku 4.5 $0.00005 $0.00121

Measured 10d ago against content hash 0f1675e08d6e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

filament-tables 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 10d 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-tables/SKILL.md · 144 lines

How it starts

The opening of the file, as written. The whole thing — 144 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Filament Table Workflow

Use this skill for resource tables, relation manager tables, table widgets, and Livewire table components.

Read First

Resolve paths from the current project root:

  1. app/Filament/CLAUDE.md
  2. app/Filament/Resources/Tables/CLAUDE.md
  3. app/Filament/Actions/CLAUDE.md
  4. app/Filament/Resources/CLAUDE.md when the table belongs to a resource
  5. app/Filament/Widgets/CLAUDE.md when the table is a widget
  6. tests/Feature/Filament/CLAUDE.md when tests are expected

Also inspect the model, casts, relationships, indexes, policy, existing getEloquentQuery(), and global table defaults.

Build Flow

  1. Put reusable resource table configuration in app/Filament/Resources/{Models}/Tables/{Models}Table.php.
  2. Return the configured table from a static configure(Table $table): Table method unless the surrounding codebase uses a different established pattern.
  3. Choose columns by admin task, not by dumping every database field.
  4. Only mark columns searchable or sortable when the database can support it.
  5. Use TextColumn::badge() for enum/status chips. Do not use removed or legacy badge column classes.
  6. Eager-load relationships used in dot-notation columns.
  7. Put row-level operations in recordActions() and bulk/header operations in toolbarActions(), headerActions(), or groupedBulkActions() according to scope.
  8. Authorize inline-editable columns and bulk actions explicitly.
  9. Persist filters, sorting, and search when it matches project behavior and does not create shared-account leakage.
  10. Extract heavily configured repeated columns and filters into small Tables/Columns/ or Tables/Filters/ classes.

Tests To Add

  • Page or widget renders successfully.
  • Expected records are visible.
  • Search, sort, and filters behave correctly.
  • Dot-notation columns can render.
  • Row actions, bulk actions, and authorization paths work.

Deep Pattern: Custom Column Choices

First exhaust built-in columns and modifiers:

Read the full file on GitHub · 144 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. 10d ago First seen · 144 lines · 51 tokens per session scan A 0f1675e08d6e

Subscribe to this mod's changes

filament-tables is a skill published in the GitHub repository leek/filament-agent-rules (4 stars, last pushed 1mo ago), licensed MIT. It adds 51 tokens to every session and 1,214 once invoked, about $0.0003 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.