Skip to main content
prompt GP ChatGPT

web_capture — Claude Code prompt: what it does, how to install

The web_capture Claude Code prompt lists XHR/fetch responses received by the current tab. It helps inspect data a page loaded through an API.

Apache-2.0 ★ 9,488 updated 2026-11-16

Install into Claude Code · Manually: put the files in place All methods and platforms ↓
.claude/commands/web_capture.md
Open on GitHub

What web_capture does

web_capture lists recent XHR/fetch responses from the current tab without their bodies. Pass an ID to view one response as JSON or text; long bodies are truncated.

Traffic recording begins after the page is first acted on or the prompt is first used. It reads only data the page has already loaded and makes no requests to the site's APIs. If the phone's browser cannot record traffic through DevTools, the prompt fails with devtoolsunavailable.

What it helps with

  • find API responses received by the current tab
  • inspect JSON behind data rendered unclearly with custom fonts
  • read a specific response body by ID

Example prompts for the agent

  • List the XHR/fetch responses received by the current tab.
  • Show the body for response ID 123.
  • Find the JSON behind the data rendered unclearly on this page.

How to install web_capture

Manually: put the files in place

.claude/commands/web_capture.md

Questions about web_capture

How do I install web_capture in Claude Code?

Save the file at .claude/commands/web_capture.md.

What does web_capture do?

It lists XHR/fetch responses received by the current tab and can show a selected response body as JSON or text. Long bodies are truncated.

What does web_capture need to work?

The browser must be able to record network traffic through DevTools. Otherwise, the prompt fails with devtoolsunavailable.

Source text

web_capture.md · Apache-2.0
List the XHR/fetch responses the current tab received (newest {{list_max}}, without bodies), or pass id to get one with its body (JSON or text only, long bodies truncated). Useful when the page shows data loaded from an API: the JSON is often more complete than the screen, and it is where to read numbers the page draws garbled (custom fonts). Only read what the page itself loaded; do not send your own requests to the site's APIs. Recording starts the first time the page is acted on or this tool is used. Fails with devtools_unavailable when this phone's browser cannot record network traffic.

© wangzan101 · Apache-2.0 · wangzan101/Mika

Similar prompts

All prompts for Browser and scraping →
network-request-auditing spencerpauly network-request-auditing is a Claude Code skill that inspects browser network traffic after user actions. It flags failures, slow responses, repeated calls, and suspicious data on API-heavy pages or after networking changes. CX Codex +1 479installs daily-ui-inspiration-capture MengTo daily-ui-inspiration-capture builds a dated UI inspiration bundle with screenshots, video, motion frames, and an AI-builder prompt. Useful for repeatable article-ready captures. CX Codex +1 1,700installs inspect-in-devtools ChromeDevTools inspect-in-devtools is a Claude Code skill that connects an agent to the Chrome DevTools interface. It reveals page targets, reads the current selection, and handles DevTools comment threads. CX Codex +1 119installs web-debug sentimony The web-debug skill tests local web apps with Playwright, captures browser evidence, and helps inspect UI behavior, screenshots, console output, and failed requests. CX Codex +1 4,500installs opencli-adapter-author jackwener opencli-adapter-author is a Claude Code skill for building and improving OpenCLI JS adapters from observed site behavior and browser evidence. It kicks in when a site needs a new command or an existing adapter needs work. CX Codex +1 16,600installs web-shader-extractor lixiaolin94 web-shader-extractor investigates WebGL, WebGPU, Canvas, and shader-like effects from a webpage, then replays them locally. Useful for animated backgrounds and interactive 3D scenes. CX Codex +1 850installs

From the same set132

The whole set →
phone_open_link The phone_open_link Claude Code prompt opens an Android page on the virtual display from a settings action or URI. Request a target page directly instead of navigating through the app. GP ChatGPT ★ 9,488repo stars phone_observe The phone_observe Claude Code prompt reads a phone’s virtual display and its accessibility tree. The agent can locate a control or dialog before tapping it. GP ChatGPT ★ 9,488repo stars phone_collect phone_collect — a prompt for Claude Code and ChatGPT reads text across consecutive Android app screens with local scrolling. It gathers long chat logs, feeds, and lists while merging overlapping lines. GP ChatGPT ★ 9,488repo stars run_command This Claude Code prompt runs shell commands in a Linux sandbox. It can also route calls to the current task’s phone tools through mika phone. GP ChatGPT ★ 9,488repo stars swipe This Claude Code prompt describes swipes between two interface points. It covers page scrolling, carousel gestures, and how to read the action result. GP ChatGPT ★ 9,488repo stars web_navigate web_navigate — a Claude Code prompt for opening HTTP and HTTPS addresses in Mika's built-in browser. Initiates web navigation before screen tools take over. GP ChatGPT ★ 9,488repo stars history_read The history_read Claude Code prompt retrieves details from earlier conversation turns. Use it to resume an interrupted task without collecting the same findings again. GP ChatGPT ★ 9,488repo stars phone_call_dial phone_call_dial — a prompt for Claude Code and ChatGPT dials an explicit cellular number. Speech handling after connection passes to a locally configured Volcengine assistant. GP ChatGPT ★ 9,488repo stars

Project sponsors

Companies that keep this analytics open