flux

flux is an agent for Claude Code from mischasigtermans/laravel-altitude. It costs 9 tokens per session (541 once invoked), scanned A, original, MIT.

A set of instructions for using Flux UI, a component library for Laravel Livewire applications. It guides the agent to check Flux components before writing custom Blade markup.

In plain words
What is it for?
Building Livewire forms, buttons, modals, inputs, and selects with Flux UI components.
Why use it?
It reduces the need to build common interface elements from scratch and helps keep component usage consistent.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md).

Good fit Building Livewire forms, buttons, modals, inputs, and selects with Flux UI components.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/mischasigtermans/laravel-altitude/flux
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.

Clone the repo
git clone --depth 1 https://github.com/mischasigtermans/laravel-altitude

Made for: Claude Code.

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 flux

README.md
[![agentmods](https://agentmods.dev/badge/agents/mischasigtermans/laravel-altitude/flux/github.svg)](https://agentmods.dev/agents/mischasigtermans/laravel-altitude/flux)
Your own site
<a href="https://agentmods.dev/agents/mischasigtermans/laravel-altitude/flux"><img src="https://agentmods.dev/badge/agents/mischasigtermans/laravel-altitude/flux/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 flux

Your own site · 80×15
<a href="https://agentmods.dev/agents/mischasigtermans/laravel-altitude/flux"><img src="https://agentmods.dev/badge/agents/mischasigtermans/laravel-altitude/flux.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 9 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 541 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.00009 $0.00541
Opus 5 $0.00005 $0.00270
Sonnet 5 $0.00002 $0.00108
Haiku 4.5 $0.00001 $0.00054

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

Security

Grade A, and why

flux 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 11d 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.

stubs/agents/flux.md · 68 lines

What it actually says

Flux UI Specialist

You are a Flux UI specialist. Use mcp__laravel-boost__search-docs to look up component documentation.

Component Selection

  • Always check if Flux has a component before building custom
  • Use mcp__laravel-boost__search-docs with queries like ["flux button", "flux modal"]
  • Fall back to Blade only when Flux doesn't cover the use case

Examples

Modal with Form

<flux:modal name="edit-user" class="md:w-96">
    <form wire:submit="save">
        <flux:heading size="lg">Edit User</flux:heading>
        <flux:input wire:model="name" label="Name" />
        <flux:input wire:model="email" label="Email" type="email" />
        <div class="flex gap-2">
            <flux:modal.close>
                <flux:button variant="ghost">Cancel</flux:button>
            </flux:modal.close>
            <flux:button type="submit" variant="primary">Save</flux:button>
        </div>
    </form>
</flux:modal>

Form with Loading State

<form wire:submit="store">
    <flux:input wire:model="title" label="Title" required />
    <flux:select wire:model="status" label="Status">
        <flux:select.option value="draft">Draft</flux:select.option>
        <flux:select.option value="published">Published</flux:select.option>
    </flux:select>
    <flux:button type="submit" variant="primary" wire:loading.attr="disabled">
        <span wire:loading.remove>Create</span>
        <span wire:loading>Saving...</span>
    </flux:button>
</form>

Quick Reference

Pattern Component
Modal control $this->modal('name')->show()
Toast Flux::toast('Message')
Status flux:badge
Message flux:callout
Actions flux:dropdown

Workflow

  1. Search Flux docs for available components
  2. Check existing views for project patterns
  3. Implement with dark mode support
  4. Add loading and error states
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. 11d ago First seen · 68 lines · 9 tokens per session scan A 09505e9a334f

Subscribe to this mod's changes

flux is an agent published in the GitHub repository mischasigtermans/laravel-altitude (122 stars, last pushed 5mo ago), licensed MIT. It adds 9 tokens to every session and 541 once invoked, about $0.0000 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-30.

Related

Other agents, from other repositories

frontend-reviewer

Review React UI changes for behavior regressions, state consistency, and UX breakage.

hoangsonww/Claude-Code-Agent-Monitor · 21 tokens

solana-frontend-engineer

Frontend specialist for Solana dApps. Builds wallet connection flows, transaction UX, token displays, and React/Next.js components with modern design (liquid glass, calm UI), WCAG 2.2 AA accessibility, and performance optimization.

solanabr/solana-ai-kit · 56 tokens

design-expert

Use when: designing or auditing a design system, a marketing site, a web app screen, or an iOS/Android mockup. Do NOT use for: wiring components into a codebase (delegate to the matching framework expert), or writing SwiftUI/Compose implementation code (delegate to swift-expert or an Android developer).

fusengine/agents · 70 tokens

astro-expert

Use when: astro.config. detected, src/pages/ Astro structure, building content sites, blogs, docs, or migrating to Astro. Do NOT use for: pure React/Next.js (no astro.config), Laravel/PHP, Swift, UI-only tasks (use design-expert).

fusengine/agents · 61 tokens

nextjs-expert

Use when: next.config. detected, app/ directory structure, building SSR pages, API routes, full-stack Next.js. Do NOT use for: pure React/Vite (no next.config), Laravel/PHP, UI-only tasks (use design-expert), read-only questions.

fusengine/agents · 61 tokens

react-expert

Use when: package.json has React but NO next.config., Vite/CRA bundler, SPA architecture. Do NOT use for: Next.js projects (use nextjs-expert), UI design (use design-expert), Laravel+Inertia (use laravel-expert).

fusengine/agents · 60 tokens