Diagnose why computer-use screen control failed (read-only): blurry/low-res screenshot, pixel budget, empty capture, misplaced click, keystroke/UIPI failure, stuck menu, screensaver ended session; or size up hazards before driving a desktop app unattended. Use when a screenshot, click or keystroke in computer use did not do what was expected. Not for browser work (Claude in Chrome) or shell work (Bash).
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Diagnose?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/melodic-software-diagnose)
---
description: "Diagnose why computer-use screen control failed (read-only): blurry/low-res screenshot, pixel budget, empty capture, misplaced click, keystroke/UIPI failure, stuck menu, screensaver ended session; or size up hazards before driving a desktop app unattended. Use when a screenshot, click or keystroke in computer use did not do what was expected. Not for browser work (Claude in Chrome) or shell work (Bash)."
argument-hint: "[screenshots|failures|quirks]"
user-invocable: true
disable-model-invocation: false
metadata:
workflow-stage: anytime
summary: Resolve computer-use capture, input, and screenshot symptoms to a cause
---
# Diagnose
## Purpose
The mechanics of computer use (actions, the allowlist gate, permission tiers, which tool Claude
prefers over screen control) belong to Claude Code's own tool descriptions and docs:
[enable computer use](https://code.claude.com/docs/en/computer-use#enable-computer-use),
[approve apps per session](https://code.claude.com/docs/en/computer-use#approve-apps-per-session)
and [when computer use applies](https://code.claude.com/docs/en/computer-use#when-computer-use-applies).
**This skill does not restate any of that.**
It carries only what those tool descriptions and docs do *not* tell you and the model cannot derive: the shape of
the screenshot budget, the failure modes that look like tool bugs but are environment state,
and the per-OS input quirks that are invisible until they bite.
## Arguments
Parse `$ARGUMENTS`. Each value names one reference spoke; there are exactly three.
| Argument | Loads |
|---|---|
| *(none)* | Nothing. Answer from the symptom guide below, and load a spoke only if the symptom needs it. |
| `screenshots` | [reference/screenshots-and-zoom.md](reference/screenshots-and-zoom.md). Pixel budget, `zoom`, resolution guidance |
| `failures` | [reference/failure-diagnostics.md](reference/failure-diagnostics.md). The idle timer, capture and input ladders, probes |
| `quirks` | The per-OS file for the machine you are on (see below) |
## Symptom guide (no file load needed)
| Situation | Answer |
|---|---|
| Screenshot looks low-resolution | Expected. Fixed pixel budget, no setting. Use `zoom`. → [screenshots-and-zoom.md](reference/screenshots-and-zoom.md) |
| Small text unreadable after downscale | `zoom` the region. It re-captures at full resolution. Do **not** lower display resolution. |
| `empty capture (0x0)` | Environment, not a tool bug. Walk the ladder → [failure-diagnostics.md](reference/failure-diagnostics.md) |
| Input returns a UIPI error | An elevated or secure-desktop process holds the foreground. Not recoverable by retrying. |
| "not in the allowed applications and is currently in front" | A background app stole focus. Retry with `screenshot` as the batch's first action → [failure-diagnostics.md](reference/failure-diagnostics.md#x-is-not-in-the-allowed-applications-and-is-currently-in-front) |
| Session died partway through a long task | Idle timeout. Claude's own input does **not** reset it → [failure-diagnostics.md](reference/failure-diagnostics.md#the-idle-timer-does-not-see-claude) |
| A synthesized key does nothing in a menu | Shell-owned surfaces differ from in-app menus → your OS's quirks file |
## Per-OS quirks
Load only the file for the machine you are on:
| Platform | File |
|---|---|
| Windows | [reference/windows-quirks.md](reference/windows-quirks.md) |
| macOS | no quirks file ships. See the verification gap below |
**Verification gap.** Every empirical claim in this plugin was measured
on Windows 11 with the Claude Desktop surface. macOS is supported by the platform and by this
plugin's platform-neutral content, but no macOS quirks file ships because none has been
verified. A macOS user gets the platform-neutral material and no fabricated specifics.
## Surfaces differ. Know which one you are on
Computer use is not one thing, and guidance written for one surface is wrong on the other. Name
the surface (Claude Code CLI or Claude Desktop) before applying any surface-specific advice. Which
platforms each surface runs on, how each one enables computer use, and which settings each one
offers are the upstream page's to state; read them there rather than from this skill.
- **Pointer**: when the surface, its platforms or its enabling path matters to a diagnosis, fetch
[Computer use: Differences from the Desktop app](https://code.claude.com/docs/en/computer-use#differences-from-the-desktop-app)
live.
## Gotchas
- **Read the reference file before advising anyone on resolution.**
[screenshots-and-zoom.md](reference/screenshots-and-zoom.md) carries the advice; `zoom` is the
lever, not the display.
- **Pointer**: for how screenshots are downscaled, fetch
[Computer use: Screenshots are downscaled automatically](https://code.claude.com/docs/en/computer-use#screenshots-are-downscaled-automatically)
live.
- **`zoom` re-captures; it does not crop.** It therefore fails when capture is failing, and it
recovers genuine detail when capture is healthy. Both follow from the same fact.
- **A tool error naming an unexpected app is the safety gate working**, not a defect. Nothing was
typed into the wrong window. Re-screenshot and retry rather than escalating.
- **On a multi-monitor machine, a launched app can be missing for two opposite reasons.** It
opened on a display you are not capturing, or you are pinned to the display it did not open
on. Chasing the first creates the second; reset to `auto` before sweeping.
- **Elevated processes cannot be driven at all.** UIPI blocks synthesized input from a
lower-integrity process regardless of any grant. Ask the operator to handle those windows.