livewire

livewire is a skill for Claude Code, Codex from event4u-app/agent-config. It costs 43 tokens per session (1,540 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,540 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.01540
Opus 5.5 $0.00017 $0.00616
Sonnet 5.5 $0.00009 $0.00308
Haiku 4.5 $0.00004 $0.00154

Measured 1mo ago against content hash aa110fe7bc55, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 1mo 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 · 150 lines

How it starts

The opening of the file, as written. The whole thing — 150 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 node <skills-root>/corpus-grounding/scripts/ground.mjs 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/.
  4. Control roles. For every control you add, look up its role in the control_roles of agent-config ui:audit (re-run it when the artifact is older than your last UI edit): use the canonical implementation and the siblings' box metrics. Role missing or tied → ask before inventing a control kind; a native control beside an existing primitive needs a stated native_control_reason.

Read the full file on GitHub · 150 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 1mo ago Changed · +1 lines aa110fe7bc55
  2. 1mo ago Changed 6de02d04f182
  3. 3mo 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 (20 stars, last pushed today), licensed MIT. It adds 43 tokens to every session and 1,540 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-09-04.

Related

livewire compared with skills from other repositories

livewire next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
livewireevent4u-app/agent-configSkill20todayMITA43Claude Code, Codex
cqrs-implementationwshobson/agentsSkill43k2d agoMITA35Claude Code
diagnose-backend-bugQoderAI/better-harnessSkill2.5k23d agoMITA87Claude Code, Codex
create-slack-appslackapi/slack-skills-pluginSkill177todayMITA101Claude Code
tech-specsgriddynamics/rosettaSkill384todayApache-2.0A23Claude Code
hunt-xxeadriannoes/awesome-agentic-aiSkill1086d agoMITA31Claude Code, Codex
bitrix-service-locatorbxmaximum/bitrix-framework-skillsSkill822d agoMITA57Claude Code, Codex