codex-sub-agents
由 adamsardo 提供
Coding Agents & IDEs简介
Use OpenAI Codex CLI for coding tasks.
描述
该技能的功能
Integrates OpenAI Codex CLI into Clawdbot as a subagent or direct coding tool. Codex runs locally with full filesystem access, handling code review, refactoring, bug fixes, CI repairs, and feature implementation. Works in interactive TUI mode or as a non-interactive scripting target.
Unlike chat-only AI tools, Codex CLI runs locally with file read, edit, and command execution access, so it can make and verify changes without manual copy-paste.
何时使用
- Fixing all ESLint errors before a PR merge
- Reviewing uncommitted changes for security issues
- Refactoring a React component to use React Query
- Implementing a UI feature from a design screenshot
- Repairing a failing CI lint or build step
示例工作流
User asks: Fix the TypeScript errors in src/components
- 1
Runs
codex exec --full-auto --cd src/componentswith the fix instruction - 2
Codex reads component files and identifies type errors
- 3
Codex edits each file to resolve the errors
- 4
Codex runs the TypeScript compiler to verify no errors remain
All TypeScript errors in src/components resolved and verified by tsc
前置要求
- ChatGPT Plus, Pro, Business, or Enterprise subscription (for OAuth login), or an OpenAI API key as an alternative
安装
clawhub install adamsardo/codex-sub-agents运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。