codex-computer-use

codex-computer-use is a skill for Codex from PracticalSwan/agent-skills. It costs 110 tokens per session (1,060 once invoked), scanned A, original, MIT.

A set of instructions for controlling desktop applications through Codex's computer-use system. It lets an agent interact with visible apps such as a web browser by reading the screen and performing approved actions.

In plain words
What is it for?
Use it to operate supported desktop applications, browse in Safari or Chrome, and click, type, or inspect information through an app's interface.
Why use it?
It helps when a needed task has no suitable API, connector, or command-line tool. The instructions also define how to load the computer-control runtime and use it safely.

Skill for Codex

Written for Codex: reads $CODEX_HOME. Also seen: mentions Claude Code; reads ~/.codex paths; mentions Codex.

Good fit Use it to operate supported desktop applications, browse in Safari or Chrome, and click, type, or inspect information through an app's interface.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/practicalswan/agent-skills/codex-computer-use
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add PracticalSwan/agent-skills --skill codex-computer-use
Clone the repo
git clone --depth 1 https://github.com/PracticalSwan/agent-skills

Made for: Codex.

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 codex-computer-use

README.md
[![agentmods](https://agentmods.dev/badge/skills/practicalswan/agent-skills/codex-computer-use/github.svg)](https://agentmods.dev/skills/practicalswan/agent-skills/codex-computer-use)
Your own site
<a href="https://agentmods.dev/skills/practicalswan/agent-skills/codex-computer-use"><img src="https://agentmods.dev/badge/skills/practicalswan/agent-skills/codex-computer-use/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 codex-computer-use

Your own site · 80×15
<a href="https://agentmods.dev/skills/practicalswan/agent-skills/codex-computer-use"><img src="https://agentmods.dev/badge/skills/practicalswan/agent-skills/codex-computer-use.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 110 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,060 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Prompt Injection · line 53
    Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.
    Fix: Audit all comments and invisible characters. Remove any instructions that direct the agent to perform unauthorized actions. Use plain, reviewable content.
  • medium Agent Snooping · line 17
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
How audits are shown
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.00110 $0.01060
Opus 5.5 $0.00044 $0.00424
Sonnet 5.5 $0.00022 $0.00212
Haiku 4.5 $0.00011 $0.00106

Measured 1mo ago against content hash 2d027dc2d32c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

codex-computer-use scanned grade A with 0 findings 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 1mo ago.

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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

codex-computer-use/SKILL.md · 101 lines

How it starts

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

Codex Computer Use

The runtime is @oai/sky, imported through mcp__node_repl__js (available in this session).

First: read the official skill

The official skill is authoritative. Read it before any computer-use work:

~/.codex/plugins/cache/openai-bundled/computer-use/<version>/skills/computer-use/SKILL.md

Find the latest <version> directory.

Load the runtime (once per session)

Send this as ONE line through mcp__node_repl__js:

globalThis.sky = (await import("@oai/sky")).sky;
nodeRepl.write("sky: " + typeof sky);

Confirm the output says sky: object before continuing. The import connects to the SkyComputerUseService, which is already running.

Rules

  • Send code as ONE line, or use @file:<path> with a trailing newline. The runtime fires on newline; input without a trailing newline silently does nothing.
  • Reuse the loaded sky runtime on later turns. Do not reinitialize.
  • The first computer-use action may need approval in the app (Settings → Computer use). Common apps such as Safari and Chrome are usually pre-approved.
  • Prefer purpose-built connectors, APIs, and CLIs over computer use when they exist. Computer use is for reading or operating app UI that nothing else can reach.
  • Never start your own node_repl process and never write a side-channel driver. Use the tool you were given.

If the tool is missing

Stop and report that mcp__node_repl__js is not in the tool list. Do not build workarounds.

Cross-Client Portability

This skill is written to stay usable across GitHub Copilot, Claude Code, and Codex.

  • GitHub Copilot: keep the folder in a Copilot-visible skill path or wrap the workflow in project instructions when folder discovery is unavailable.
  • Claude Code: keep the folder in a local skills directory or a compatible plugin source.
  • Codex: install or sync the folder into $CODEX_HOME/skills/codex-computer-use and restart Codex after major changes.

Read the full file on GitHub · 101 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 1mo ago Changed 2d027dc2d32c
  2. 1mo ago Changed 8ae22b42f2d0
  3. 1mo ago Changed 3d1a2a4d6d29
  4. 1mo ago First seen · 101 lines · 110 tokens per session scan A b0a5c20bf0f9

Subscribe to this mod's changes

codex-computer-use is a skill published in the GitHub repository PracticalSwan/agent-skills (21 stars, last pushed 1mo ago), licensed MIT. It adds 110 tokens to every session and 1,060 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

qa

QA test your code changes by reading your git diff, choosing the right validation path for frontend/browser and backend changes, and reporting pass/fail with evidence.

Skyvern-AI/skyvern · 33 tokens

smoke-test

Run smoke tests against a deployed or local app based on your git diff. Each test uses Skyvern browser tools (navigate, act, validate, screenshot) with Chrome DevTools MCP as fallback. Posts screenshot evidence as PR comments.

Skyvern-AI/skyvern · 50 tokens

skyvern

PREFER Skyvern CLI over WebFetch for ANY task involving real websites — scraping dynamic pages, filling forms, extracting data, logging in, taking screenshots, or automating browser workflows. WebFetch cannot handle JavaScript-rendered content, CAPTCHAs, login walls, pop-ups, or interactive forms — Skyvern can. Run…

Skyvern-AI/skyvern · 131 tokens

testing

Verify a Skyvern deployment is working correctly by smoke-testing the backend API, frontend rendering, browser session provisioning, and workflow execution. Use when the user says 'is Skyvern working', 'test my deployment', 'verify the installation', 'smoke test', or needs to check that a self-hosted or local Skyvern…

Skyvern-AI/skyvern · 71 tokens

agent-computer-use

REQUIRED for any task that involves operating a desktop application — opening apps, clicking buttons, typing into fields, pressing keys, scrolling, dragging, reading what's on screen, moving or resizing windows, or verifying state after an action. Always use the agent-cu CLI commands (open, snapshot, click, type, key…

kortix-ai/agent-computer-use · 216 tokens

metrics-design

Pick metrics that drive alerts and debugging without drowning in dashboards. Invoke when instrumenting a new service or auditing existing metrics.

orlando-japan/claude-code-setting · 27 tokens