react-expert

react-expert is an agent for Claude Code from GoogilyBoogily/googilyboogily-claude-power-tools. It costs 36 tokens per session (1,242 once invoked), scanned A, original, MIT.

A specialist for React, a JavaScript library used to build user interfaces. It covers components, hooks, state, Server Components, and hydration issues.

In plain words
What is it for?
Use it to investigate hook errors, state-management problems, component composition, Server Component boundaries, and hydration mismatches.
Why use it?
It helps identify common React-specific causes of broken or inconsistent interfaces. It also points problems in other areas, such as styling or testing, to more suitable specialists.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the react-agents plugin — 2 agents shipped together

Good fit Use it to investigate hook errors, state-management problems, component composition, Server Component boundaries, and hydration mismatches.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/googilyboogily/googilyboogily-claude-power-tools/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.

Clone the repo
git clone --depth 1 https://github.com/GoogilyBoogily/googilyboogily-claude-power-tools

Made for: Claude Code.

Or install react-agents, the plugin that ships this one along with the rest of its 2 agents.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/googilyboogily/googilyboogily-claude-power-tools/react-expert"><img src="https://agentmods.dev/badge/agents/googilyboogily/googilyboogily-claude-power-tools/react-expert.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,242 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.00036 $0.01242
Opus 5 $0.00018 $0.00621
Sonnet 5 $0.00007 $0.00248
Haiku 4.5 $0.00004 $0.00124

Measured 9d ago against content hash 2d57061d94c4, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

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 9d 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.

plugins/react-agents/agents/react-expert.md · 97 lines

How it starts

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

React Expert

React 18/19 specialist: hooks, component patterns, state management, Server Components.

Step 0: Route or Stay

Evaluate FIRST. If any condition matches, STOP and hand off:

Condition Route to Examples
Performance profiling, render flame graphs, bundle analysis react-performance-expert "Why is this component slow?", React Profiler
Next.js App Router, Server Actions, middleware, routing nextjs-expert next.config.js, app/ directory, RSC data fetching
CSS/styling architecture (Tailwind, CSS modules, styled-components) css-styling-expert layout shifts, style conflicts
Accessibility (ARIA, screen readers, focus management) accessibility-expert missing aria-labels, keyboard nav
Unit/integration testing of React components testing-expert React Testing Library, mocking hooks
E2E testing with Playwright e2e-playwright-expert page interactions, visual regression
TypeScript type errors in components type-expert generic component props, type inference

Stay here for hook errors, state management, component composition, Server Component boundaries, hydration issues, and React-specific error messages.

React 18+ Patterns That Matter

Server Components vs Client Components

  • Server Components (default in App Router): no hooks, no browser APIs, no event handlers. They can await directly.
  • Add 'use client' only when you need interactivity, hooks, or browser APIs.
  • Never import a Server Component into a Client Component. Pass Server Components as children instead.
  • Data fetching belongs in Server Components; mutations use Server Actions ('use server').

Hooks -- Common Errors and Fixes

"Invalid hook call" Cause: hook called conditionally, in a loop, or in a plain function (not a component/custom hook). Fix: move the hook to the top level of the component. Extract conditional logic below the hook call.

"Missing dependency" / stale closures Cause: useEffect/useCallback dependency array omits a value used inside. Fix: add the missing dep. If that causes re-runs, stabilize the dep with useRef or useMemo, or restructure so the dep is not needed.

Read the full file on GitHub · 97 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. 9d ago First seen · 97 lines · 36 tokens per session scan A 2d57061d94c4

Subscribe to this mod's changes

react-expert is an agent published in the GitHub repository GoogilyBoogily/googilyboogily-claude-power-tools (2 stars, last pushed 4mo ago), licensed MIT. It adds 36 tokens to every session and 1,242 once invoked, about $0.0002 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-09-03.

Related

Other agents, from other repositories

Mobile App Builder

Specialized mobile application developer with expertise in native iOS/Android development and cross-platform frameworks.

SHAdd0WTAka/Zen-Ai-Pentest · 22 tokens

Frontend Developer

Expert frontend developer specializing in modern web technologies, React/Vue/Angular frameworks, UI implementation, and performance optimization.

SHAdd0WTAka/Zen-Ai-Pentest · 25 tokens

react18-class-surgeon

Class component migration specialist for React 16/17 → 18.3.1. Migrates all three unsafe lifecycle methods with correct semantic replacements (not just UNSAFE prefix). Migrates legacy context to createContext, string refs to React.createRef(), findDOMNode to direct refs, and ReactDOM.render to createRoot. Uses memory…

github/awesome-copilot · 81 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.

github/awesome-copilot · 61 tokens

genpage-edit-planner

Plans edits to an existing generative page. Reads the downloaded page artifacts (source, original prompt, config), analyzes the current implementation against the user's edit intent, presents an edit plan via plan mode, and writes genpage-edit-plan.md for the orchestrator to execute. Called by the genpage skill — not…

microsoft/power-platform-skills · 73 tokens

react-portfolio-engineer

React portfolio/gallery sites for creatives: React 18+, Next.js App Router, image optimization.

notque/vexjoy-agent · 25 tokens