npx skills add ...
npx skills add akillness/jeo-skills --skill react-grab
Capture exact React element context from a live browser UI and hand it to an AI coding agent as component name, source file path, line number, and HTML. Use when the user wants `react-grab`, element-context copy, component-source lookup from the browser, clipboard-to-agent React debugging, or MCP-backed element selection for React apps. Not for generic browser automation or login/session reuse (`browser-harness`, `playwriter`), broad UI annotation/review (`agentation`), React performance audits (`react-best-practices`), or general design-system work (`design-system`). Triggers on: react-grab, grab element context, copy component to AI, browser component picker, React component inspector, clipboard component source, get element context from browser, grab UI element.
npx skills add akillness/jeo-skills --skill react-grab
Keyword:
react-grab·grab·element contextPoint at a live React UI element, capture the exact component/file/HTML context, and feed it straight into Claude Code, Cursor, Copilot, Codex, Gemini, or an MCP workflow.
react-grab in a React project so agents can copy exact component context from the browserreact-grab setup issues like wrong load point, missing file paths, or empty MCP responsesclaude-code, cursor, codex, gemini, mcp, etc.)Do not use this skill for:
browser-harnessplaywriteragentationreact-best-practicesdesign-systemChoose one primary mode before giving commands:
get_element_context after browser selection.freeze().Use the upstream project as source of truth:
npx grab@latest init is the default install path.package.json currently requires Node.js >=22.If the user’s environment is older than Node 22, say so explicitly before giving the install path.
Use this as the default path unless the user explicitly asks for MCP or plugins:
Then explain the runtime flow:
Clipboard output should include:
If the user needs framework-specific setup, use references/install-and-routing.md.
When the user wants programmatic access from the agent instead of manual paste:
Explain the real flow clearly:
get_element_context.If the user asks how this differs from clipboard flow:
Use references/agent-workflows.md for agent-specific install and routing guidance.
When the user wants custom behavior, automation, or a deeper integration:
references/api.md for full API surfacereferences/agent-workflows.md for practical plugin/MCP patternsCommon primitives to mention:
getElementContext(element)freeze() / unfreeze()openFile(filePath, lineNumber?)registerPlugin(...)Do not dump the full API unless the user asked for the deep path.
If the user wants fixes or teardown:
references/troubleshooting.md for symptom-first triage.Keep react-grab focused on React element context capture from the browser.
Route out when the user is actually asking for:
browser-harness or playwriteragentationreact-best-practicesdesign-system or design-systemAfter classifying the mode, load only the matching support doc:
references/install-and-routing.mdreferences/agent-workflows.mdreferences/troubleshooting.mdreferences/api.mdKeep the main answer short unless the user explicitly asks for the long path.
User: “Set up react-grab in my Next.js app so I can copy a component into Claude Code.”
Response shape:
npx -y grab@latest init as the default path.User: “Install react-grab MCP so the agent can grab the selected button context.”
Response shape:
npx -y grab@latest add mcp.get_element_context.browser-harness / playwriter if needed.User: “Create a react-grab plugin that adds a Jira action to the context menu.”
Response shape:
react-grab as the plugin/API lane.registerPlugin(...) with an action and optional hooks.references/api.md for the full hook surface.User: “grab init keeps failing on my machine.”
Response shape:
references/troubleshooting.md for overlay/load/MCP/path failures.npx -y grab@latest init unless the user explicitly needs manual framework setup.react-grab absorb adjacent skills.install.sh and add-agent.sh