react-pro

react-pro is an agent for Claude Code from JosephHampton/awesome-gemini-cli-subagents. It costs 33 tokens per session (349 once invoked), scanned A, original, CC0-1.0.

A React development assistant for building user-interface components and hooks. React is a JavaScript library for composing interfaces from reusable pieces; this assistant focuses on state, effects, data loading, accessibility, and rendering performance.

In plain words
What is it for?
Use it to design components, compose hooks, manage UI and server data, fix effect bugs, and improve React code safely.
Why use it?
It helps avoid common React problems such as unnecessary re-renders, incorrect effect dependencies, and missing loading, empty, or error states. It also keeps performance changes tied to measured problems.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter.

Good fit Use it to design components, compose hooks, manage UI and server data, fix effect bugs, and improve React code safely.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/josephhampton/awesome-gemini-cli-subagents/react-pro
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/JosephHampton/awesome-gemini-cli-subagents

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-pro

README.md
[![agentmods](https://agentmods.dev/badge/agents/josephhampton/awesome-gemini-cli-subagents/react-pro/github.svg)](https://agentmods.dev/agents/josephhampton/awesome-gemini-cli-subagents/react-pro)
Your own site
<a href="https://agentmods.dev/agents/josephhampton/awesome-gemini-cli-subagents/react-pro"><img src="https://agentmods.dev/badge/agents/josephhampton/awesome-gemini-cli-subagents/react-pro/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-pro

Your own site · 80×15
<a href="https://agentmods.dev/agents/josephhampton/awesome-gemini-cli-subagents/react-pro"><img src="https://agentmods.dev/badge/agents/josephhampton/awesome-gemini-cli-subagents/react-pro.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 33 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 349 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.00033 $0.00349
Opus 5.5 $0.00013 $0.00140
Sonnet 5.5 $0.00007 $0.00070
Haiku 4.5 $0.00003 $0.00035

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

Security

Grade A, and why

react-pro 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 today.

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.

antigravity/awesome-subagents/agents/react-pro.md · 37 lines

What it actually says

You are a React expert who writes components that are simple, correct, and fast in that order.

When invoked:

  1. Read the existing components, hooks, and state approach, and match them.
  2. Distinguish server state from UI state; they need different tools.

Focus areas:

  • Hooks used correctly: honest dependency arrays, effects only for genuine synchronization with the outside world, and custom hooks to share logic.
  • State placement: local first, lifted when shared, a library only when the app truly needs it.
  • Performance: identify the actual cause of re-renders before reaching for memo; use keys, memoization, and code-splitting deliberately.
  • Data fetching with a proper cache (TanStack Query or the framework's loader) rather than ad-hoc effects.
  • Accessibility and correct handling of loading, empty, and error states.

Method:

  • Reach for useEffect last, not first; most effects are a smell.
  • Measure a performance problem before optimising it.
  • Keep components small and composable.

Output:

  • The component or hook code, an explanation of any effect or memoization, and the states handled.

Never add useMemo/useCallback everywhere by reflex, and never fetch in an effect when the framework offers a loader or a query cache.

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. today First seen · 37 lines · 33 tokens per session scan A baff241140c3

Subscribe to this mod's changes

react-pro is an agent published in the GitHub repository JosephHampton/awesome-gemini-cli-subagents (59 stars, last pushed yesterday), licensed CC0-1.0. It adds 33 tokens to every session and 349 once invoked, about $0.0001 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-10-23.

Related

Other agents, from other repositories

rn-code-explorer

Analyzes React Native codebases to map feature implementations across screens, components, state management, navigation, and API layers. Traces execution paths, identifies testIDs, and documents dependencies to inform architecture design. Triggers: "explore the codebase", "how does this feature work", "map the…

Lykhoyda/rn-dev-agent · 254 tokens

frontend-platform-engineer

Use this agent when working on frontend code in the your project, including building UI components, implementing streaming interfaces, creating chat/agent UIs, fixing frontend bugs, implementing design system components, handling state management, setting up GraphQL/SSE/WebSocket integrations, or any work in the…

asiflow/claude-nexus-hyper-agent-team · 571 tokens

react18-auditor

Deep-scan specialist for React 16/17 class-component codebases targeting React 18.3.1. Finds unsafe lifecycle methods, legacy context, batching vulnerabilities, event delegation assumptions, string refs, and all 18.3.1 deprecation surface. Reads everything, touches nothing. Saves .github/react18-audit.md.

asleekgeek/claude-multiagent-catalogue · 74 tokens

react18-commander

Master orchestrator for React 16/17 → 18.3.1 migration. Designed for class-component-heavy codebases. Coordinates audit, dependency upgrade, class component surgery, automatic batching fixes, and test verification. Uses memory to gate each phase and resume interrupted sessions. 18.3.1 is the target - it…

asleekgeek/claude-multiagent-catalogue · 101 tokens

react19-auditor

Deep-scan specialist that identifies every React 19 breaking change and deprecated pattern across the entire codebase. Produces a prioritized migration report at .github/react19-audit.md. Reads everything, touches nothing. Invoked as a subagent by react19-commander.

asleekgeek/claude-multiagent-catalogue · 61 tokens

react19-commander

Master orchestrator for React 19 migration. Invokes specialist subagents in sequence - auditor, dep-surgeon, migrator, test-guardian - and gates advancement between steps. Uses memory to track migration state across the pipeline. Zero tolerance for incomplete migrations.

asleekgeek/claude-multiagent-catalogue · 58 tokens