codex-orchestrator
由 microcarft 提供
Coding Agents & IDEs简介
Monitor, control, and orchestrate background Codex sessions.
描述
该技能的功能
Workflow for supervising OpenAI Codex coding agent sessions running in background PTY processes. Covers launching sessions, monitoring log output, intervening at stuck prompts, and resuming killed sessions.
Lets you run Codex tasks fully asynchronously and intervene programmatically without keeping an interactive terminal session open.
何时使用
- Running a large refactor job in the background while continuing other work
- Detecting when Codex is waiting for an interactive prompt mid-task
- Sending approval input to a blocked Codex session without reopening a terminal
- Recovering a Codex session after a crash or manual kill
- Tracking multiple parallel Codex tasks by session ID
示例工作流
User asks: Run a full-auto Codex session to add input validation to the checkout module
- 1
Launch Codex in a background PTY session with the prompt and store the returned sessionId
- 2
Poll logs every few minutes using process action:log to check for progress or blockage
- 3
Detect an interactive approval prompt in the log output
- 4
Send 'y' via process action:submit to unblock the session
- 5
Wait for task completion, then summarize changed files and notify the user
Checkout module updated with input validation, Codex session completed without manual terminal intervention
前置要求
- OpenAI API key (required by Codex CLI)
安装
clawhub install microcarft/codex-orchestrator运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。