computer-use-mcp: Instructions file for Codex

AGENTS.md

computer-use-mcp AGENTS.md is an instructions file for Codex, OpenCode from zavora-ai/computer-use-mcp. It costs 15,862 tokens per session, scanned A, original, MIT.

Setup and usage instructions for computer-use-mcp, a tool that lets AI agents interact with computers on macOS, Windows, and Linux. They cover desktop control, form filling, scripting, recovery, and Windows administration profiles.

In plain words
What is it for?
Use them to configure computer-use-mcp, automate desktop actions, fill forms, recover from focus problems, or handle supported Windows administration tasks.
Why use it?
They help an agent choose the right way to perform desktop tasks and keep filesystem access within configured boundaries. They also document how to prepare the tool for different operating systems.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: reads ~/.codex paths; mentions Codex.

This is zavora-ai/computer-use-mcp's own configuration. It tells Codex and OpenCode how to work on computer-use-mcp itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything computer-use-mcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to zavora-ai/computer-use-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/zavora-ai/computer-use-mcp/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/zavora-ai/computer-use-mcp

Made for: Codex, OpenCode.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for computer-use-mcp AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/zavora-ai/computer-use-mcp/agents-md/github.svg)](https://agentmods.dev/instructions/zavora-ai/computer-use-mcp/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/zavora-ai/computer-use-mcp/agents-md"><img src="https://agentmods.dev/badge/instructions/zavora-ai/computer-use-mcp/agents-md/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for computer-use-mcp AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/zavora-ai/computer-use-mcp/agents-md"><img src="https://agentmods.dev/badge/instructions/zavora-ai/computer-use-mcp/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 15,862 This file is loaded in full into every session.
When invoked 15,862 The same file — it is already loaded in full.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.15862 $0.15862
Opus 5.5 $0.06345 $0.06345
Sonnet 5.5 $0.03172 $0.03172
Haiku 4.5 $0.01586 $0.01586

Measured today against content hash 311cad6dafa3, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

computer-use-mcp AGENTS.md scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Reads agent configuration directorieslowAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

Codex reads local MCP servers from `~/.codex/config.toml`:

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

AGENTS.md · 1,085 lines

How it starts

The opening of the file, as written. The whole thing — 1,085 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Using computer-use-mcp with AI Agents

This guide covers how to integrate computer-use-mcp into AI agent frameworks and agentic workflows. Works on macOS, Windows, and Linux.

Skills (recommended): copy from skills/ in this package into your agent skills directory:

  • skills/computer-use — when/how to use desktop control
  • skills/computer-use-forms — accessibility form fill
  • skills/computer-use-scripting — AppleScript / PowerShell first
  • skills/computer-use-recovery — FocusFailure recovery
  • skills/computer-use-windows-admin — filesystem / registry / process
  • skills/blender-agent — Blender through its own MCP, this server only for what has no API

MCP prompts: diagnose-desktop, fill-form, script-first, safe-desktop-task
Profiles: COMPUTER_USE_PROFILE=core|desktop|ax|scripting|windows-admin|full (default desktop since 7.6: core plus the OCR and wait tools and agent_pointer; full lists everything)

Current surface (7.7.0):

  • Default list. On macOS the default desktop profile lists 37 tools and 44,324 bytes on the wire (about 11k tokens); COMPUTER_USE_PROFILE=full lists 78 tools and 82,698 bytes (112,727 before 7.6). 7.7.0 added run_steps and lists the click aliases (left_click, double_click and the rest) only in full; they stay callable in every profile. Tool counts by profile on macOS: core 33, desktop 37, scripting 40, windows-admin 47, ax 54, full 78 (Windows 31/33/36/45/50/76, Linux 31/33/36/37/50/68). A test derives these from the catalog and checks this file, the README and the computer-use skill. Byte budgets are under test (desktop 48,000, full 88,000).
  • Only tools that exist here are listed. The catalog gives each tool platforms and a job (observe, act, semantic, script, admin, browser, spaces, meta). registry and notification are Windows-only; read_window_text, click_text, wait_for_text and wait_for_stable are macOS-only; the Spaces tools are macOS and Windows. A tool that does not exist on the running platform is neither listed nor callable (before 7.6 it was listed and returned platform_unsupported).
  • One click. click {coordinate, button: left|right|middle, count: 1|2|3} plus the usual targeting and delivery. left_click, right_click, middle_click, double_click and triple_click remain callable in every profile as thin aliases of it (listed only in full since 7.7); they still accept target_app, target_window_id, delivery and force. Examples here use click.
  • Every action says what happened (7.7). Each action's result carries effect (verified, changed, no_visible_change, unverified), route and, for input, delivery (hid or pid). Every refusal and every unverified result adds a hint and a next_call: one read-only call this session can make as is. verify: true on an input tool captures before and after. A JSON reply gains these as fields; a text reply keeps its text first and gains a JSON block; both are in structuredContent.
  • run_steps (7.7). Up to 30 steps ({tool, args}) in one call: every step validated before any runs, the target focused once, stopped at the first failing step (the rest reported not run), one optional capture at the end. Steps are input, accessibility actions, activation, write_clipboard and the waits; scripts and admin tools keep their own call.
  • Session target. set_target {app | window_id | title | clear} and get_target make the target explicit, so input and capture tools can omit targeting; screenshot full_screen: true captures the whole screen even when a target is set.
  • Waits. wait_for_window, wait_for_text (OCR: text appears, or gone: true) and wait_for_stable (the window stops changing) replace sleep-and-screenshot loops. wait is still there for a plain delay.
  • Server instructions are generated per platform and profile from the catalog (src/instructions.ts). They give the route order (the app's own API, scripting, accessibility, OCR for self-drawn apps, coordinates last), the user-active guard and delivery, the waits and the session target. They no longer tell hosts to prefer the accessibility tree, which is empty on Unreal, Blender and games. get_tool_guide(task) picks the route for a task.
  • Arguments sent as text (7.7). "[100, 200]", "100,200", "500" and "true" are accepted where an array, a number or a flag is declared, but only when the original fails its schema and the coerced value passes.
  • Requirements. Node 20 or later. macOS 14 or later for the ScreenCaptureKit capture and the OCR tools. The user-active guard reads physical input through an event tap that needs Input Monitoring for the host app; without it the guard allows every call and doctor says its clock is unavailable.

Read the full file on GitHub · 1,085 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. today Changed · +45 lines · +1,452 tokens per session 311cad6dafa3
  2. 12d ago Changed · +21 lines · +497 tokens per session 04659c742108
  3. 15d ago Changed · +184 lines · +4,368 tokens per session b6760ae69d6e
  4. 1mo ago Changed · +46 lines · +881 tokens per session 610fd51628ac
  5. 1mo ago Changed · +104 lines · +1,383 tokens per session 4dd935ac724a
  6. 1mo ago Changed · +83 lines · +1,711 tokens per session scan B → A 5dd87abd725a
  7. 1mo ago First seen · 602 lines · 5,570 tokens per session scan B 3631520d557c

Subscribe to this mod's changes

computer-use-mcp AGENTS.md is an instructions file published in the GitHub repository zavora-ai/computer-use-mcp (86 stars, last pushed yesterday), licensed MIT. It adds 15,862 tokens to every session, about $0.0634 per session on Opus 5.5. A static security scan graded it A with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other instructions, from other repositories

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 9,715 tokens

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,581 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, cache eligibility and rollout and applying the notice (cutover).

microsoft/vscode · 5,262 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,680 tokens

vscode copilot-instructions.md

Copilot instructions for microsoft/vscode, covering vs code copilot instructions, project overview, root folders, core architecture (src/ folder) and built-in extensions (extensions/ folder).

microsoft/vscode · 2,731 tokens

deepseek-harness AGENTS.md

AGENTS.md instructions for deepseek-ai/deepseek-harness, covering agents.md, pre-stable apis and released session data, repository layout, commands and host sandbox failures.

deepseek-ai/deepseek-harness · 4,261 tokens