Skip to main content

run

Hand a task to Codex with a preset (consult, plan, implement, research, quick) and report the envelope. Use for "/codex-bridge:run <task>".

Source facts

Repository
collisionengineers/claude-using-codex-skill
Last source activity
September 3, 2026 at 15:39
Detected SKILL.md language
English
Stars
0
Forks
0

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.

Showing SKILL.md

SKILL.md
Source instructions · Read-only preview
name
run
description
Hand a task to Codex with a preset (consult, plan, implement, research, quick) and report the envelope. Use for "/codex-bridge:run <task>".
argument-hint
[--preset consult|plan|implement|research|quick] [--write] [--model M] [--effort E] [--bg] <task text>
disable-model-invocation
true
allowed-tools
Bash(node:*), Read, AskUserQuestion
Run one Codex turn with the codex-bridge runtime and present the result. ## Steps 1. Parse `$ARGUMENTS`. Routing flags: `--preset <name>` (default `consult`), `--write` (workspace-write sandbox), `--model`, `--effort`, `--timeout`, `--bg` (run in background). Everything else is the task text. If the task text is empty, ask for it. 2. If the task text is longer than about 40 words, write it to a temp file and use `--task-file`; otherwise pass `--task "<text>"`. 3. Run: ``` node "${CLAUDE_PLUGIN_ROOT}/scripts/codex-bridge.mjs" run --preset <preset> [flags] --task "<text>" ``` With `--bg`, or when the preset is `implement` or `plan`, use Bash `run_in_background: true` and tell the user the run is in progress; the envelope arrives with the completion notification. 4. Present the envelope: status, the `summary` verbatim (it is already formatted by the preset contract), `files_changed` when non-empty, `duration_s`, and the `thread_id` with the hint that `/codex-bridge:resume` continues it. Mention `out_file` only if `summary` was truncated. 5. On `status: failed`, show `error` and, for `Unauthorized` or "not found" errors, suggest `/codex-bridge:doctor`. Do not paste file contents into the task. Codex reads the repository itself; name paths instead.
View on GitHub