| name | computer-use |
| description | Use Claude Code's computer control capabilities — browser automation, screenshots, UI interaction, and system automation. Trigger on /computer-use, or when automating browser tasks, UI testing, or visual verification. |
| user-invocable | true |
| allowed-tools | Read, Grep, Glob, Bash, Browser |
Computer Use
Claude Code can control the browser and interact with the system for visual and UI automation tasks.
Browser Automation
Use the Browser tool for:
- Web scraping (pages that need JS rendering)
- Form filling and submission
- UI testing and visual verification
- Screenshot capture for debugging
- Multi-step web workflows
Best Practices
- Prefer scrape/MCP over browser for simple API-based data fetching.
- Use snapshots (accessibility tree) over screenshots for element interaction.
- Use screenshots only when visual information is needed (layout, images, CSS).
- Minimize browser sessions — reuse tabs instead of opening new ones.
Screenshots
Use screenshots when:
- Debugging UI layout issues
- Verifying visual output
- Reading rendered content that isn't in the DOM
System Automation
- Use
Bash for system-level automation.
- Use
Browser for web-based automation.
- Use MCP servers for third-party API integration.
Rules
- Do not use browser automation for authenticated sessions without explicit approval.
- Do not submit sensitive credentials into web forms via automation.
- Prefer read-only scraping over interactive actions when possible.
- Close browser sessions when done to free resources.
- Document any automated browser workflow for reproducibility.
Experience Log
This skill learns from experience. Mechanism:
-
Read .claude/experience/computer-use.md at skill start to benefit from past lessons.
-
Write to .claude/experience/computer-use.md after use if you learned something new.
-
Format: YYYY-MM-DD: <lesson> — one line per entry.
-
Evolve: If the same issue repeats 3+ times, update this SKILL.md itself.
This skill improves over time. After each use, append lessons learned.
Record format: YYYY-MM-DD: <lesson>
Read this at skill start to apply past lessons.