codex

rozwer 的头像作者 rozwer

在操作Codex CLI本身时使用(配置、配置文件、沙盒、批准和安全使用模式)。

📖 中文导读:在操作Codex CLI本身时使用(配置、配置文件、沙盒、批准和安全使用模式)。 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。

name: codex description: Use when operating Codex CLI itself (config, profiles, sandbox, approvals, and safe usage patterns).

Operating guidelines

  1. Prefer safe defaults: --sandbox workspace-write and approvals on-request unless the user explicitly asks otherwise.
  2. Make config changes explicit and minimal (document what changed and why).
  3. When troubleshooting CLI behavior, capture:
    • codex --version
    • /status output
    • relevant config files (e.g., config.toml)
  4. Avoid leaking secrets into logs; redact tokens and API keys.

Common actions

  • Validate configuration quickly via codex exec --help and codex features list.
  • Use CODEX_HOME to switch between global and project-local setups.