Skip to main content
prompt GP ChatGPT

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

The web_back Claude Code prompt returns the current browser tab to its previous page. If the address stays the same, the agent follows the page’s own back link.

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

What web_back does

The prompt takes the current browser tab back one page. If the address does not change, the agent stops repeating the navigation and follows the page’s own back link instead. To reopen an earlier list, it navigates to that list’s address again, preserving its dates and filters better.

A successful change is marked place_changed, with the new address in effect.web.url. If nothing changes, the result is no_effect; when there is no browsing history, it is no_history.

What it helps with

  • return to the previous page in the current tab
  • follow the page’s back link when browser navigation has no effect
  • reopen a list with its earlier dates and filters

Example prompts for the agent

  • Go back one page in the current tab.
  • If that does not work, follow the page’s own back link.
  • Reopen the previous list with the same dates and filters.

How to install web_back

Manually: put the files in place

.claude/commands/web_back.md

Questions about web_back

How do I install web_back in Claude Code?

Add the file at .claude/commands/web_back.md.

What does web_back do?

It takes the current tab to its previous page. If navigation leaves the address unchanged, the agent follows the page’s back link.

What happens when the browser has no history?

The result is no_history. If navigation makes no change, the result is no_effect.

Source text

web_back.md · Apache-2.0
Go back to the previous page of the current tab (no_history when there is none). If the page does not change, use the page's own back link instead of repeating; to return to an earlier list, opening its address again with web_navigate keeps dates and filters better. effect.kind is place_changed (the new address in effect.web.url) when the page changed, no_effect when nothing changed.

© wangzan101 · Apache-2.0 · wangzan101/Mika

Similar prompts

All prompts for Browser and scraping →

From the same set132

The whole set →
view_image The view_image Claude Code prompt sends an image to a vision model and reports its contents. It runs when a task requires reading text from an image or understanding what the image depicts. GP ChatGPT ★ 9,488repo stars phone_event phone_event — a prompt for Claude Code listens for accessibility window events on a task's virtual display or package notifications. The listener stays active only during the call and ignores past events. GP ChatGPT ★ 9,488repo stars scroll This Claude Code prompt scrolls a page or panel in a chosen direction. Ask it to move up, down, left, or right. GP ChatGPT ★ 9,488repo stars phone_clear_text The phone_clear_text Claude Code prompt clears text from a phone screen’s focused field. It can also target a field by ref and snapshotId. GP ChatGPT ★ 9,488repo stars settings_list The settings_list Claude Code prompt lists Mika settings that can be changed. It runs before settings_set when a user asks to change Mika’s behavior. GP ChatGPT ★ 9,488repo stars run_bundled_script The run_bundled_script Claude Code prompt runs scripts shipped with an app or website entry, or a skill. The agent gets each script’s source and path from knowledge_read or skill_read. GP ChatGPT ★ 9,488repo stars web_search The web_search Claude Code prompt searches through a user-configured endpoint. It runs before opening pages when result titles and snippets are enough to answer the query. GP ChatGPT ★ 9,488repo stars web_read_page web_read_page is a Claude Code prompt that reads the text of a web page. Give it a URL to use a temporary background tab, or leave the URL out to read the current tab. GP ChatGPT ★ 9,488repo stars

Project sponsors

Companies that keep this analytics open