Skills for Real Engineers. Straight from my .agents directory.
computer-use-agents
Agent skill fromdavila7/claude-code-templates
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. Use when: computer use, desktop automation agent, screen control AI, vision-based agent, GUI automation.
How to install computer-use-agents
npx skills add davila7/claude-code-templates# or add only this skill to Claude Code: copy the folder
cli-tool/components/skills/ai-research/computer-use-agents/
# into
~/.claude/skills/computer-use-agents/ (all projects)
.claude/skills/computer-use-agents/ (one project)
1# Computer Use Agents23## Patterns45### Perception-Reasoning-Action Loop67The fundamental architecture of computer use agents: observe screen,8reason about next action, execute action, repeat. This loop integrates9vision models with action execution through an iterative pipeline.1011Key components:121. PERCEPTION: Screenshot captures current screen state132. REASONING: Vision-language model analyzes and plans143. ACTION: Execute mouse/keyboard operations154. FEEDBACK: Observe result, continue or correct1617Critical insight: Vision agents are completely still during "thinking"18phase (1-5 seconds), creating a detectable pause pattern.192021**When to use**: ['Building any computer use agent from scratch', 'Integrating vision models with desktop control', 'Understanding agent behavior patterns']2223```python24from anthropic import Anthropic25from PIL import Image26import base6427import pyautogui28import time2930class ComputerUseAgent:31 """32 Perception-Reasoning-Action loop implementation.33 Based on Anthropic Computer Use patterns.34 """3536 def __init__(self, client: Anthropic, model: str = "claude-sonnet-4-20250514"):37 self.client = client38 self.model = model39 self.max_steps = 50 # Prevent runaway loops40 self.action_delay = 0.5 # Seconds between actions4142 def capture_screenshot(self) -> str:43 """Capture screen and return base64 encoded image."""44 screenshot = pyautogui.screenshot()45…
Excerpt shown under the repository's MIT license.
More skills in claude-code-templates
Similar skill repositories
An agentic skills framework & software development methodology that works.
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
Public repository for Agent Skills
Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.
Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
