Index of every page on this site: llms.txt
All skills
mia-cx avatar

/codex-computer-use

@7acdf71
by mia.cxmia-cx/skills4 stars
Run it yourself

Use when the user asks to test a flow, verify UI behavior, inspect a running app, or capture screenshots.

Use this Skill: https://skilld.dev/gh/mia-cx/skills/codex-computer-use

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈31 tokens for metadata: the name and description. ≈706 when used: this file.

Description uses 1.6% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈126 characters, or 1.6%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

Codex Computer Use

Use Codex as a separate local verification agent when the task needs real UI interaction, screenshots, simulator/browser/device state, or an independent runtime check outside the current context. For code reading, typechecking, linting, or tests, run them directly instead — no computer use needed.

Launching apps, simulators, or browsers to verify the requested work is fine without asking; ask first only if the run could disrupt the user's environment beyond that (closing their apps, changing system settings, acting on real accounts or data).

Environment

Capability depends on where this runs — check before dispatching:

  • Browser automation (the common case): Codex drives Chrome via CDP (browser_use feature, stable and enabled). Needs Chrome and a display; works on the laptop, not on a headless devbox.
  • Full OS control (native apps, simulators, cross-app flows): requires the Codex desktop app on macOS or Windows — macOS needs Screen Recording + Accessibility permissions. Linux is unsupported.
  • Headless environment (no display/Chrome): report that computer use is unavailable and fall back to non-GUI verification — curl the endpoints, run the test suite, read logs.

Workflow

  1. Confirm the target is reachable: app running, URL or app name known, test credentials if the flow needs them.
  2. Create a temporary artifact directory: ARTIFACT_DIR="$(mktemp -d "${TMPDIR:-/tmp}/codex-verify.XXXXXX")".
  3. Launch the verification prompt below with delegate_task:
{
  "task": "<verification prompt>",
  "title": "Codex verify: <flow>",
  "role": "test",
  "mode": "async",
  "target": { "providerInstanceId": "codex", "model": "gpt-6.1-sol", "options": { "reasoningEffort": "medium" } }
}
  1. End your turn; the completion notification wakes you. Then read $ARTIFACT_DIR/report.md and check git status for stray edits.

Verification Prompt

Keep it simple and self-contained:

You are a subagent. Don't run memo.

Verify this flow in <app / URL>:

1. <step>
2. <step>
3. <expected outcome>

Use the browser to walk the flow. Save a screenshot per step to <artifact dir> and write <artifact dir>/report.md with pass/fail per step, each referencing its screenshot.

Report only — do not edit any files outside <artifact dir>. If a step cannot be completed, capture the failing state and say exactly where it stopped. If everything passes, say so explicitly.

Keep "do not edit": the child has write access to the shared checkout, and sol is eager to start fixing what it finds broken.

Reporting Back

Read the report and look at the screenshots yourself before relaying anything; separate confirmed behavior from Codex claims you did not verify, and relay results with their evidence (which steps, which screenshots).

Source: SKILL.md on GitHub

No rule matched.

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

1 warning24d3 checks · Risk SAFE
  • Gen Agent Trust Hub24d

    This skill provides a template for delegating UI verification and browser automation tasks to a subagent. It includes instructions for managing test artifacts in temporary directories and emphasizes safety boundaries during automated interactions.

  • Socket24d

    No alerts

  • Snyk24d

    Risk: MEDIUM · 1 issue

Signed by skilld at 7acdf71. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 3 days ago.

Activeupdated last month

README badge

README badge for mia-cx/skills/codex-computer-use