ask-codex

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Ask Codex

调用Codex

Use Codex as an external advisor through OMC's ask command.
通过OMC的ask命令将Codex用作外部顾问。

Usage

用法

bash
/oh-my-claudecode:ask-codex <question or task>
bash
/oh-my-claudecode:ask-codex <question or task>

Routing

路由规则

Preferred path:
bash
omc ask codex "{{ARGUMENTS}}"
Wrapper alias (compatibility):
bash
bash "${CLAUDE_PLUGIN_ROOT}/scripts/ask-codex.sh" "{{ARGUMENTS}}"
首选路径:
bash
omc ask codex "{{ARGUMENTS}}"
封装别名(兼容用):
bash
bash "${CLAUDE_PLUGIN_ROOT}/scripts/ask-codex.sh" "{{ARGUMENTS}}"

Requirements

前置要求

  • Local Codex CLI must be installed and authenticated.
  • Verify with:
bash
codex --version
  • 必须已安装本地Codex CLI并完成身份验证。
  • 可通过以下命令验证:
bash
codex --version

Artifacts

产出物

omc ask
writes artifacts to:
text
.omc/artifacts/ask/codex-<slug>-<timestamp>.md
Task: {{ARGUMENTS}}
omc ask
会将产出物写入到以下路径:
text
.omc/artifacts/ask/codex-<slug>-<timestamp>.md
任务:{{ARGUMENTS}}