Skip to main content
prompt GP ChatGPT

view_past_screens — Claude Code prompt for past screens

view_past_screens — a prompt for Claude Code and ChatGPT that retrieves screens read earlier in the current task. It helps the agent revisit an earlier interface state before acting.

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

What view_past_screens does

The prompt retrieves previously read screens from the current task by their screenshotId. A request can include up to 5 IDs; each result gives the app, the step number, and element text, or the screenshot itself when the agent can view images.

Only the latest {{keep}} screens are retained. They show an earlier state, so the screen must be read again before taking action. In Claude Code, place the prompt file at .claude/commands/view_past_screens.md.

What it helps with

  • return to a screen read in an earlier step
  • compare element text across past screens
  • check an earlier interface state before acting

Example prompts for the agent

  • Show me the screen I read in the previous step.
  • Retrieve the past screens for these screenshotId values so I can compare them.

How to install view_past_screens

Manually: put the files in place

.claude/commands/view_past_screens.md

Questions about view_past_screens

How do I install view_past_screens in Claude Code?

Place the prompt file at .claude/commands/view_past_screens.md.

What does view_past_screens do?

It retrieves screens read earlier in the current task using their screenshotId. Each result includes the app and step number, plus element text or the image itself.

How many screens can I request at once?

Pass up to 5 screenshotId values in ids. Only the latest {{keep}} screens are retained.

Source text

view_past_screens.md · Apache-2.0
See an earlier screen of this task again, whichever screen it was on. Every screen read gives a screenshotId; pass up to 5 in ids. Only the last {{keep}} are kept. For each one you get its app, its step (the step number of the call that read it, the same as "Step N" in the folded summary of earlier steps) and its element text, or the screenshot itself when you can see images. They show the past, not the present: read the screen again before you act.

© wangzan101 · Apache-2.0 · wangzan101/Mika

Similar prompts

Prompts catalog →

From the same set132

The whole set →
phone_list_apps phone_list_apps — a prompt for Claude Code and ChatGPT that retrieves installed mobile apps as package names and labels. Handles profile clones and app restrictions directly. GP ChatGPT ★ 9,488repo stars view_user_screen The view_user_screen Claude Code prompt looks up a screen shared by the user. It returns details from the captured image and can answer questions about visual elements. GP ChatGPT ★ 9,488repo stars mika_status The mika_status Claude Code prompt reads Mika’s current state and configuration. Use it to check the app version, available features, or what Mika is working on. GP ChatGPT ★ 9,488repo stars web_observe 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. GP ChatGPT ★ 9,488repo stars mika_open_screen The mika_open_screen Claude Code prompt opens a selected screen in Mika, such as settings, memory, plans, or the browser. It responds to requests to view or change something in the app. GP ChatGPT ★ 9,488repo stars phone_call_answer The phone_call_answer Claude Code prompt asks a locally configured Volcengine AI assistant to answer the cellular call that is ringing now. It checks the call state and current call_id first. GP ChatGPT ★ 9,488repo stars batch This Claude Code prompt groups known interface actions into one batch. It adds wait conditions for loading steps and checks newly revealed fields before continuing. GP ChatGPT ★ 9,488repo stars 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

Project sponsors

Companies that keep this analytics open