computer-use-recovery

computer-use-recovery is a skill for Claude Code, Codex from zavora-ai/computer-use-mcp. It costs 23 tokens per session (462 once invoked), scanned A, original, MIT.

A recovery guide for computer control when input goes to the wrong app or window loses focus.

In plain words
What is it for?
It helps reactivate, unhide, or reopen the intended app, retry an action, and find the correct window again.
Why use it?
It helps recover from failed actions without continuing to type or click in the wrong window.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It helps reactivate, unhide, or reopen the intended app, retry an action, and find the correct window again.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/zavora-ai/computer-use-mcp/computer-use-recovery
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add zavora-ai/computer-use-mcp --skill computer-use-recovery
Clone the repo
git clone --depth 1 https://github.com/zavora-ai/computer-use-mcp

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for computer-use-recovery

README.md
[![agentmods](https://agentmods.dev/badge/skills/zavora-ai/computer-use-mcp/computer-use-recovery/github.svg)](https://agentmods.dev/skills/zavora-ai/computer-use-mcp/computer-use-recovery)
Your own site
<a href="https://agentmods.dev/skills/zavora-ai/computer-use-mcp/computer-use-recovery"><img src="https://agentmods.dev/badge/skills/zavora-ai/computer-use-mcp/computer-use-recovery/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for computer-use-recovery

Your own site · 80×15
<a href="https://agentmods.dev/skills/zavora-ai/computer-use-mcp/computer-use-recovery"><img src="https://agentmods.dev/badge/skills/zavora-ai/computer-use-mcp/computer-use-recovery.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 23 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 462 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00023 $0.00462
Opus 5.5 $0.00009 $0.00185
Sonnet 5.5 $0.00005 $0.00092
Haiku 4.5 $0.00002 $0.00046

Measured 13d ago against content hash b4d40afd2bdb, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

computer-use-recovery scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 13d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/computer-use-recovery/SKILL.md · 29 lines

What it actually says

Focus / window recovery

When a mutating tool returns focus_failed or similar:

suggestedRecovery Action
activate_window activate_window(requestedWindowId) then retry
unhide_app unhide_app → wait → activate_window → retry
open_application open_application → wait (wait_for_window for the app) → retry

If a third-party app steals focus after activation, retry once with focus_strategy: "prepare_display", then unhide_app for any hiddenBundleIds when done (unhide_app is in every profile since 7.6.1; apps still hidden when the session ends are restored automatically).

Always re-resolve window_id via list_windows if the target window may have moved or closed. get_target shows the session target set by set_target and whether its window is still on screen; call set_target again after a window is replaced.

user_active

user_active is not a focus failure: the person was typing or moving the mouse within COMPUTER_USE_USER_IDLE_MS (default 4 s), and the call would have taken focus or posted input. Do not retry in a loop, and do not add force: true unless the user asked for the action.

  1. Retry with delivery: "pid" (no activation, no cursor movement; keys usually reach background apps, clicks often do not), or
  2. wait a few seconds and retry, or
  3. Ask the user.

Capture helper errors (macOS)

helper_busy (another capture held the helper lock too long), helper_timeout (the helper was killed after the call timeout) and sck_timeout (ScreenCaptureKit stalled for 10 s) mean the capture failed, not that the screen is empty. Wait a moment and retry once; doctor reports agent_helper. Do not run two captures at once yourself: the server serialises them.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 13d ago Changed b4d40afd2bdb
  2. 16d ago Changed · +10 lines · +3 tokens per session b3aa9cdfef1f
  3. 1mo ago First seen · 19 lines · 20 tokens per session scan A 835b0a9622d0

Subscribe to this mod's changes

computer-use-recovery is a skill published in the GitHub repository zavora-ai/computer-use-mcp (86 stars, last pushed today), licensed MIT. It adds 23 tokens to every session and 462 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

workflow-interaction

A guide for exploring and operating real web pages and desktop applications. It describes how to locate the correct window or page, inspect available controls, and confirm that an action succeeded.

mrpulor-gh/nuphus · 0 tokens

oswright

Drive real desktop applications through the OSWright MCP server - click, type, read on-screen text, manage windows and fill forms - while keeping token cost low by tracking what changed on screen instead of sending a screenshot after every step. Use when the user asks to operate a desktop app, automate a GUI that has…

Ask-812/oswright · 97 tokens

agent-desktop

Operate desktop applications on macOS, Windows and Linux through native accessibility trees, using the agent-desktop CLI. Use when an AI agent must see or act on a desktop GUI: click buttons, fill forms, read UI state, navigate menus, toggle checkboxes, scroll, drag, type text, press shortcuts, take screenshots…

lahfir/agent-desktop · 161 tokens

Templates

Starter buttons for the composer and instructions for making your own.

razzant/ouroboros · 14 tokens

desktop-gui-inspect

Full-desktop automation for targets that have no browser and no API at all — a legacy Java-based NMS client, a vendor's Windows-only configuration utility, a terminal emulator with no scriptable interface. Drives OpenClaw's ClawHub computer-use skill (Xvfb+XFCE virtual desktop, xdotool input automation) to read…

automateyournetwork/netclaw · 143 tokens

turix-mac

Computer Use Agent (CUA) for macOS automation using TuriX. Use when you need to perform visual tasks on the desktop, such as opening apps, clicking buttons, or navigating UIs that don't have a CLI or API.

TurixAI/TuriX-CUA · 53 tokens