Computer Use Agents
Architecture and sandboxing guide for vision-based agents that view screens, move cursors, click, and type.
- CCM score
- 59 of 100
- skills.sh installs
- 456
- GitHub stars
- 34.3K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers the perception-reasoning-action loop, plus Anthropic Computer Use and OpenAI Operator/CUA patterns with open-source alternatives
- Includes a Dockerfile and docker-compose setup with non-root users, dropped capabilities, read-only roots, resource limits, and an internal network
- Enforces sandbox isolation for network, filesystem, credentials, and syscalls, so agent mistakes stay contained to the container
- Designed for teams building desktop automation or GUI agents that need to handle vision-based control and its limitations
Install
$ npx -y skills add davila7/claude-code-templates --skill computer-use-agents -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Computer Use Agents
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:
- PERCEPTION: Screenshot captures current screen state
- REASONING: Vision-language model analyzes and plans
- ACTION: Execute mouse/keyboard operations
- 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 ComputerUseAgent:
"""
Perception-Reasoning-Action loop implementation.
Based on Anthropic Computer Use patterns.
"""
Details
- Repository
- github.com/davila7/claude-code-templates
- Categories
- AI Agents & LLM Apps, Security, DevOps & Cloud
- First seen
- Jun 3, 2026
More from davila7/claude-code-templates
All 398- Git Commit Helper456
- Powershell Windows455
- Langgraph447
- Autonomous Agent Patterns446
- Prompt Caching440
- Accessibility Auditor438
- Code Review Checklist438
- Nowait Reasoning Optimizer438
- Commit435
- Vercel Deployment434
- Information Security Manager Iso27001429
- Statsmodels426
- Prompt Library425
- Telegram Mini App422
- Pricing Strategy419
- Ml Paper Writing417
- Workflow Automation417
- Openalex Database416
- Shopify Development413
- Nextjs Supabase Auth411
- Clinicaltrials Database409
- Error Resolver409
- Geopandas408
- Bash Linux406
Similar to Computer Use Agents
More AI Agents & LLM AppsphantomPluginathola/claude-night-market356 starsComputer use toolkit for driving desktop environments through Claude's vision and action API with screenshot capture, mouse/keyboard control, and an autonomous
EdgeBoxMCP serverbigppwong211 starsA local desktop and code sandbox for agents: shell, code execution, files, and GUI control.
ai-agents-architectSkilldavila7/claude-code-templates689 installsExpert guide for designing autonomous AI agents with tool use, memory, planning, and multi-agent orchestration.
agent-governanceSkillgithub/awesome-copilot9.7K installsGovernance patterns for AI agents: policy checks, intent screening, and audit trails around tool calls.
pydantic-ai-harnessSkillpydantic/skills3.3K installsFull-stack coding agent and sandbox toolkit for Pydantic AI, with Code Mode, sub-agents, memory, and guardrails.