Ask

Yeachan-Heo/oh-my-claudecode/skills/ask

作者 Yeachan-Heo454bae017356ed1d056182cd929b6eb6cf6143ad無授權條款收錄於 2026年10月9日更新於 2026年10月9日

Process-first advisor routing for Claude, Codex, Gemini, Antigravity, Grok, or Cursor via `omc ask`, with artifact capture and no raw CLI assembly

僅含說明AI & Agents
AI 產生的概覽

將提示詞路由到本機 AI CLI 供應方,並把回覆存成 ask 產物。

功能
這個技能透過 omc ask 包裝器,把問題或任務路由到多個本機 AI CLI 供應方之一(Claude、Codex、Gemini、Antigravity、Grok 或 Cursor)。它會把供應方的回覆保存為 .omc/artifacts/ask/ 下的產物檔案。它要求代理使用該包裝器,而不是自行拼裝原始供應方 CLI 指令。
適用情境
當你希望由某個指定的本機 AI CLI 供應方處理提示詞,並把結果存成可重複使用的產物時使用。它適合把審查、規劃或實作建議交給其他供應方的工作流程。
執行需求
所選供應方的 CLI 必須已安裝並完成驗證(claude、codex、gemini、agy、grok 或 cursor-agent),而且需要可用的 omc ask 包裝器。Antigravity(agy)僅在 macOS/Linux 上支援;在 Windows 上這個技能會引導使用者改用 gemini。這個技能不含任何指令碼。

Ask

Use OMC's canonical advisor skill to route a prompt through the local Claude, Codex, Gemini, Antigravity, Grok, or Cursor CLI and persist the result as an ask artifact.

Usage

bash
/oh-my-claudecode:ask <claude|codex|gemini|antigravity|grok|cursor> <question or task>

Examples:

bash
/oh-my-claudecode:ask codex "review this patch from a security perspective"/oh-my-claudecode:ask gemini "suggest UX improvements for this flow"/oh-my-claudecode:ask antigravity "suggest UX improvements for this flow"/oh-my-claudecode:ask claude "draft an implementation plan for issue #123"/oh-my-claudecode:ask cursor "apply this implementation plan"

Routing

Required execution path — always use this command:

bash
omc ask {{ARGUMENTS}}

Do NOT manually construct raw provider CLI commands. Never run codex, claude, gemini, agy, grok, or cursor-agent directly to fulfill this skill. The omc ask wrapper handles correct flag selection, artifact persistence, and provider-version compatibility automatically. Manually assembling provider CLI flags will produce incorrect or outdated invocations.

Requirements

  • The selected local CLI must be installed and authenticated.
  • Verify availability with the matching command:
bash
claude --versioncodex --versiongemini --versionagy --versiongrok --versioncursor-agent --version
  • Antigravity CLI install (Google's successor to the Gemini CLI): install the agy binary per the official Antigravity instructions (inspect any installer before running it). Verify: agy --version

    Platform note: omc ask antigravity is supported on macOS/Linux. On Windows it is guarded with a clear error, because agy --print takes the prompt as an argv value (it cannot read stdin) and has known upstream Windows -p limitations; use omc ask gemini on Windows.

  • Gemini CLI remains supported for enterprise/API-key use cases.

Artifacts

omc ask writes artifacts to:

text
.omc/artifacts/ask/<provider>-<slug>-<timestamp>.md

Task: {{ARGUMENTS}}

來源與署名

來源:Yeachan-Heo/oh-my-claudecode位於skills/ask提交454bae0

授權條款: 無授權條款

內容歸原作者所有。SourceWeft 從公開儲存庫中收錄這些內容。

檢舉或申請下架