ask 精选
Process-first advisor routing for Claude, Codex, Gemini, Antigravity, Grok, or Cursor via `omc ask`, with artifact capture and no raw CLI assembly
安装方式
cp -r skills/ask ~/.claude/skills/ask把该 skill 目录放进客户端 skills 目录。不同客户端的目录可能不同,Claude Code 默认是 ~/.claude/skills/
/plugin marketplace add Yeachan-Heo/oh-my-claudecode⚠️ 该命令形态随客户端版本变化,仅在检测到 .claude-plugin/marketplace.json 时展示;不可用时请用「目录复制」。
https://raw.githubusercontent.com/Yeachan-Heo/oh-my-claudecode/8262f9f790eed35e6cbd66572b36c2acba18f679/skills/ask/SKILL.md下载后另存为 ~/.claude/skills/ask/SKILL.md。链接锁定采集时的 commit,内容与本站展示一致。
整仓一次性获取:git clone --depth 1 https://github.com/Yeachan-Heo/oh-my-claudecode.git
依赖与权限
- 需要 API Key —— 使用前需配置相应的密钥环境变量
- 需要联网访问外部服务
- 无外部命令依赖
- 以上为按正文与 frontmatter 自动推断的信号,仅供参考;安装前建议先阅读原文。
SKILL.md 正文
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
/oh-my-claudecode:ask <claude|codex|gemini|antigravity|grok|cursor> <question or task>
Examples:
/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:
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:
claude --version
codex --version
gemini --version
agy --version
grok --version
cursor-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 antigravityis supported on macOS/Linux. On Windows it is guarded with a clear error, becauseagy --printtakes the prompt as an argv value (it cannot read stdin) and has known upstream Windows-plimitations; useomc ask geminion Windows.
- Gemini CLI remains supported for enterprise/API-key use cases.
Artifacts
omc ask writes artifacts to:
.omc/artifacts/ask/<provider>-<slug>-<timestamp>.md
Task: {{ARGUMENTS}}
质量与来源
- 所属仓库
- Yeachan-Heo/oh-my-claudecode
- 仓库星标
- 4.0 万
- 最近更新
- 今天
- 采集时间
- 今天
- commit
- 8262f9f790ee
- 内容指纹
- sha256:3c39831d3a3de45
- 文件路径
- skills/ask/SKILL.md