e2e-filament-multitenant

e2e-filament-multitenant is a skill for Claude Code from specsnl/agent-specs. It costs 181 tokens per session (2,392 once invoked), scanned A, original, MIT.

A guide for writing Playwright end-to-end tests for Laravel applications using Filament, including applications with separate workspaces and user roles. End-to-end tests check the application through its user interface.

In plain words
What is it for?
Use it to discover panels, roles, login forms, resources, and tenant boundaries, then build tests that check each role's behavior and separation between workspaces.
Why use it?
It prevents tests from being based on guessed page labels, login flows, permissions, or workspace rules, helping verify both permitted actions and blocked actions.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the laravel plugin — 4 skills, 1 command shipped together

Good fit Use it to discover panels, roles, login forms, resources, and tenant boundaries, then build tests that check each role's behavior and separation between workspaces.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/specsnl/agent-specs/e2e-filament-multitenant
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 specsnl/agent-specs --skill e2e-filament-multitenant
Clone the repo
git clone --depth 1 https://github.com/specsnl/agent-specs

Made for: Claude Code.

Or install laravel, the plugin that ships this one along with the rest of its 4 skills, 1 command.

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 e2e-filament-multitenant

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/specsnl/agent-specs/e2e-filament-multitenant"><img src="https://agentmods.dev/badge/skills/specsnl/agent-specs/e2e-filament-multitenant.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 181 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,392 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.00181 $0.02392
Opus 5 $0.00090 $0.01196
Sonnet 5 $0.00036 $0.00478
Haiku 4.5 $0.00018 $0.00239

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

Security

Grade A, and why

e2e-filament-multitenant 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 4d 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.

plugins/laravel/skills/e2e-filament-multitenant/SKILL.md · 173 lines

How it starts

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

E2E Testing — Laravel + Filament (multi-tenant, per-role)

Build a Playwright E2E suite that proves each role can do what it should and cannot do what it shouldn't, across every Filament panel — including tenant isolation. Work phase by phase; do not jump to writing specs before the discovery and infrastructure phases are done.


Phase 1 — Discover the app's shape

Before writing any test, map the surface from source (never guess labels):

  1. Panels & roles — read app/Providers/Filament/*PanelProvider.php to list panels, their path prefixes, and whether they are tenant-scoped (->tenant(...)). Read the roles/permissions source of truth (e.g. database/permissions.yaml + the RolesAndPermissionsSeeder), and the seeders for the test users/workspaces.
  2. Login forms — there are usually two shapes:
    • Standard Filament login (email + password) for the admin panel.
    • Custom tenant login (e.g. a workspace Select + email + password) for tenant-scoped panels. Read the custom Login page class to learn the exact field label and any post-auth membership check (and its error message).
  3. Resources & actions per panel — for each role's resource list page and ViewRecord/EditRecord page, read getHeaderActions() and the resource's canCreate()/canEdit()/canViewAny() overrides. Record the literal ->label() strings, notification titles (Notification::make()->title(...)), form field labels, and the ->visible(fn () => $state->is(...)) guards. These literals are the contract your assertions check.
  4. State machine (if using spatie/laravel-model-states) — note the state order and which transition each action performs. Watch for cross-role gates: a single role often cannot drive the whole lifecycle because the next action is only visible in a state that a different role produces. Plan to test transitions in isolation, not as one long chain.

Summarize findings as a per-role table before proceeding.

Read the full file on GitHub · 173 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. 4d ago Changed · +2 lines 459af8e14a79
  2. 9d ago First seen · 171 lines · 181 tokens per session scan A cb188b6b0c03

Subscribe to this mod's changes

e2e-filament-multitenant is a skill published in the GitHub repository specsnl/agent-specs (2 stars, last pushed today), licensed MIT. It adds 181 tokens to every session and 2,392 once invoked, about $0.0009 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.

Related

Other skills, from other repositories

dogfood

Systematically explore and test a mobile app on iOS/Android with agent-device to find bugs, UX issues, and other problems. Use when asked to dogfood, QA, exploratory test, find issues, bug hunt, or test this app on mobile.

callstack/agent-device · 55 tokens

test-warp-ui

Guides testing Warp UI features and changes using the computer use tool. Use this skill only when computer-use testing was requested (explicit request or accepted offer) and the computeruse tool is available to the agent. Covers launching Warp and verifying UI behavior.

warpdotdev/warp · 55 tokens

test-electron-app

Drive the real running PostHog Electron app (live tRPC, workspace-server, real data) over CDP with agent-browser. Connect to the running app on port 9222, test desktop changes against a local Django stack, snapshot the accessibility tree, inspect network requests, and screenshot only when explicitly asked. Use when…

PostHog/posthog-foss · 112 tokens

pyats-dynamic-test

Generate and execute deterministic pyATS aetest validation scripts - interface state, OSPF neighbors, BGP paths, ping matrices, and custom compliance tests. Use when writing a network test, validating post-change state, running pass/fail checks, or building automated regression tests.

automateyournetwork/netclaw · 61 tokens

test-loop

Plan, generate, and heal an executable E2E test suite from approved acceptance criteria (web and mobile).

HoangNguyen0403/agent-skills-standard · 25 tokens

playwright-cli

Automates browser interactions for testing and validating your own web applications using playwright-cli. Use when you need terminal-first browser control for navigation, form filling, screenshots, tracing, bound browser sessions, debugging, or generating Playwright test code. Only use against applications you own or…

testdino-hq/playwright-skill · 64 tokens