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>".

来源信息

仓库
collisionengineers/claude-using-codex-skill
最近来源活动
2026年9月3日 15:39
检测到的 SKILL.md 语言
英语
星标
0
Forks
0

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
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.
在 GitHub 查看