New advertisers: 50% off your first month with code FIRSTMONTHSee slots

Inspection and profiling CLI that lets agents debug a running React or React Native app's components.

skills.sh installs
2.7K
GitHub stars
251
last updated
Aug 21, 2026
View on GitHub

What it does

  • Covers runtime inspection of the component tree, props, state, and hooks, plus render-performance profiling and comparison
  • Includes get tree, get component, find, and errors for inspection, and profile start, stop, slow, rerenders, timeline, export, and diff for profiling
  • Labels every component with a stable reference like @c5 and warns that labels reset after reloads or remounts
  • Designed for debugging re-renders and slow UIs, with a headed browser required when driven through agent-browser

Install

$ npx -y skills add callstackincubator/agent-react-devtools --skill react-devtools -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

agent-react-devtools

CLI that connects to a running React or React Native app via the React DevTools protocol and exposes the component tree, props, state, hooks, and profiling data in a token-efficient format.

Core Workflow

  1. Ensure connection — check agent-react-devtools status. If the daemon is not running, start it with agent-react-devtools start. Use agent-react-devtools wait --connected to block until a React app connects.
  2. Inspect — get the component tree, search for components, inspect props/state/hooks.
  3. Profile — start profiling, trigger the interaction (or ask the user to), stop profiling, analyze results.
  4. Act — use the data to fix the bug, optimize performance, or explain what's happening.

Essential Commands

Daemon

agent-react-devtools start              # Start daemon (auto-starts on first command)
agent-react-devtools stop               # Stop daemon
agent-react-devtools status             # Check connection, component count, last event
agent-react-devtools wait --connected   # Block until a React app connects
agent-react-devtools wait --component App # Block until a component appears

Details

Repository
github.com/callstackincubator/agent-react-devtools
Categories
Debugging, Frontend & UI Code
First seen
May 16, 2026

Similar to React Devtools

More Debugging