Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

computer-use-automation

БесплатноЗапускает вложенные скриптыНе проверен

Decides when a GUI-driving (computer-use) agent beats an API and lints planned screen actions for missing confirmation, verification and grounding. Use when…

borgheiот borghei★ 1 250 звёзд на GitHub

Об этом скилле

Computer Use Automation

Category: Engineering Domain: AI Agents

Overview

The Computer Use Automation skill helps you design AI agents that operate a graphical interface the way a person does — take a screenshot, reason about what is on screen, then click, type, scroll, or navigate, and repeat. It covers the core perception→reason→action loop, the decision of when computer-use is the right tool versus a structured API/MCP tool (prefer a real API whenever one exists; reach for computer-use only for GUIs with no programmatic surface), reliability patterns (grounding every action in the current screenshot, verifying after each step, recovering from misclicks), safety guardrails (confirmation gates for destructive actions, sandboxing, avoiding blocking dialogs), and how to evaluate a computer-use agent. It is model-agnostic — the patterns apply to any computer-use-capable model and any GUI tool surface.

When to Use

  • Deciding whether a task needs a screen-driving agent or can use an API, SDK, CLI or MCP tool.
  • Designing the screenshot, act, verify loop and its guardrails for a GUI-only target.
  • Reviewing a planned action sequence for ungated destructive steps and missing verification before a dry run.

Clarify First

Before designing or auditing a computer-use agent, settle the inputs below. When one is missing or vague and would change the result, ask about it; when it wouldn't, use a sensible default and say which one you used.

  • Does a real API/MCP tool exist?: whether the target exposes an API, SDK, CLI, or MCP server, or is GUI-only (the single biggest factor; if a real API exists, prefer it and skip computer-use).
  • Task & risk: what the agent must accomplish and whether any step is destructive or irreversible (delete, send, pay, submit), which sets the confirmation gates and sandboxing.
  • Which tool: advise on tool choice for a target, or lint a planned action sequence for safety (selects tool_choice_advisor.py vs action_safety_linter.py).

Ask about the two or three inputs that matter most for this request, not the whole list. If the user wants a result straight away, produce it and state your assumptions at the top.

Quick Start

# Decide computer-use vs API/MCP for a target
python scripts/tool_choice_advisor.py --api-exists no --gui-stability high --volume low --json

# Lint a planned action sequence for safety/reliability gaps
python scripts/action_safety_linter.py --file assets/sample_plan_safe.json    # CLEAN, exit 0
python scripts/action_safety_linter.py --file assets/sample_plan_risky.json   # HIGH, exit 1

# Read actions from stdin and emit a markdown risk report
echo '[{"type":"click","target":"Delete"},{"type":"submit","target":"Confirm"}]' \
  | python scripts/action_safety_linter.py --format markdown

Tools Overview

Tool Purpose Key Flags
tool_choice_advisor.py Recommend computer-use vs structured API/MCP for a target, with rationale --api-exists, --gui-stability, --volume, --reversible, --json
action_safety_linter.py Scan a planned action list for destructive verbs, missing verification, missing confirmation gates, and dialog-triggering patterns --file, --format, --json

All scripts: Python 3 standard library only, argparse CLI, --json and human-readable output. Run --help for full usage.

Action plan format. A JSON list of objects with type (or its alias action): screenshot, observe, verify, click, type, submit, navigate, upload, ...; target (the visible label); optional text (what gets typed), confirmed (a human or explicit gate approved it) and verified (the step checks its own result). Plain text with one <type> <target> per line also works. An object with no type or action is rejected rather than silently passed.

What the linter flags. High: destructive verbs (delete, send, pay, submit...) without confirmed, state changes on a destructive step with no verification, and typed text that looks like a destructive command (rm -rf, DROP TABLE, sudo...). Medium: unverified state changes, typing into password or payment fields, actions that open native dialogs. Low: actions not preceded by a fresh screenshot.

Exit codes. action_safety_linter.py: 0 no high finding, 1 at least one high finding, 2 unreadable file or an action list it cannot parse. tool_choice_advisor.py: 0 recommendation printed, 2 invalid option value.

Done when:

  1. The advisor's recommendation is recorded, and an API or MCP route was ruled out with a reason.
  2. The linter shows no high findings on the final plan.
  3. A sandbox dry run (throwaway profile, test account or VM) completed the task with every verification step passing.

Workflows

Decide and Design a Computer-Use Agent

  1. Run tool_choice_advisor.py with the target's API/MCP availability, GUI stability, and volume — if it says "use API/MCP
Полный SKILL.md на GitHub

Установить computer-use-automation в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

assets/sample_plan_risky.jsonassets/sample_plan_safe.jsonreferences/computer-use-patterns.mdscripts/action_safety_linter.pyscripts/tool_choice_advisor.py

FAQ

Что делает скилл computer-use-automation?

Decides when a GUI-driving (computer-use) agent beats an API and lints planned screen actions for missing confirmation, verification and grounding. Use when designing a computer-use agent or reviewing its action plan.

Как установить скилл computer-use-automation?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл computer-use-automation запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить computer-use-automation с