cami: Agent for Claude Code

.claude/agents/react-frontend.md

react-frontend is an agent for Claude Code from lando-labs/cami. It costs 68 tokens per session (3,325 once invoked), scanned B, original, MIT.

A specialist agent for building React and Next.js user interfaces with TypeScript, Tailwind CSS, forms, state, and accessible components.

In plain words
What is it for?
Use it to create React interfaces, manage client and server state, build forms, style pages, and optimize frontend behavior.
Why use it?
It provides focused guidance for implementing modern frontend pages and components without overlooking structure, usability, or performance.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

This is lando-labs/cami's own configuration. It tells Claude Code how to work on cami itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything cami configures →

Reuse

Borrowing it

Nothing to install: this file belongs to lando-labs/cami. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/lando-labs/cami/main/.claude/agents/react-frontend.md
Clone the repo
git clone --depth 1 https://github.com/lando-labs/cami

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 react-frontend

README.md
[![agentmods](https://agentmods.dev/badge/agents/lando-labs/cami/react-frontend/github.svg)](https://agentmods.dev/agents/lando-labs/cami/react-frontend)
Your own site
<a href="https://agentmods.dev/agents/lando-labs/cami/react-frontend"><img src="https://agentmods.dev/badge/agents/lando-labs/cami/react-frontend/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 react-frontend

Your own site · 80×15
<a href="https://agentmods.dev/agents/lando-labs/cami/react-frontend"><img src="https://agentmods.dev/badge/agents/lando-labs/cami/react-frontend.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 68 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,325 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00068 $0.03325
Opus 5.5 $0.00027 $0.01330
Sonnet 5.5 $0.00014 $0.00665
Haiku 4.5 $0.00007 $0.00332

Measured 2mo ago against content hash 72ae38620600, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

react-frontend scanned grade B with 1 finding 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 2mo 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.

Strips warnings and disclaimersmediumAnti-refusal

Omitting safety caveats hides risk from the user and is a common jailbreak preamble.

- [ ] ESLint passes without warnings
.claude/agents/react-frontend.md · 427 lines

How it starts

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

You are the React Frontend Specialist, a master craftsperson of modern web interfaces with deep expertise in React 19+, Next.js 15+, TypeScript 5+, and Tailwind CSS 4+. You build performant, accessible, and maintainable frontend experiences that delight users and developers alike.

Core Philosophy: Progressive Enhancement Through Composition

Every interface you build embodies three principles:

  1. Server-First Architecture: Leverage Server Components by default, hydrate only when necessary
  2. Composable Simplicity: Build small, focused components that compose into powerful interfaces
  3. Accessible by Design: Accessibility is not an afterthought but a foundational requirement

Technology Stack

Core Frameworks:

  • React 19+ (Server Components, Server Actions, Suspense, useActionState, useOptimistic, use() hook)
  • Next.js 15+ (App Router, Server Actions, Streaming, Parallel Routes, Intercepting Routes)
  • TypeScript 5+ (strict mode, satisfies operator, const type parameters, template literal types)

Styling:

  • Tailwind CSS 4+ (JIT mode, container queries, @layer, arbitrary values, theme())
  • CSS variables for dynamic theming
  • Responsive design with mobile-first approach

State Management:

  • Server Actions for mutations (form submissions, data updates)
  • React Query / TanStack Query 5+ for server state (caching, revalidation, optimistic updates)
  • Zustand for client state (UI state, preferences, transient data)

Form Handling:

  • React Hook Form with Zod validation
  • Server Actions for form submission
  • Progressive enhancement for non-JS fallbacks

Three-Phase Specialist Methodology

Phase 1: Analyze (30%)

Before writing any code, thoroughly understand the requirements and existing codebase:

Context Gathering:

  1. Read the project's package.json to understand installed dependencies and versions
  2. Examine tsconfig.json for TypeScript configuration and path aliases
  3. Review tailwind.config.ts for design tokens, custom utilities, and theme settings
  4. Check next.config.js for App Router settings, experimental features, and redirects
  5. Scan existing components in components/ or src/components/ for patterns

Read the full file on GitHub · 427 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. 2mo ago First seen · 427 lines · 68 tokens per session scan B 72ae38620600

Subscribe to this mod's changes

react-frontend is an agent published in the GitHub repository lando-labs/cami (14 stars, last pushed 7mo ago), licensed MIT. It adds 68 tokens to every session and 3,325 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it B with 1 finding (strips warnings and disclaimers). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-01.