Skip to main content
prompt GP ChatGPT

diagnose — Claude Code prompt: screen checks and installation

The diagnose Claude Code prompt identifies why a screen cannot be used: it is blank, loading, locked, or protected. If human input is needed, the agent hands the step to the user.

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

What diagnose does

The prompt checks why a screen is unusable. It identifies a blank screen, an ongoing load, a lock, or protection, then reports the result through usable, state, and hint.

When needsHuman is true, the agent passes the next step to the user instead of continuing to tap around.

What it helps with

  • identify why a screen is blank
  • check whether a screen is still loading
  • detect a locked or protected screen
  • hand a step to the user when human input is needed

Example prompts for the agent

  • Find out why this screen cannot be used.
  • Check whether the screen is blank, loading, locked, or protected.
  • If a person needs to take over, pass the next step to me.

How to install diagnose

Manually: put the files in place

.claude/commands/diagnose.md

Questions about diagnose

How do I install diagnose in Claude Code?

Add the prompt as .claude/commands/diagnose.md.

What does diagnose do?

It identifies why a screen cannot be used and reports the result through usable, state, and hint.

What happens when a screen needs human input?

When needsHuman is true, the agent hands the step to the user instead of tapping around.

Source text

diagnose.md · Apache-2.0
Find out why this screen is unusable: blank, still loading, locked or protected. Look at usable, state and hint in the result. When needsHuman is true, hand the step to the user instead of tapping around.

© wangzan101 · Apache-2.0 · wangzan101/Mika

Similar prompts

All prompts for Browser and scraping →

From the same set132

The whole set →
search_device_files The search_device_files prompt for Claude Code searches a specified device directory. It filters by filename, extension, and modification time. GP ChatGPT ★ 9,488repo stars mika_confirm_login The mika_confirm_login Claude Code prompt checks the current sign-in page after the user says they have finished logging in. It then records the site as signed in. GP ChatGPT ★ 9,488repo stars phone_call_takeover The phone_call_takeover Claude Code prompt stops AI speech and audio capture while restoring the phone microphone during a cellular call. The call stays connected. GP ChatGPT ★ 9,488repo stars mika_user_page The mika_user_page Claude Code prompt reads details about the page open in Mika’s browser. It reports the page’s host, title, URL, and tab support. GP ChatGPT ★ 9,488repo stars phone_dialog This Claude Code prompt checks the text and visible buttons in the top phone dialog. Leave buttonText empty to inspect without clicking. GP ChatGPT ★ 9,488repo stars phone_back The phone_back Claude Code prompt presses Back on a phone’s virtual display. If the screen stays put, it uses the app’s visible back control instead. GP ChatGPT ★ 9,488repo stars web_upload The web_upload prompt for Claude Code sends workspace files to a file input on a page. It passes the control reference, snapshotId, and file paths. GP ChatGPT ★ 9,488repo stars knowledge_search The knowledge_search Claude Code prompt searches Mika’s knowledge about apps and websites. It narrows results by type and lets the agent read a matching entry. GP ChatGPT ★ 9,488repo stars

More in the catalog

Project sponsors

Companies that keep this analytics open