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 位。

列表預設按累計下載量排序,也可按星標排序;詳情頁排名按累計下載量計算。

累計下載
6588
星標
1
全站下載量排名
#4,320
全站前 40% · 「AI 智慧體」前 36%
平台累計下載星標評論
ClawHub ↗50521-
SkillHub ↗65881—

各平台的計數口徑不同,統計時間不一致。

這個技能是做什麼的

該技能提供後臺任務啟動、檢視日誌、診斷互動提示或卡住狀態、必要時停止程序以及向使用者報告進展的流程。主文建議在後臺 PTY 中執行 Codex,以保持主對話可互動;若任務迴圈或異常,應按指導調查並處理。此技能是操作指南,不表示已經啟動任何任務。

資料釋出於 2026-10-27

可以用來做什麼

  • 跟蹤後臺 Codex 編碼任務的狀態
  • 診斷程序等待輸入或持續迴圈的問題

什麼時候用

  • 較長編碼任務需要在後臺執行並保持對話可用時
  • 需要檢視日誌、處理提示或報告階段進展時

示例提示詞

以下是根據技能文件生成的示例,不代表實際執行結果。

檢查後臺 Codex 會話的最新日誌,並總結是否在等待輸入
說明這個長任務的監控與停止條件,不要阻塞當前對話

月度資料趨勢

累計下載6588
3005492968532026-03 · 累計下載 32702026-05 · 累計下載 40752026-07 · 累計下載 46012026-08 · 累計下載 47672026-09 · 累計下載 50722026-10 · 累計下載 658826-0326-0926-10
星標1
0122026-03 · 星標 12026-05 · 星標 12026-07 · 星標 12026-08 · 星標 12026-09 · 星標 12026-10 · 星標 126-0326-0926-10

2026-09 起統計方法調整:同名技能按作者分別統計,並覆蓋全部技能。圖中虛線為調整前的月份,與之後的資料不直接比較,也不計算跨越調整的增長。

月份累計下載環比星標
2026-106588—1
2026-095072—1
2026-084767+3.6%1
2026-074601—1
2026-054075—1
2026-033270—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),按月更新。口徑說明見資料方法。