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-auto for a balance between speed and safety (approves on failure).
  • Provider Switching: Use subcommands like ds (DeepSeek), kimi, zhipu, doubao, or sili (SiliconFlow) to launch Codex with these providers.
  • Non-Interactive Execution: Use exec or e for quick, one-off commands or code generation tasks.

Additional Scenarios

  • Web Search: Enable real-time web search capabilities using the --search flag for up-to-date information.
Related skills

More from x-cmd/skill

Installs
3
Repository
x-cmd/skill
GitHub Stars
20
First Seen
Apr 10, 2026