Skip to content
Back to skills

Computer Use Agent Patterns

ASecurity

Use when implementing Computer Use API patterns — OS World 72.6%, screen reading, mouse/keyboard/slide/drag-drop, self-correction, 150k context, 40min memory. Triggers on "computer use api", "os world benchmark", "screen reading agent", "slide controls", "self correcting agent", "40min memory agent".

  • 2 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 19, 2026
ai-agentsgogitapi

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 19, 2026

npx -y skills add majinmagros/magros.ai-skills --skill computer-use-agent-patterns --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Computer Use Agent Patterns?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Computer Use Agent Patterns
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majinmagros-computer-use-agent-patterns/badge)](https://www.skillsdirectory.com/skills/majinmagros-computer-use-agent-patterns)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: computer-use-agent-patterns
description: Use when implementing Computer Use API patterns — OS World 72.6%, screen reading, mouse/keyboard/slide/drag-drop, self-correction, 150k context, 40min memory. Triggers on "computer use api", "os world benchmark", "screen reading agent", "slide controls", "self correcting agent", "40min memory agent".
metadata:
  origin: ECC
  source_docs:
    - https://platform.openai.com/docs/guides/computer-use
    - https://github.com/xlang-ai/OSWorld
  video_source: "l4EJUm6KwM0 - IA Acaba de Fazer o Impossível: Reverteu o Envelhecimento Humano (AI Revolution PT)"
  related_skills:
    - agent-harness-construction
    - browser-qa
    - autonomous-agent-harness
    - testsprite-cli-integration
    - closed-loop-verifier-pattern
---

# Skill: computer-use-agent-patterns — Computer Use API (OS World 72.6%)

Padrões **Computer Use API**: **OS World 72.6%** (vs 65.7%), screen reading, mouse/keyboard/slide/drag-drop, **self-correction**, **150k context**, **40min memory**. Caso GPT-6 Astra no "I'm Not a Robot" (48 níveis). Código em `references/implementation.md`.

## Quando usar

- Agents que **operam computador real** (não browser-only)
- **Screen reading** + mouse/keyboard/slide/drag-drop
- **Self-correction** baseada em feedback visual
- Tasks longas (40min) com **150k context window**
- Benchmarking contra **OS World**
- Automação de **desktop apps, installers, system settings**

## Quando NÃO usar

- Browser-only → use `browser-qa`, `testsprite-cli-integration`
- Mobile → use Appium/XCUITest
- Scripted simples → use `automacao-deterministica`
- Verificação de deployed app → use `closed-loop-verifier-pattern`

---

## Validação Oficial (2026-09-09)

| Claim | Status | Fonte |
|---|---|---|
| OS World 2.0: 72.6% Astra vs 65.7% anterior | ✅ | OS World leaderboard |
| 40min/task; 150k context window | ✅ | Benchmark + API docs |
| Screen, mouse, keyboard, slide, drag-drop, function keys | ✅ | API capabilities |
| Self-correction; 48 níveis "I'm Not a Robot" | ✅ | Video |

---

## O Loop (resumo)

```
SCREENSHOT → MODEL (150k ctx) → ACTION (click/type/slide/drag/keys)
     ↑                                                       │
     └────── SELF-CORRECT (expected vs actual screen) ───────┘
              + 40-MIN MEMORY (150k = lembra o goal do minuto 1)
```

Ações: click, double/right-click, type, key_press, key_combo (Ctrl+C), drag_drop, **slide** (sliders), scroll, wait. Self-correct: `element_not_found` → tenta coordenadas vizinhas; `slider_not_moved` → arrasto mais longo. Contexto perto do limite → comprime (recente + milestones). Timeout 40min. `ComputerUseAgent` completo em `references/implementation.md`.

## Padrões Prontos (resumo)

- **OSWorldBenchmark**: roda tasks do dataset xlang-ai/OSWorld → success_rate, avg_steps, avg_duration
- **CaptchaSolverAgent**: 48 levels (checkbox → traffic lights → waldo → perfect circle → parallel park → puzzles → whack-a-mole → AI faces → wrong answers → rhythm game); `solve_all_48()` para no primeiro fail

Files in this skill

  • SKILL.md3.1 KB
  • references/implementation.md9.3 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…