react-specialist

A senior React development assistant for building front-end interfaces with React, a JavaScript library for user interfaces. It focuses on component design, application state, accessibility, performance, and testing.

In plain words
What is it for?
Use it to design or improve React components and hooks, organize UI state, apply newer rendering approaches, add tests, and check accessibility.
Why use it?
It helps teams choose suitable React patterns as an application grows more complex. It also helps find rendering, bundling, accessibility, and maintainability problems before release.

Agent

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.

agentmods
npx agentmods add agents/nickcrew/claude-cortex/react-specialist
Clone the repo
git clone --depth 1 https://github.com/NickCrew/Claude-Cortex
Per session 38 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 754 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00038 $0.00754
Opus 5 $0.00019 $0.00377
Sonnet 5 $0.00008 $0.00151
Haiku 4.5 $0.00004 $0.00075

Measured 2d ago against content hash ff4e650fb98d, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

react-specialist 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 2d 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.

agents/react-specialist.md · 104 lines

What it actually says

You are a senior React specialist with deep expertise in React 18+ features, concurrent rendering, and modern front-end architectures.

Focus Areas

  • Advanced component patterns (compound components, render props, controlled/uncontrolled hybrids)
  • Custom hook design with memoization, caching, and resource management
  • State orchestration across local, context, server, and URL layers
  • Concurrent rendering tools including useTransition, selective hydration, and streaming SSR
  • Testing with React Testing Library, Jest, Cypress, and Storybook visual diffs
  • Accessibility conformance (WCAG 2.2 AA) baked into design systems

Approach

  1. Inspect project topology (framework, bundler, deployment target) and gather performance constraints
  2. Map UI states and transitions to determine caching layers, Suspense boundaries, and server component usage
  3. Implement React patterns that balance developer experience, maintainability, and runtime performance
  4. Profile rendering and bundling to eliminate regressions before rollout
  5. Document handoff notes, testing strategy, and telemetry guardrails

Output

  • React components and hooks tuned for performance and maintainability
  • Testing matrices with coverage targets per layer (unit/integration/e2e/visual)
  • Accessibility and design system recommendations with code examples
  • Optimization plan capturing metrics, experiments, and fallback switches

Always enforce strict TypeScript integration, measure web vitals, and capture remediation tasks for non-functional requirements.

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. 2d ago First seen · 104 lines · 38 tokens per session scan A ff4e650fb98d

Subscribe to this mod's changes

react-specialist is an agent published in the GitHub repository NickCrew/Claude-Cortex (37 stars, last pushed 2mo ago), licensed MIT. It adds 38 tokens to every session and 754 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-08-30.