ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified developer tools Safety 2/5

codex-agent

作为项目经理操作 OpenAI Codex CLI 完全体。包含:知识库维护(自动跟踪 Codex 最新功能)、任务执行(提示词设计→执行→监控→质量检查→迭代→汇报)、配置管理(feature flags/模型/skills/MCP)。通过 tmux 操作交互式 TUI,通过 notify hooks + pane monitor 实现异步唤醒。NOT for: 简单单行编辑(用 edit)、读文件(用 read)、快速问答(直接回答)。

Why use this skill?

Supercharge your development with codex-agent. An autonomous project manager that handles prompting, TUI interaction, quality checks, and configuration for OpenAI Codex.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/henryxiaoyang/codex-agent
Or

What This Skill Does

Codex-agent is a specialized, autonomous project manager for the OpenAI Codex CLI. Unlike simple wrapper tools, this agent is designed to orchestrate complex development lifecycles by managing knowledge bases, designing prompts, executing commands via tmux TUI, and performing autonomous quality checks. It handles the entire end-to-end process: from requirement analysis and configuration management (feature flags, models) to iterative execution and final reporting. It utilizes notify hooks and pane monitors to remain asynchronous, waking up only when intervention or final review is required. It is an expert-level tool designed for managing sophisticated AI-driven coding tasks without constant manual input.

Installation

To integrate this agent into your OpenClaw environment, execute the following command in your terminal: clawhub install openclaw/skills/skills/henryxiaoyang/codex-agent Ensure you have a configured knowledge/ directory in your workspace as defined by the protocol (features, config_schema, etc.) to allow the agent to function effectively.

Use Cases

  • Project Management: Coordinating multi-step coding tasks where planning and validation are critical.
  • Complex Refactoring: Using the agent to read architectural constraints and iterate on code across multiple files.
  • Configuration Management: Automatically managing config.toml updates and feature flag toggling across development environments.
  • Automated Testing & Monitoring: Deploying code and monitoring TUI output for errors, then deciding whether to trigger a rewrite or mark the task as complete.

Example Prompts

  1. "Codex-agent, initiate a TUI session to refactor the authentication module, using the 'high' model variant and prioritizing the security patterns defined in our knowledge base."
  2. "Review the current implementation status of the dashboard feature. Check for any errors in the recent logs and proceed to the next iteration if the unit tests fail."
  3. "Set up a new development task for the inventory API. Design a prompt that ensures the code follows our existing schema definitions and deploy it using full-auto mode."

Tips & Limitations

  • Proactive Communication: The agent expects you to define the 'approval mode'. Always clarify if you want 'full-auto' (agent decides) or 'human-in-the-loop' (you approve).
  • Timing: When using the TUI, remember that the agent manages the sleep intervals to ensure the CLI processes inputs correctly. Do not manually interrupt the tmux session during execution.
  • Scope: This agent is NOT for quick single-line edits. For trivial changes, use the dedicated 'edit' skill; for simple information extraction, use 'read'. Use codex-agent specifically when a task requires a project manager's oversight, planning, and multiple iterative steps.

Metadata

Stars2387
Views1
Updated2026-03-09
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-henryxiaoyang-codex-agent": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#ai-agent#project-management#codex#automation#development
Safety Score: 2/5

Flags: file-write, file-read, code-execution, external-api