codex-lanes
仓库创建 2026年6月23日最近提交 5 天前SkillHot 收录 1 天前
▸ 精选理由
统一调用模式并内置失败守卫,减少 Codex-CLI 使用中的常见错误。
▸ 风险提示
包含对本地 codex CLI 的调用与检查,可能需要执行本地二进制或高权限。
这个 Skill 做什么
为 codex exec 调用提供统一的 lane、守卫与结果 schema 的参考配方。
给所有用到 codex exec 的调用提供统一模板:包含必要的可用性检查、实现与复核两个 lane(implementer 与 review)、结果 schema 和对抗性提示。每次组装 codex 调用时用它来避免漏掉 guard 或 lane,保证调用一致且可失败回溯。把常见失败映射和规范化参数都固定下来了,方便复用。
▸ 展开 SKILL.md 英文原文
Reference recipe for invoking the Codex CLI (`codex exec`) from the codex-flow skills. Use when composing any codex exec call - it carries the mandatory guards, the implementer (terra/low) and review (sol/xhigh) lanes, the result schema, and the adversarial prompts. Loaded by brainstorming-codex, writing-plans-codex, and sdd-with-codex-implementer.
1
Stars
0
Forks
5
仓库内 Skill
积累中
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/hugo-clemente/codex-flow/main/skills/codex-lanes/SKILL.md或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/hugo-clemente/codex-flow/main/skills/codex-lanes/SKILL.md"SKILL.MD 节选查看完整文件 ↗
# Codex `codex exec` lanes (shared recipe)
Shared invocation recipe for the codex-flow skills. Read this before composing any
`codex exec` call. The guards below are not optional; each maps to a real Codex-CLI failure.
## 1. Availability gate (run once, before any Codex step)
```bash
command -v codex >/dev/null 2>&1 && echo HAVE_CODEX || echo NO_CODEX
```
`NO_CODEX` → skip the Codex seam, run the plain `superpowers:*` skill instead, tell the user
once ("Codex CLI not found — running plain superpowers"). Never fabricate Codex output or pass
off a Claude self-review as the Codex pass.
## 2. Guards — on EVERY `codex exec` call
- **stdin must be fed or closed.** Either pipe the prompt in (via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有