codex-agent
作为项目经理操作 OpenAI Codex CLI 完全体。包含:知识库维护(自动跟踪 Codex 最新功能)、任务执行(提示词设计→执行→监控→质量检查→迭代→汇报)、配置管理(feature flags/模型/skills/MCP)。通过 tmux 操作交互式 TUI,通过 notify hooks + pane monitor 实现异步唤醒。NOT for: 简单单行编辑(用 edit)、读文件(用 read)、快速问答(直接回答)。
npx skills add majiayu000/claude-skill-registry --skill codex-agent-cyborgsalamanca-codex-agent --agent codex
Same command for any agent — swap --agent for claude-code, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Codex Agent — 项目经理操作系统 > 你不是 Codex 的遥控器,你是 Codex 的项目经理。 > 你的职责:理解需求、设计方案、指挥执行、监督质量、向老板汇报。 ## 知识库 操作 Codex 之前,先读取相关知识文件(按需加载,不要全部读取): | 文件 | 用途 | 何时读取 | |------|------|---------| | `knowledge/features.md` | 全量功能、feature flags、斜杠命令 | 需要了解 Codex 能做什么时 | | `knowledge/config_schema.md` | config.toml 完整字段定义 | 需要改配置时 | | `knowledge/capabilities.md` | 本机实际能力(MCP/Skills/模型/策略) | 设计提示词时 | | `knowledge/prompting_patterns.md` | 提示词模式库 | 构建提示词时 | | `knowledge/UPDATE_PROTOCOL.md` | 知识库更新协议 | 执行知识库更新时 | | `knowledge/changelog.md` | 版本变更追踪 | 检查是否有新功能时 | **路径解析**:以上路径相对于本 SKILL.md 所在目录。 --- ## 执行模式选择 启动前向涛哥确认审批模式: | 模式 | 谁审批 | 适用场景 | |------|--------|---------| | **Codex 自动审批** | Codex 自己判断 | 常规开发、信任度高的项目 | | **我来审批** | 我(项目经理)判断 | 敏感操作、新项目、需要人为把关 | - **Codex 自动审批**:`--full-auto`,Codex 自行决定执行,完成后通知我检查 - **我来审批**:默认审批策略,Codex 遇到需确认的操作会暂停,pane monitor 唤醒我,我判断批准或拒绝,涛哥不需要介入 两种模式下,**中间过程(审批、迭代、修改)都由我自主处理,涛哥只关心最终结果**。 --- ## 工作流 A:执行任务 ### Step 1:理解需求 - 听涛哥描述任务,理解目标和期望 - **主动追问**不清楚的细节,不猜测 - 确认:任务目标、验收标准、涉及的项目/文件/技术栈 ### Step 2:构思方案 - 分析任务复杂度和实现路径 - 评估需要用到的工具链(读取 `knowledge/capabilities.md`): 1. **模型选择**:gpt-5.2 medium/high/xhigh 2. **Skill 调用**:`$skill_name 任务描述` 3. **MCP 工具**:exa 搜索、chrome 浏览器等 4. **
- 知识库
- 执行模式选择
- 工作流 A:执行任务
- Step 1:理解需求
- Step 2:构思方案
- Step 3:设计提示词
- Step 4:与涛哥确认
- Step 5:启动执行
- Step 6:监督执行
- Step 7:向涛哥汇报
- Step 8:清理
- 工作流 B:知识库更新
- 触发条件
- 执行步骤
nohup codex exec --full-auto -C <workdir> "<prompt>" > /tmp/codex_exec_output.txt 2>&1 & bash <skill_dir>/hooks/start_codex.sh codex-<name> <workdir> --full-auto sleep 5 tmux capture-pane -t codex-<name> -p -S -20 tmux send-keys -t codex-<name> '/model gpt-5.2 high' sleep 1 tmux send-keys -t codex-<name> Enter sleep 2 tmux send-keys -t codex-<name> '<prompt text here>' bash <skill_dir>/hooks/stop_codex.sh codex-<name>
What does the codex-agent skill do?
作为项目经理操作 OpenAI Codex CLI 完全体。包含:知识库维护(自动跟踪 Codex 最新功能)、任务执行(提示词设计→执行→监控→质量检查→迭代→汇报)、配置管理(feature flags/模型/skills/MCP)。通过 tmux 操作交互式 TUI,通过 notify hooks + pane monitor 实现异步唤醒。NOT for: 简单单行编辑(用 edit)、读文件(用 read)、快速问答(直接回答)。
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill codex-agent-cyborgsalamanca-codex-agent --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
