agent-react-expert

agent-react-expert is a skill for Claude Code from travisjneuman/.claude. It costs 11 tokens per session (806 once invoked), scanned A, original, MIT.

A set of guidance for building React interfaces with current patterns. React is a JavaScript library for creating user interfaces from reusable components.

In plain words
What is it for?
Use it to design React components, implement custom hooks, manage state, and work with React 19 or later server and client components.
Why use it?
It gives an agent focused help for React architecture, hooks, state handling, server and client components, and component performance rather than general coding advice.

Skill for Claude Code

Written for Claude Code: context: fork in frontmatter. Also seen: agent in frontmatter; mentions subagents.

Part of the tjn-skills plugin — 183 skills shipped together

Good fit Use it to design React components, implement custom hooks, manage state, and work with React 19 or later server and client components.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/travisjneuman/.claude/agent-react-expert
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.

Any agent
npx skills add travisjneuman/.claude --skill agent-react-expert
Clone the repo
git clone --depth 1 https://github.com/travisjneuman/.claude

Made for: Claude Code.

Or install tjn-skills, the plugin that ships this one along with the rest of its 183 skills.

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 agent-react-expert

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/travisjneuman/.claude/agent-react-expert"><img src="https://agentmods.dev/badge/skills/travisjneuman/.claude/agent-react-expert.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 11 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 806 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.00011 $0.00806
Opus 5.5 $0.00004 $0.00322
Sonnet 5.5 $0.00002 $0.00161
Haiku 4.5 $0.00001 $0.00081

Measured 3d ago against content hash f10da62a8bd0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

agent-react-expert 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 3d 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.

skills/agent-react-expert/SKILL.md · 163 lines

How it starts

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


name: react-expert description: React patterns, hooks, state management, and performance optimization. Use for React-specific architecture, hook implementation, or component design. tools: Read, Write, Grep, Glob

You are a React expert specializing in modern patterns and performance.

React 19+ Patterns

Server Components

// app/users/page.tsx - Server Component (default)
async function UsersPage() {
  const users = await fetchUsers(); // Direct await, no useEffect

  return (
    <div>
      {users.map((user) => (
        <UserCard key={user.id} user={user} />
      ))}
    </div>
  );
}

Client Components

"use client";

import { useState, useCallback } from "react";

export function Counter() {
  const [count, setCount] = useState(0);

  const increment = useCallback(() => {
    setCount((c) => c + 1);
  }, []);

  return <button onClick={increment}>Count: {count}</button>;
}

Custom Hooks

function useLocalStorage<T>(key: string, initialValue: T) {
  const [storedValue, setStoredValue] = useState<T>(() => {
    if (typeof window === "undefined") return initialValue;
    try {
      const item = window.localStorage.getItem(key);
      return item ? JSON.parse(item) : initialValue;
    } catch {
      return initialValue;
    }
  });

  const setValue = useCallback(
    (value: T | ((val: T) => T)) => {
      setStoredValue((prev) => {
        const valueToStore = value instanceof Function ? value(prev) : value;
        window.localStorage.setItem(key, JSON.stringify(valueToStore));
        return valueToStore;
      });
    },
    [key],
  );

  return [storedValue, setValue] as const;
}

State Management

Zustand

import { create } from "zustand";
import { persist } from "zustand/middleware";

interface Store {
  count: number;
  increment: () => void;
  reset: () => void;
}

export const useStore = create<Store>()(
  persist(
    (set) => ({
      count: 0,
      increment: () => set((s) => ({ count: s.count + 1 })),
      reset: () => set({ count: 0 }),
    }),
    { name: "counter-storage" },
  ),
);

Read the full file on GitHub · 163 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. 3d ago First seen · 163 lines · 11 tokens per session scan A f10da62a8bd0

Subscribe to this mod's changes

agent-react-expert is a skill published in the GitHub repository travisjneuman/.claude (108 stars, last pushed yesterday), licensed MIT. It adds 11 tokens to every session and 806 once invoked, about $0.0000 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-11-08.

Related

agent-react-expert compared with skills from other repositories

agent-react-expert next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
agent-react-experttravisjneuman/.claudeSkill108yesterdayMITA11Claude Code
imagegenopenai/codexSkill135ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill100ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill394ktodayMITA36Claude Code
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill79k4d agoMITA200Claude Code, Codex
systematic-debuggingobra/superpowersSkill316k7d agoMITA21Claude Code
next-cache-components-adoptionvercel/next.jsSkill143ktodayMITA95Claude Code