livewire

livewire is a skill for Claude Code, Codex from event4u-app/agent-config. It costs 43 tokens per session (1,455 once invoked), scanned A, original, MIT.

Implementation guidance for Livewire, a Laravel tool for building web interfaces with server-managed reactive components.

In plain words
What is it for?
Creating or editing Livewire components, reactive state, events, lifecycle hooks, and Blade views.
Why use it?
It helps keep component state, events, lifecycle behaviour, and view structure organised while building or fixing Livewire interfaces.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is [`design-intelligence`](../design-intelligence/SKILL.md)..

Good fit Creating or editing Livewire components, reactive state, events, lifecycle hooks, and Blade views.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/event4u-app/agent-config
agentmods
npx agentmods add skills/event4u-app/agent-config/livewire

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 livewire

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/event4u-app/agent-config/livewire"><img src="https://agentmods.dev/badge/skills/event4u-app/agent-config/livewire.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,455 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.00043 $0.01455
Opus 5 $0.00022 $0.00727
Sonnet 5 $0.00009 $0.00291
Haiku 4.5 $0.00004 $0.00145

Measured 8d ago against content hash 51948462c2dd, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

livewire 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 8d 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.

src/skills/livewire/SKILL.md · 149 lines

How it starts

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

livewire

Grounded stack guidance: pull idiomatic Blade/UI Do/Don't + docs URLs via ./scripts-run <skills-root>/corpus-grounding/scripts/ground search --manifest <skills-root>/design-intelligence/data/manifest.json --stack laravel "<topic>" (UI-scoped corpus). See design-intelligence.

Positioning — dispatched, not standalone

livewire is the apply-step executor for the Livewire stack. It is invoked by directives/ui/apply.ts once the design brief is locked, and revisited by review.ts / polish.ts during the design-review loop. It does not own the flow, does not drive the audit, and does not lock the design.

Concern Owner
Audit + token inventory (mandatory pre-step) existing-ui-audit
Design brief (layout / states / microcopy) directives/ui/design.ts
Universal design heuristics fe-design
Static Blade partials inside the view blade-ui
Flux primitives inside the view flux

When to use

Cite this skill when:

  • state.stack.frontend == "livewire" and directives/ui/apply.ts dispatches to this skill
  • Editing or creating Livewire components — reactive state, forms, tables, real-time updates

Do NOT use when:

  • Static Blade views with no interactivity (use blade-ui skill)
  • Flux UI primitives (use flux skill — livewire composes Flux internally)
  • Driving the full UI flow yourself — that is the directives/ui/ orchestrator

Procedure: Create a Livewire component

Step 0: Inspect

  1. Detect Livewire version — composer.json for livewire/livewire.
    • v3: #[Layout], #[Title], property attributes.
    • v2: $layout, $listeners, method-based hooks.
  2. Check existing components — app/Livewire/ or app/Http/Livewire/.
  3. Check views — resources/views/livewire/.

Read the full file on GitHub · 149 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. 8d ago First seen · 149 lines · 43 tokens per session scan A 51948462c2dd

Subscribe to this mod's changes

livewire is a skill published in the GitHub repository event4u-app/agent-config (10 stars, last pushed today), licensed MIT. It adds 43 tokens to every session and 1,455 once invoked, about $0.0002 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-09-04.

Related

Other skills, from other repositories

devlab-contract-web-server

A guide for agreeing on how a separate frontend and backend communicate through APIs. An API contract defines field types, optional values, data formatting, error codes, and which configuration belongs on each side.

seed-forge/harness-ai-kit · 119 tokens

fec-data-fetching

A frontend guide for handling data that comes from a server, including typed requests, caching, refreshing, pagination, and updates. Server state means data owned by an API rather than by a page’s local controls.

bovinphang/frontend-craft · 76 tokens

Appsmith Open Source Internal Tools and Admin Panel Builder

Appsmith is an open-source platform for building internal tools, dashboards, and admin panels on top of databases and APIs. It is well suited to operational workflows where agents or developers need a fast way to stand up interfaces for support, ops, analytics, or back-office tasks.

agentskillexchange/skills · 66 tokens

audit-fe-api

Audit frontend API calls against backend implementation for contract alignment and network shape. Use when "API audit", "FE-BE contract", or "review frontend API integration". Live 4xx/5xx reproduction → debug-fe-be-integration.

kensaurus/cursor-kenji · 52 tokens

backend-realtime

Implement real-time features using WebSockets, Supabase Realtime, Server-Sent Events, and live data. Use when user wants "real-time", "live updates", "WebSocket", "notifications", "chat", "collaborative", "presence", "live data", or "instant sync".

kensaurus/cursor-kenji · 65 tokens

api-integration

When connecting a component to a REST API, handling loading/error states, or implementing optimistic updates.

sawrus/agent-guides · 0 tokens