web_observe — Claude Code prompt: what it does, how to install
The web_observe Claude Code prompt inspects the open web page and lists its visible elements. Run it to identify something on the current tab or check the page’s details.
Apache-2.0 ★ 9,488 updated 2026-11-16
.claude/commands/web_observe.mdWhat web_observe does
The prompt returns the site name, URL, page title, tab ID, and a snapshot of visible elements with their references. It adds a screenshot when the element list is hard to read or most items lack labels.
If the target is unclear or missing, request {{screenshot}} or {{find_visually}}. Use an element reference with {{tap}} instead of guessing its coordinates. To read the entire page, call web_read_page.
What it helps with
- check the URL and title of the open page
- identify elements visible in the current tab
- get a screenshot when element labels are hard to read
- read the full page with
web_read_page
Example prompts for the agent
- Inspect the open page and list its visible elements.
- Find the sign-in button on the current page.
- Read the entire page.
How to install web_observe
Manually: put the files in place
.claude/commands/web_observe.mdHow to use
Paste the text at the start of a chat or into project instructions
Questions about web_observe
How do I install web_observe in Claude Code?
Save the prompt file at .claude/commands/web_observe.md.
What does web_observe do?
It reports details about the current tab and provides a snapshot of visible page elements. A screenshot is included when the element list is difficult to read.
What information does web_observe return?
It returns the site name, URL, page title, tab ID, and references for visible elements. Use web_read_page to read the whole page.
Source text
web_observe.md · Apache-2.0
Look at the current web page. Returns the site (currentSite), url, title and tabId, and a fresh element snapshot (snapshotId + elements) of what is in view. A screenshot is added when the element list is clearly unreadable or mostly unlabeled. If the target is missing or ambiguous, request {{screenshot}} or {{find_visually}}. Prefer tapping a ref from this result with {{tap}} over guessing coordinates; to read the whole page, use web_read_page.
© wangzan101 · Apache-2.0 · wangzan101/Mika