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 从公开仓库中收录这些内容。

举报或申请下架