返回顶部
c

codex-orchestratorCodex编排器

Monitor, control, and orchestrate background Codex sessions. Use this skill to track progress, handle interruptions, and ensure task completion for long-running coding tasks.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
3,265
下载量
免费
免费
1
收藏
概述
安装方式
版本历史

codex-orchestrator

Codex Orchestrator

该技能提供了一种工作流程,用于监督在后台进程中运行的Codex编码代理。

工作流程

1. 启动(Launch)

始终在后台PTY会话中启动Codex,以保持交互性,同时不阻塞主代理。

bash
bash pty:true workdir:<目标目录> background:true command:codex exec --full-auto <提示词>

  • * 保存返回的sessionId。
  • 如果sessionId丢失,可通过process action:list查找。

2. 监控(Watch)

定期检查进度(例如,通过cron或手动检查)。

bash

获取最后2KB日志以查看当前状态


process action:log sessionId: limit:2000

活跃迹象:

  • * 旋转动画或进度条更新。
  • 工作中...、思考中...、运行中...。
  • 文件编辑(Edit ...)。

阻塞迹象:

  • * 交互式提示(例如,选择目录、批准更改 [y/n])。
  • 超过5分钟无日志输出(进程可能挂起或等待隐藏输入)。

3. 干预(Control)

如果Codex卡在提示处:

bash

发送y和回车


process action:submit sessionId: data:y

仅发送回车(默认选项)

process action:submit sessionId: data:

如果Codex陷入循环或产生幻觉:
bash

终止会话


process action:kill sessionId:

4. 报告(Notify)

当达到重要里程碑或任务完成时:
  1. 1. 总结已完成的工作(更改的文件、通过的测试)。
  2. 通知用户。

标准操作程序(SOPs)

卡住代理协议

  1. 1. 诊断:运行process action:log sessionId: limit:500。
  2. 分析:它是在提问?还是在下载?
  3. 操作
* 如果在提问:通过submit提供答案。 * 如果在下载(缓慢):等待。 * 如果静默超过10分钟:发送唤醒(例如submit data:\n刷新提示)或终止/恢复。

恢复协议

如果会话终止或被杀死:
  1. 1. 在新的后台进程中运行codex resume --last或codex resume
  2. 验证它已恢复上下文。

日志与工件

  • * Codex日志在PTY缓冲区中是临时的。
  • 如需持久化日志,指示Codex写入文件:codex exec 任务... > codex.log 2>&1(注意:缓冲可能导致输出延迟)。
  • 更好的做法:使用process action:log定期快照缓冲区。

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 codex-orchestrator-1776351136 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 codex-orchestrator-1776351136 技能

通过命令行安装

skillhub install codex-orchestrator-1776351136

下载

⬇ 下载 codex-orchestrator v1.0.0(免费)

文件大小: 1.93 KB | 发布时间: 2026-4-17 15:15

v1.0.0 最新 2026-4-17 15:15
Initial release of codex-orchestrator skill:

- Enables monitoring, control, and orchestration of background Codex coding sessions.
- Introduces workflow for launching Codex in background PTY sessions and tracking progress.
- Provides procedures for handling stuck processes, interacting with prompts, and killing unresponsive sessions.
- Describes standard operating protocols for diagnosing and resuming tasks.
- Outlines best practices for log retrieval, reporting, and maintaining records of coding activity.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部