Agent skill · AI & Agents

computer-use-agents

Build AI agents that interact with computers like humans do - viewing screens, moving cursors, clicking buttons, and typing text. Covers Anthropic's Computer Use, OpenAI's Operator/CUA, and open-source alternatives.

Nick44,086★ · +407/wk · 1 repos on radarProfile →
claude-codecodexcursorMIT
Install
npx skills add sickn33/agentic-awesome-skills --skill computer-use-agents --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 66 KB
Bundled scripts: none
Path: skills/computer-use-agents/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 44,414 · +328 this week
Language: Python
Read our review of the source →

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

Review
written from the skill's own SKILL.md · Aug 5, 2026

What it does

Provides a computer-use agent that observes the screen, reasons about actions, and executes mouse/keyboard operations in a sandboxed environment. It outlines a Perception-Reasoning-Action loop with components for PERCEPTION (screenshot), REASONING (vision-language model analysis), ACTION (mouse/keyboard operations), and FEEDBACK (result observation). It includes concrete action types (click, type, key, scroll, move) and a done signal to terminate tasks. It demonstrates an implementation based on Anthropic Computer Use patterns and includes an anti-patterns and sandboxing guidance, plus Dockerfile and docker-compose configurations for a sandboxed environment.

How it works

  • Perception: capture_screenshot returns a base64-encoded image of the screen and resizes it for token efficiency.
  • Reasoning: sends a structured message containing the task and the current screenshot to a vision model, receiving a JSON action.
  • Action: execute_action interprets the action dict and performs corresponding UI operations using pyautogui (click, type, key, scroll, move).
  • Loop: run runs the sequence up to max_steps (50) with a small action_delay to allow UI updates, and stops when a done action is received.
  • System prompt: instructs the agent to respond only with a JSON action and to use exact coordinates.
  • Sandboxing: provides a Docker-based sandbox with network, filesystem, and resource constraints, plus a Python wrapper (SandboxedAgent) to start, run tasks, and stop containers.

When to use it

  • When deploying any computer-use agent that needs desktop control in a safe, sandboxed environment.
  • When testing agent behavior safely and running untrusted automation tasks.

What it can touch

  • Perception and control surface via a sandboxed environment: screen capture, mouse actions (click, move), keyboard input (type, key), and scrolling.
  • The sandbox and tooling are described with Dockerfile, docker-compose.yml, and a Python wrapper (SandboxedAgent) to start/stop containers and execute tasks through an API endpoint.

Caveats

  • Includes notes on anti-patterns (e.g., infinite loops, no action delay, full-resolution screenshots).
  • Explicitly emphasizes sandboxed environments to minimize blast radius and restrict system access.
  • Mentions Anthropic tools and potential UI element limitations (some dropdowns/scrollbars can be tricky) as a documented limitation.
  • License: MIT
From the SKILL.md

# Computer Use Agents Build AI agents that interact with computers like humans do - viewing screens, moving cursors, clicking buttons, and typing text. Covers Anthropic's Computer Use, OpenAI's Operator/CUA, and open-source alternatives. Critical focus on sandboxing, security, and handling the unique challenges of vision-based control. ## Patterns ### Perception-Reasoning-Action Loop The fundamental architecture of computer use agents: observe screen, reason about next action, execute action, repeat. This loop integrates vision models with action execution through an iterative pipeline. Key components: 1. PERCEPTION: Screenshot captures current screen state 2. REASONING: Vision-language model analyzes and plans 3. ACTION: Execute mouse/keyboard operations 4. FEEDBACK: Observe result, continue or correct Critical insight: Vision agents are completely still during "thinking" phase (1-5 seconds), creating a detectable pause pattern. **When to use**: Building any computer use agent from scratch,Integrating vision models with desktop control,Understanding agent behavior patterns from anthropic import Anthropic from PIL import Image import base64 import pyautogui import time class Comput

What's inside
Steps it walks through
  1. Patterns
  2. Perception-Reasoning-Action Loop
  3. Antipatterns
  4. Sandboxed Environment Pattern
  5. Anthropic Computer Use Implementation
  6. Browser-Use Pattern (Playwright-based)
  7. User Confirmation Pattern
  8. Action Logging Pattern
  9. Sharp Edges
  10. Web Content Can Hijack Your Agent
  11. Defense in depth - no single solution works
  12. Vision Agents Click Exact Centers
  13. Add human-like variance to actions
  14. Rotate user agents and fingerprints
More from agentic-awesome-skills
All skills →
About this skill
What does the computer-use-agents skill do?

Build AI agents that interact with computers like humans do - viewing screens, moving cursors, clicking buttons, and typing text. Covers Anthropic's Computer Use, OpenAI's Operator/CUA, and open-source alternatives.

How do I install it?

Run `npx skills add sickn33/agentic-awesome-skills --skill computer-use-agents --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From sickn33/agentic-awesome-skills, a repository with 44,414 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going