codex
Installation
SKILL.md
codex - AI Code Assistant & Terminal Agent
The codex module enhances OpenAI's codex terminal agent, enabling semantic code search, automated patch generation, and connection to various AI model providers within a secure, sandboxed environment.
When to Activate
- When the user wants to start a Codex session with a specific provider (e.g., DeepSeek, Kimi, Zhipu, Doubao, SiliconFlow).
- When the user needs to execute shell commands or generate code based on natural language descriptions.
- When the user requires a sandboxed execution environment (
read-only,workspace-write) for safety. - When the user wants to apply generated diffs to their Git worktree.
- When the user needs to inject specific "skills" into the Codex agent's environment.
Core Principles & Rules
- Sandboxing: Always encourage using appropriate sandbox strategies (
--sandbox) to prevent unintended system changes. - Automation Levels: Use
--full-autofor a balance between speed and safety (approves on failure). - Provider Switching: Use subcommands like
ds(DeepSeek),kimi,zhipu,doubao, orsili(SiliconFlow) to launch Codex with these providers. - Non-Interactive Execution: Use
execorefor quick, one-off commands or code generation tasks.