Skip to main content
prompt GP ChatGPT

handle_obstacle — Claude Code prompt: what it does and how to install

The handle_obstacle prompt for Claude Code and ChatGPT identifies obstacles on the current page or app. It gives a next-step hint for popups, sign-in screens, verification, access limits, or payment steps.

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

What handle_obstacle does

The prompt identifies what is blocking a task on the current page or in the app, then returns a hint about what to do next. Obstacles can include a dismissible popup, a sign-in requirement, a verification puzzle, restricted site access, or a payment step.

For Claude Code, place the command file at .claude/commands/handle_obstacle.md. Its hint addresses the named obstacle; the prompt is not described as a way to bypass checks or access restrictions.

What it helps with

  • identify a popup blocking a task
  • decide what to do when a site requests sign-in
  • get a next-step hint for a verification puzzle
  • understand a site access limit or payment step

Example prompts for the agent

  • Identify what is blocking this task on the current page and suggest the next step.
  • This site requires sign-in. Describe the obstacle and tell me what to do next.
  • The page is blocking access with verification or a payment step. Give me a next-step hint.

How to install handle_obstacle

Manually: put the files in place

.claude/commands/handle_obstacle.md

Questions about handle_obstacle

How do I install handle_obstacle in Claude Code?

Add the command file at .claude/commands/handle_obstacle.md.

What does handle_obstacle do?

It identifies a blocker on the current page or in the app and returns a hint about the next step.

Which obstacles does handle_obstacle cover?

It covers dismissible popups, sign-in requirements, verification puzzles, site access limits, and payment steps.

Source text

handle_obstacle.md · Apache-2.0
Use this when something stands between you and the task on the current app or page: a popup that can be closed, a sign-in wall, a verification puzzle, the site limiting access, or a payment step. Name it in kind; the result's hint says what to do next.

© wangzan101 · Apache-2.0 · wangzan101/Mika

Similar prompts

All prompts for Browser and scraping →

From the same set132

The whole set →
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 end_not_done The end_not_done prompt for Claude Code and ChatGPT handles tasks that cannot be completed fully or in part. The agent reports confirmed work, the exact blocker, and what is currently on screen. GP ChatGPT ★ 9,488repo stars web_navigate web_navigate is a Claude Code prompt that opens web pages in Mika’s built-in browser. The agent can then use tools to inspect and interact with the page. GP ChatGPT ★ 9,488repo stars phone_gesture The phone_gesture Claude Code prompt describes touch gestures on a virtual display. It activates when an action needs a path from one or two fingers. GP ChatGPT ★ 9,488repo stars phone_launch_app The phone_launch_app Claude Code prompt opens an installed app on a phone’s virtual display using its exact package name. Screen-reading and control tools become available after the next call. GP ChatGPT ★ 9,488repo stars mika_sites The mika_sites Claude Code prompt lists sites Mika has visited, sign-in status, and recent CAPTCHA or access blocks. Run it before asking someone to sign in again or when a site blocks a task. GP ChatGPT ★ 9,488repo stars memory_search The memory_search Claude Code prompt searches saved facts, preferences, and approved ways of working. Ask it to retrieve something the user previously wanted remembered. GP ChatGPT ★ 9,488repo stars

Project sponsors

Companies that keep this analytics open