跳到正文
TakoAPI
返回技能列表

codex-sub-agents-1

由 phucanh08 提供

Coding Agents & IDEs
906下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Use OpenAI Codex CLI for coding tasks.

描述

该技能的功能

OpenAI Codex CLI (`codex`) is a locally-run coding agent with full filesystem access. It handles code review, refactoring, bug fixes, CI repairs, and feature implementation through a terminal UI or non-interactive scripting mode. It can also run as a subagent or MCP server within Clawdbot setups.

Unlike chat-based AI tools, Codex CLI runs locally with actual file editing and command execution, so it applies changes directly rather than just suggesting them.

何时使用

  • Fix failing CI lint or build errors automatically
  • Review uncommitted changes before a commit
  • Refactor a component to use a different data-fetching pattern
  • Implement a feature from a design spec screenshot
  • Explore and explain an unfamiliar codebase

示例工作流

输入

User asks: The CI is failing on the lint step, fix all ESLint errors

智能体
  1. 1

    Run codex exec --full-auto "The CI is failing on the lint step. Fix all ESLint errors."

  2. 2

    Codex reads the project files and identifies ESLint violations

  3. 3

    Edits the offending files to resolve each lint error

  4. 4

    Re-runs the lint command to verify all errors are cleared

输出

All ESLint errors fixed across the codebase, CI lint step passes

前置要求

  • ChatGPT Plus, Pro, Business, or Enterprise subscription
  • OPENAI_API_KEY environment variable (alternative to subscription OAuth login)

安装

clawhub install phucanh08/codex-sub-agents-1

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接