codex-agent

Installation
SKILL.md

Codex Agent

通过 Codex CLI 将任务委派给独立的 Codex 会话执行。

Codex CLI 的默认入口是 codex(交互式 REPL)。自动化调用走 codex exec(headless 子命令),把最终结果或事件流打印到 stdout。想拿可解析输出叠加 --json;想续接历史会话用 codex exec resume

前置条件

  1. 安装 Codex CLI:npm install -g @openai/codex
  2. 确保已完成 Codex 登录认证(codex 首次运行会引导登录)
  3. 建议在目标项目目录下运行,或显式传 -C /path/to/project

调用方式

新建会话(默认)

codex exec --json --sandbox workspace-write --skip-git-repo-check --model <flagship> "你的任务描述"
Related skills

More from ben2pc/g-claude-code-plugins

Installs
54
First Seen
Apr 10, 2026