Skip to main content
prompt GP ChatGPT

web_run_site_command — Claude Code prompt: features and setup

The web_run_site_command Claude Code prompt runs a named command for the current site to extract structured data from an open page. Open the target page first.

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_run_site_command.md
Open on GitHub

What web_run_site_command does

The prompt runs a command for the current site by name. Each command is a read-only script described in that site's knowledge; it extracts structured data from the open page and returns JSON. The site's knowledge also lists command names and their arguments.

Execution follows web_evaluate_js rules: scripts can make same-origin GET requests only. The result is capped at {{result_max}} characters. If the site has no command with the requested name, unknown_command returns the available command names.

What it helps with

  • extract structured data from an open page
  • get a site's command output as JSON
  • find out which commands the current site provides

Example prompts for the agent

  • Run the site command that extracts structured data from this page.
  • Execute the site command with these arguments and return its result as JSON.

How to install web_run_site_command

Manually: put the files in place

.claude/commands/web_run_site_command.md

Questions about web_run_site_command

How do I install web_run_site_command in Claude Code?

Add .claude/commands/web_run_site_command.md to the project.

What does web_run_site_command do?

It runs a named command for the current site. The command reads data from the open page and returns JSON.

What restrictions apply to web_run_site_command?

Open the target page first. The script is read-only and can make same-origin GET requests only.

Source text

web_run_site_command.md · Apache-2.0
Run one of the current site's commands by name: a read-only script kept in the site's knowledge that pulls structured data out of the page you are on. The commands and their arguments are listed in that site's knowledge. It runs like web_evaluate_js (real page, read-only, same-origin GET requests only) and returns its result as JSON (at most {{result_max}} characters). Open the page the command is meant for first. unknown_command means the current site has no command by that name; the message lists the ones it has.

© wangzan101 · Apache-2.0 · wangzan101/Mika

Similar prompts

All prompts for Browser and scraping →

From the same set132

The whole set →
settings_set The settings_set Claude Code prompt changes one of Mika’s settings and returns its new value. It runs when a user asks to adjust a setting. GP ChatGPT ★ 9,488repo stars conversation_title The conversation_title Claude Code prompt names a conversation from its first message. It picks out the topic and returns a brief title in the message’s language. GP ChatGPT ★ 9,488repo stars find_visually find_visually — a prompt for Claude Code and ChatGPT that locates a button, icon, or input by sight. It kicks in when the element list misses the target or an app draws its own interface. GP ChatGPT ★ 9,488repo stars web_keep_open The web_keep_open Claude Code prompt keeps the current tab open after a task ends. Use it when a video, course, or audio should keep playing after the agent replies. GP ChatGPT ★ 9,488repo stars press_key press_key — a prompt for Claude Code presses navigation and editing keys on the current screen. Its result describes the interface change and reports a new location when the screen changes. GP ChatGPT ★ 9,488repo stars task_memory_search The task_memory_search prompt for Claude Code finds summaries of earlier tasks across conversations. Search by task wording, then narrow results by app package or start date. GP ChatGPT ★ 9,488repo stars spawn_agent The spawn_agent Claude Code prompt sends a child agent to investigate a bounded question. It returns a short observation; that result alone does not finish the main task. GP ChatGPT ★ 9,488repo stars phone_wait The phone_wait Claude Code prompt waits for text, an activity screen, or a settled phone display. Its Android port responds to accessibility events. GP ChatGPT ★ 9,488repo stars

Project sponsors

Companies that keep this analytics open