Microcarft

Codex Orchestrator

AI 智能体v1.0.0
作者:Microcarft更新于 2026-05-18codex-orchestrator@clawhub_microcarft/codex-orchestrator
任务自动化工作流编排#Coding

据 AlphaMoat 统计,截至 2026-10,Codex Orchestrator 累计下载 6,588 次、获 1 个星标,按累计下载量在本次参与排名的 10,914 个 AI 技能中排名第 4,320 位,在「AI 智能体」分类(1,632 个)中排名第 581 位。

列表默认按累计下载量排序,也可按星标排序;详情页排名按累计下载量计算。

累计下载
6,588
星标
1
全站下载量排名
#4,320
全站前 40% · 「AI 智能体」前 36%
平台累计下载星标评论
ClawHub ↗5,0521-
SkillHub ↗6,5881—

各平台的计数口径不同,统计时间不一致。

这个技能是做什么的

该技能提供后台任务启动、查看日志、诊断交互提示或卡住状态、必要时停止进程以及向用户报告进展的流程。主文建议在后台 PTY 中运行 Codex,以保持主对话可交互;若任务循环或异常,应按指导调查并处理。此技能是操作指南,不表示已经启动任何任务。

资料发布于 2026-10-27

可以用来做什么

  • 跟踪后台 Codex 编码任务的状态
  • 诊断进程等待输入或持续循环的问题

什么时候用

  • 较长编码任务需要在后台运行并保持对话可用时
  • 需要查看日志、处理提示或报告阶段进展时

示例提示词

以下是根据技能文档生成的示例,不代表实际运行结果。

检查后台 Codex 会话的最新日志,并总结是否在等待输入
说明这个长任务的监控与停止条件,不要阻塞当前对话

月度数据趋势

累计下载6,588
3,0054,9296,8532026-03 · 累计下载 3,2702026-05 · 累计下载 4,0752026-07 · 累计下载 4,6012026-08 · 累计下载 4,7672026-09 · 累计下载 5,0722026-10 · 累计下载 6,58826-0326-0926-10
星标1
0122026-03 · 星标 12026-05 · 星标 12026-07 · 星标 12026-08 · 星标 12026-09 · 星标 12026-10 · 星标 126-0326-0926-10

2026-09 起统计方法调整:同名技能按作者分别统计,并覆盖全部技能。图中虚线为调整前的月份,与之后的数据不直接比较,也不计算跨越调整的增长。

月份累计下载环比星标
2026-106,588—1
2026-095,072—1
2026-084,767+3.6%1
2026-074,601—1
2026-054,075—1
2026-033,270—1

SKILL.md 原文

以下是作者发布的原始文件,按纯文本显示,本站未做修改或审核;其中的链接不可点击,命令请核实后再运行。抓取于 2026-10-23。

2.5 KB · ClawHub v1.0.0
---
name: codex-orchestrator
description: Monitor, control, and orchestrate background Codex sessions. Use this skill to track progress, handle interruptions, and ensure task completion for long-running coding tasks.
---

# Codex Orchestrator

This skill provides a workflow for supervising the Codex coding agent running in background processes.

## Workflow
展开全部(共 79 行)

### 1. Start (Launch)
Always launch Codex in a background PTY session to maintain interactivity without blocking the main agent.

```bash
bash pty:true workdir:<target_dir> background:true command:"codex exec --full-auto '<PROMPT>'"
```
*   Store the returned `sessionId`.
*   If `sessionId` is lost, find it via `process action:list`.

### 2. Monitor (Watch)
Check progress regularly (e.g., via cron or manual check).

```bash
# Get last 2KB of logs to see current status
process action:log sessionId:<id> limit:2000
```

**Signs of life:**
*   Spinner animations or progress bars updating.
*   "Working...", "Thinking...", "Running...".
*   File edits (`Edit ...`).

**Signs of blockage:**
*   Interactive prompts (e.g., "Select directory", "Approve change [y/n]").
*   No log output for >5 minutes (process might be hung or waiting for hidden input).

### 3. Intervene (Control)
If Codex is stuck at a prompt:

```bash
# Send 'y' and Enter
process action:submit sessionId:<id> data:"y"

# Send just Enter (default choice)
process action:submit sessionId:<id> data:""
```

If Codex is looping or hallucinating:
```bash
# Kill the session
process action:kill sessionId:<id>
```

### 4. Report (Notify)
When a significant milestone is reached or the task is done:
1.  Summarize the work done (files changed, tests passed).
2.  Notify the user.

## Standard Operating Procedures (SOPs)

### "The Stuck Agent" Protocol
1.  **Diagnose**: Run `process action:log sessionId:<id> limit:500`.
2.  **Analyze**: Is it asking a question? Is it downloading?
3.  **Action**:
    *   If asking: Provide answer via `submit`.
    *   If downloading (slow): Wait.
    *   If silent >10m: Send a "poke" (e.g. `submit data:"\n"` to refresh prompt) or kill/resume.

### "The Resume" Protocol
If a session died or was killed:
1.  Run `codex resume --last` or `codex resume <session_id>` in a new background process.
2.  Verify it picked up the context.

## Logs & Artifacts
*   Codex logs are ephemeral in the PTY buffer.
*   For persistent logs, instruct Codex to write to a file: `codex exec "task..." > codex.log 2>&1` (Note: buffering may delay output).
*   Better: Use `process action:log` to snapshot the buffer periodically.

「AI 智能体」分类下的热门技能

数据月份:2026-10 · 下载/星标数聚合自公开技能注册库(ClawHub、SkillHub),按月更新。口径说明见数据方法。