wirekit AGENTS.md

Project instructions for AI coding assistants working with WireKit, a free UI component library for Laravel Livewire. They explain how to find the library’s available components, properties, slots, and icons.

In plain words
What is it for?
Use them when generating Blade templates, CSS, or PHP for a project that uses WireKit. They help inspect components and icons before writing code.
Why use it?
They reduce errors caused by guessing the library’s API or using the wrong component syntax. The instructions point to version-matched project commands and reference data.

Instructions file for CodexOpenCode

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.

agentmods
npx agentmods add instructions/pushery/wirekit/agents-md
Clone the repo
git clone --depth 1 https://github.com/pushery/wirekit

Made for: Codex, OpenCode.

Per session 721 This file is loaded in full into every session.
When invoked 721 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
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 $0.00721 $0.00721
Opus 5 $0.00360 $0.00360
Sonnet 5 $0.00144 $0.00144
Haiku 4.5 $0.00072 $0.00072

Measured yesterday against content hash 3ea3407a6d89, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

wirekit AGENTS.md 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 yesterday.

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.md · 54 lines

How it starts

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

WireKit — guidance for AI coding assistants

WireKit is a free, MIT-licensed UI component library for Laravel Livewire (pushery/wirekit, namespace Pushery\WireKit, component prefix <x-wirekit::*>). If you are an AI coding assistant generating Blade, CSS, or PHP for a project that depends on WireKit, read this first — it is the tool-neutral entry point, discoverable without a Cursor-specific config.

Discover the API before authoring — do not guess

Run these from the project root for authoritative, version-matched data instead of grepping vendor/:

php artisan wirekit:list                  # every component, grouped by category
php artisan wirekit:show <component>      # props, slots, sub-components, docs URL
php artisan wirekit:icons                 # every icon alias, grouped by preset
php artisan wirekit:export-json --pretty  # full machine-readable component manifest

php artisan wirekit:install also writes a .wirekit-schema.json manifest to the project root — read it for zero-configuration autocomplete. For an MCP-native editor, the WireKit MCP server exposes the same catalog as live tools.

Core conventions

  • Components use the double-colon anonymous-namespace syntax — <x-wirekit::button>, never a single colon.
  • card is a frame with no intrinsic padding — put content inside <x-wirekit::card.body> (or card.header / card.footer).
  • Color comes from the Intent × Surface variant system plus the --*-wk-* design tokens. Never hardcode colors, never use Tailwind palette classes (gray-*, zinc-*), and never use the dark: prefix inside WireKit markup — tokens auto-switch under the .dark class.
  • Spacing/rhythm comes from stack / row / grid / section plus their gap prop (the prop is gap, not space). Components carry no outer margins, so do not hand-roll space-y-* / mb-*.
  • For a signed-in dashboard, compose the app-shell + sidebar + header + main system. navbar is a separate, alternative top-nav shell with its own mobile menu — do not nest it inside the app-shell header.
  • Icons use <x-wirekit::icon name="..." size="..." /> — never class="h-N w-N". To put an icon inside a button or link, use the iconLeft / iconRight slots — button has NO icon prop (a stray icon="…" renders nothing and leaks a dead attribute). icon IS a prop on ~20 other components (e.g. sidebar.item), so don't carry the attribute form over to button / badge.

Read the full file on GitHub · 54 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. yesterday First seen · 54 lines · 721 tokens per session scan A 3ea3407a6d89

Subscribe to this mod's changes

wirekit AGENTS.md is an instructions file published in the GitHub repository pushery/wirekit (10 stars, last pushed yesterday), licensed MIT. It adds 721 tokens to every session, about $0.0036 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.