js-reverse-mcp-debugging — Claude Code skill
js-reverse-mcp-debugging points your agent at a live browser through the js-reverse-mcp server: breakpoints, call stacks, request initiators and WebSocket traffic. Useful when you need to take apart someone else's frontend.
no license 215 installs ★ 9 updated 2026-10-09
npx skills add reason-machines/mcp-skills --skill js-reverse-mcp-debugging -a claude-codeWhat js-reverse-mcp-debugging does
The skill carries trigger phrases and step-by-step workflows for the js-reverse-mcp server. Its 21 tools cover script listing, regex search across sources, breakpoints placed on a text fragment inside minified code, paused-state inspection with call stack and scope, and stepping in, over or out. A second group handles traffic: the request list, the JavaScript stack that started a request, and WebSocket messages.
The browser runs headful, and the profile keeps cookies and localStorage across restarts. Anti-detection has two layers. Patchright sits at the CDP protocol level; the --cloak flag adds CloakBrowser with 49 patches in the binary, roughly 200MB downloaded on first launch unless you fetch it ahead with npx cloakbrowser install. Page JS is left alone, so there is no injected hook to give automation away. Two more flags: --isolated for a throwaway profile, --browserUrl to attach to your own Chrome at http://127.0.0.1:9222.
Instructions only, no browser of its own: the skill assumes the server is registered with your MCP client, either through claude mcp add js-reverse npx js-reverse-mcp in Claude or an npx js-reverse-mcp entry in the config. Nothing is callable until that exists. For anti-bot targets (Cloudflare, DataDome, FingerprintJS) the README suggests a second entry with --cloak, kept alongside the plain one and picked per site.
What it helps with
- find the encryption routine inside a minified bundle
- set a breakpoint by code text instead of a line number
- read scope variables while execution is paused
- trace which script fires an XHR or fetch request
- decode the WebSocket frames a page sends
Example prompts for the agent
- Set a breakpoint on the encryption function on this page and show me the arguments when it hits.
- Search the loaded scripts for crypto calls and tell me which one builds this request.
- Capture the WebSocket traffic on this page and walk me through the message format.
How to install js-reverse-mcp-debugging
1Skills CLI (Vercel)
npx skills add reason-machines/mcp-skills --skill js-reverse-mcp-debugging -a claude-code2Manually: put the files in place
~/.claude/skills/js-reverse-mcp-debugging/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/js-reverse-mcp-debugging/
1Skills CLI (Vercel)
npx skills add reason-machines/mcp-skills --skill js-reverse-mcp-debugging -a codex2Manually: put the files in place
.agents/skills/js-reverse-mcp-debugging/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add reason-machines/mcp-skills --skill js-reverse-mcp-debugging -a cursor2Manually: put the files in place
.cursor/skills/js-reverse-mcp-debugging/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install reason-machines/mcp-skills skills/js-reverse-mcp-debugging2Manually: put the files in place
.github/skills/js-reverse-mcp-debugging/SKILL.md1Skills CLI (Vercel)
npx skills add reason-machines/mcp-skills --skill js-reverse-mcp-debugging -a gemini-cli2Platform CLI
gemini skills install https://github.com/reason-machines/mcp-skills --path skills/js-reverse-mcp-debuggingManually: put the files in place
.devin/skills/js-reverse-mcp-debugging/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add reason-machines/mcp-skills --skill js-reverse-mcp-debugging -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about js-reverse-mcp-debugging
How do I install js-reverse-mcp-debugging in Claude Code?
Run npx skills add reason-machines/mcp-skills --skill js-reverse-mcp-debugging -a claude-code. The skill file lands at ~/.claude/skills/js-reverse-mcp-debugging/SKILL.md.
What does js-reverse-mcp-debugging do?
It is an instruction skill: it tells the agent how to drive the js-reverse-mcp server for breakpoints, paused-state inspection, network initiators and WebSocket messages in a page you have open.
Can it attach to a Chrome window I already have open?
Yes. Start Chrome with --remote-debugging-port=9222 and pass --browserUrl http://127.0.0.1:9222 in the server entry.