Skip to main content
prompt GP ChatGPT

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

hand_to_user — a prompt for Claude Code and ChatGPT that hands control of the screen to the user for manual steps tools cannot complete.

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

What hand_to_user does

This prompt tells the agent to hand the screen over to the user for actions like signing in, solving verification puzzles, or making payments. The agent writes down exact instructions and waits for control to return before checking the interface. If the outcome is skipped or times out, the agent logs the state and tries another path or ends the task.

Getting control back does not prove the step succeeded, so the agent reads the screen first to verify order status or sign-in state. If the result remains unclear, the agent calls ask_user with options like Done or Stop. Verification happens even when input count is zero since the user might have completed the action independently.

What it helps with

  • hand over the screen for user sign-in
  • handle payment verification steps manually
  • verify the screen state after user action
  • trigger ask_user when the outcome is unclear

Example prompts for the agent

  • Hand the screen to the user for login
  • Ask the user if the payment is done using ask_user
  • Check order status on screen after user returns control

How to install hand_to_user

Manually: put the files in place

.claude/commands/hand_to_user.md

Questions about hand_to_user

How to install hand_to_user in Claude Code?

Create the file .claude/commands/hand_to_user.md in your project root.

What does hand_to_user do?

It transfers screen control to the user for manual actions like sign-in or payment and verifies the outcome.

What happens on outcome skip or timeout?

The agent treats the step as not handled, reports what happened, and switches to another method or ends the task.

Source text

hand_to_user.md · Apache-2.0
Hand the screen to the user for a step only they can do (signing in, a verification puzzle, a payment or another step the tools cannot complete). Say in message exactly what they need to do. Getting control back does not prove the step worked. With outcome complete, read the screen first and check the result (for a payment, the order status; for a sign-in, that you are signed in). If it checks out, go on or report. If you cannot tell, call ask_user with options such as "Done" / "Not done, let me take over again" / "Stop" (in the user's language). Check even when inputCount is 0, since the user may have done it some other way; only when you see no sign of it, treat the step as not started and ask whether to hand over again. Never go by durationMs, and never say a step succeeded without checking. Outcome skipped or timeout means nothing was handed back: do not claim the user handled it; say what happened, then try another way or end the task. Once the user hands back, continue the task.

© wangzan101 · Apache-2.0 · wangzan101/Mika

Similar prompts

All prompts for Agent setup: memory, context, orchestration →
hand-drawn-diagrams muthuishere hand-drawn-diagrams is a Claude Code skill that creates Excalidraw diagrams, flowcharts, wireframes, and visual explainers. It activates for requests to sketch a concept, map, or page layout. CX Codex +1 675installs Proximo — the Proxmox MCP you can hand the keys john-broadway Proximo — the Proxmox MCP you can hand the keys is an MCP server for managing Proxmox VE, PBS, PMG, and PDM through AI agents; it checks mutation blast radius and captures pre-change state before execution. CX Codex +1 ★ 96repo stars hand-drawn-infographic-creator curiositech The hand-drawn-infographic-creator skill for Claude Code creates educational diagrams in an anatomist’s notebook style for recovery articles, neuroscience, and social comparisons. CX Codex +1 269installs hand-gestures abouchedidxcode The hand-gestures Claude Code skill adds hand-gesture controls to browser games and apps. The agent uses it for webcam tracking and gesture recognition on a web page. CX Codex +1 ★ 220repo stars Pacioli — the ERPNext broker you can hand the books john-broadway Pacioli — the ERPNext broker you can hand the books is an MCP server for Claude Code that connects agents to ERPNext through MCP and A2A. It provides a governed route into the accounting system. CX Codex +1 ★ 8repo stars entra-agent-user official github entra-agent-user walks an agent through creating an agent user in Microsoft Entra ID so it can act as a digital worker with a mailbox and Teams presence. CX Codex +1 8,600installs

From the same set132

The whole set →
groups The groups prompt for Claude Code and ChatGPT loads tools on demand when interacting with phone apps, web pages, and the terminal. GP ChatGPT ★ 9,488repo stars phone_system_command The phone_system_command prompt for Claude Code and ChatGPT runs Android commands through the connected device shell. Screen input is restricted; use the phone tool for actions on Mika’s display. GP ChatGPT ★ 9,488repo stars phone_launch_app phone_launch_app — a prompt for Claude Code and ChatGPT launches an app on the phone virtual display by package name and waits for foreground focus. Handles app clones, cold restarts, and occupied task locks. GP ChatGPT ★ 9,488repo stars phone_run The phone_run Claude Code prompt runs a sequence of phone commands. It checks the current accessibility tree before each action, so clear screen conditions can guide the next step without another model decision. GP ChatGPT ★ 9,488repo stars web_read_page The web_read_page Claude Code prompt extracts readable text from a web page, including content beyond the visible area. It can read the current tab or an address supplied in the request. GP ChatGPT ★ 9,488repo stars skill_save The skill_save prompt for Claude Code stores a personal skill inside memory and settings upon user request. GP ChatGPT ★ 9,488repo stars request_confirmation The request_confirmation Claude Code prompt asks for approval before an action that spends money. It covers placing an order, making a booking, or taking a final step on a page showing a payment amount. GP ChatGPT ★ 9,488repo stars phone_calendar_bulk_insert phone_calendar_bulk_insert — a prompt for Claude Code inserts 1 to 100 events into an Android calendar in a single provider batch without opening the calendar UI. GP ChatGPT ★ 9,488repo stars

Project sponsors

Companies that keep this analytics open