codex-computer-use

codex-computer-use is a skill for Claude Code, Codex from duolahypercho/codex-router. It costs 110 tokens per session (487 once invoked), scanned A, original, MIT.

A computer-control tool for operating local desktop applications through their user interfaces, such as Safari or Chrome.

In plain words
What is it for?
It is for controlling desktop apps, browsing in a graphical browser, and interacting with visible application interfaces.
Why use it?
It helps an agent perform tasks that require clicking, typing, or reading information in an application when a direct connector or command-line tool is unavailable.

Skill for Claude CodeCodex

About the project

Codex Router is a local model-routing setup that connects Codex and several other coding agents to external providers such as Kimi, DeepSeek, Anthropic, xAI, and GitHub Copilot. It is for users who want to configure routed models and manage provider credentials locally across supported agent clients. Its catalogue entries provide skills and instructions for installing and operating the router.

duolahypercho/codex-router · 3,019 stars · on GitHub

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.

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

Made for: Claude Code, 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/duolahypercho/codex-router/codex-computer-use.svg)](https://agentmods.dev/skills/duolahypercho/codex-router/codex-computer-use)
Your own site
<a href="https://agentmods.dev/skills/duolahypercho/codex-router/codex-computer-use"><img src="https://agentmods.dev/badge/skills/duolahypercho/codex-router/codex-computer-use.svg" alt="Measured on agentmods" 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 487 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00110 $0.00487
Opus 5 $0.00055 $0.00244
Sonnet 5 $0.00022 $0.00097
Haiku 4.5 $0.00011 $0.00049

Measured 5d ago against content hash a4ad542b2970, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 5d 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.

skills/codex-computer-use/SKILL.md · 50 lines

What it actually says

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.

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. 5d ago First seen · 50 lines · 110 tokens per session scan A a4ad542b2970

Subscribe to this mod's changes

codex-computer-use is a skill published in the GitHub repository duolahypercho/codex-router (3,019 stars, last pushed yesterday), licensed MIT. It adds 110 tokens to every session and 487 once invoked, about $0.0006 per session on Opus 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.