Skip to content
Back to skills

Setup

ASecurity

Check-only preflight for computer-use: probes surface, tools, and idle/screensaver/sleep timeouts without modifying any system settings.

  • 34 stars
  • 0 votes
  • 0 copies
  • 5 views
  • Added September 2, 2026
ai-agentsgo

Works with

  • cli
  • mcp

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned December 3, 2026

npx -y skills add melodic-software/claude-code-plugins --skill setup --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Setup?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Setup
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/melodic-software-setup-766e53dd/badge)](https://www.skillsdirectory.com/skills/melodic-software-setup-766e53dd)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
description: "Check-only preflight for computer-use: probes surface, tools, and idle/screensaver/sleep timeouts without modifying any system settings."
argument-hint: "[check]"
user-invocable: true
disable-model-invocation: true
---

# Setup

## Purpose

Computer use has no consumer-project configuration and no `userConfig`. Everything it depends on
is either an external prerequisite (the MCP server, the plan, OS permissions) or a system
setting this contract forbids setup to mutate (power, screensaver, lock policy).

That makes this a **check-only setup** under the plugin contract's carve-out: there is nothing
an `apply` could conformingly write. `check` probes, reports, and hands every
remediation to the operator with the exact value it measured.

Non-interactive: never prompt. Run the probes, print the table, stop.

## `check` (read-only)

Read [`../diagnose/reference/failure-diagnostics.md`](../diagnose/reference/failure-diagnostics.md)
first. It owns the probe commands and the reasoning behind them. Do not restate them here;
run them and report. Emit a PASS / FAIL / INFO table with one remediation line per non-PASS.

### 1. Surface and platform

Determine which surface is in play, because the answer changes what is even possible:

- Read which platforms each surface runs on and where each one enables computer use from the
  pointer below, then match the session's operating system and enabling path against it. When the
  operating system leaves one surface possible, that is the surface; otherwise check the enabling
  path the pointer names for each surface.
  - **Pointer**: when deciding the surface, fetch
    [Computer use: Differences from the Desktop app](https://code.claude.com/docs/en/computer-use#differences-from-the-desktop-app)
    live.

Report the surface as INFO. It is context for everything below, not a pass/fail.

### 2. Tool availability

Confirm the computer-use tools are actually reachable in this session. Call
`list_granted_applications`: it is this check's probe. For what it returns, read its
description in the `computer-use` server's tool listing (`/mcp`); no docs page names the
computer-use tools.

- Tools reachable → PASS, and report what the probe returned as INFO.
- Tools absent → FAIL. Remediation: enable the `computer-use` MCP server for this project, and
  confirm the session meets each eligibility condition the pointer lists, naming each unmet one
  in the report.
  - **Pointer**: when the tools are absent, fetch
    [Computer use: Troubleshooting](https://code.claude.com/docs/en/computer-use#troubleshooting)
    live for the CLI's eligibility checks, and
    [Desktop: Let Claude use your computer](https://code.claude.com/docs/en/desktop#let-claude-use-your-computer)
    for the Desktop surface.

Do **not** call `request_access` during a check: a check stays read-only, and an access request
is not.

- **Pointer**: for what an app-access request does, see
  [Computer use: Approve apps per session](https://code.claude.com/docs/en/computer-use#approve-apps-per-session).

### 3. Session-killing timeouts (the one that actually bites)

This is why the skill exists. In our measurement, Claude's synthesized input did not hold off
the OS idle timeout, so a session dies on schedule regardless of how busy Claude is (the
measurement:
[failure-diagnostics.md](../diagnose/reference/failure-diagnostics.md), "The idle timer does not see Claude",
measured 2026-08-10 on Windows 11; recheck when a release changes how synthesized input
interacts with the OS idle timer). Probe and report the **measured numbers**:

- screensaver enabled, its timeout, and whether it locks on resume;
- display-off timeout;
- sleep timeout.

Probe **runtime state before configuration**. A registry or defaults read says a screensaver is
configured, not that one is on screen now. Report both.

**Platform coverage is uneven, and the check must say so rather than skip.** The diagnostics
reference ships verified probe commands for Windows only. On macOS, no verified probe set ships:
report this step as INFO-unverified, name the three settings the operator must read from System
Settings themselves (screensaver idle delay, display sleep, require-password-on-wake), and state
that the hazard is unchanged: the idle-timer behavior was measured on Windows, no platform has
been shown to reset the idle timer on synthesized input, so treat it as live on macOS as well.
Never silently omit the step, and never substitute an unverified command as though it were
checked.

Grade against the work in front of you rather than an absolute: any timeout **shorter than the
expected unattended run** is a FAIL, and one comfortably longer is a PASS. A 5-minute
screensaver is fine for a two-minute task and fatal for a thirty-minute one.

Remediation is always advisory, phrased as the operator's decision: *"Screensaver fires after 5
minutes and this run will exceed that. Raise or disable it for the duration."* Never change a
power, screensaver, or lock setting; state the setting and the value and let the operator act.

Note the three settings are independent. "Display never sleeps" says nothing about the
screensaver, and the screensaver is the more common culprit.

### 4. Multi-monitor state

Report the monitor count and which display screenshots currently target. More than one monitor
is INFO, not a failure, but it is the precondition for the "app opened where I wasn't looking"
class of confusion, and knowing it up front is cheaper than diagnosing it later.

### 5. Foreground stability

If any known focus-stealing utility is running (peripheral suites, overlays, launchers), report
it as INFO with the retry pattern from the diagnostics reference. This is a nuisance, not a
blocker: in our measurement the gate refused the action rather than sending it to the wrong app
([failure-diagnostics.md](../diagnose/reference/failure-diagnostics.md), "'X is not in the allowed applications and is currently in front'").

- **Pointer**: for the per-app approval gate such a window runs into, see
  [Computer use: Approve apps per session](https://code.claude.com/docs/en/computer-use#approve-apps-per-session).

## Reporting

End with a one-line verdict: **ready**, **ready with caveats** (INFO or advisory FAILs the
operator may accept), or **blocked** (tools unreachable). When blocked, name the single next
action rather than listing everything at once.

## Gotchas

- **`request_access` is not a probe.** Calling it during a read-only check violates the
  contract (step 2 carries the pointer). `list_granted_applications` is the check's probe.
- **A "never" display-sleep timeout does not mean the machine stays awake.** Screensaver,
  display sleep, and lock are three independent settings; the screensaver has its own timeout
  and is the more common cause of a dead session. Probe all three or the check is misleading.
- **`powercfg /requests` needs an elevated prompt.** From an ordinary session it exits non-zero
  with a permissions message. Report that the probe was unavailable rather than reporting that
  nothing holds a power request.
- **A timeout is only a FAIL relative to the run.** There is no universally correct value; grade
  against the expected unattended duration or the check produces noise on short tasks.
- **Never remediate the settings this skill reports.** Power, screensaver, and lock policy are
  system settings. Report the measured value and the recommendation, and let the operator act.

Files in this skill

  • SKILL.md6.3 KB
  • evals/evals.json2.3 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.