ask
它能做什么
这项技能让智能体把提示词转交给本机已安装的 AI 命令行工具,并保存结果。适合希望从另一个 AI 获得第二意见的人,例如对代码更改进行安全审查。
适用场景
- ✓当你希望另一个 AI 工具对某段代码或某个方案给出第二意见的时候。
- ✓当你希望从特定角度,例如安全性,审查一个补丁的时候。
- ✓当你希望把另一个 AI 的回答保存下来以便日后参考的时候。
技能链接
https://github.com/Yeachan-Heo/oh-my-claudecode/blob/main/skills/ask/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请让 Codex 从安全角度审查这个补丁,并把它的回答保存下来。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体会运行一个封装命令,把你的问题发送给所选的 AI 工具,并将回复保存为一个产出文件。所选工具必须事先已经安装在你的电脑上并已登录。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Ask
Use OMC's canonical advisor skill to route a prompt through the local Claude, Codex, Gemini, Antigravity, Grok, Cursor, or Muse CLI and persist the result as an ask artifact.
Usage
/oh-my-claudecode:ask <claude|codex|gemini|antigravity|grok|cursor|muse> <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"
/oh-my-claudecode:ask muse --agent-prompt critic "review this 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, cursor-agent, or muse 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
muse --version
- Antigravity CLI install (Google's successor to the Gemini CLI): install the
agybinary per the official Antigravity instructions (inspect any installer before running it). Verify:agy --versionPlatform 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.
- Muse and Grok require versions supporting
--prompt-file. The wrapper uses private temporary files for prompts, including role files with YAML frontmatter. Muse runs with approvals disabled and preserves its configured sandbox behavior.
Artifacts
omc ask writes artifacts to:
.omc/artifacts/ask/<provider>-<slug>-<timestamp>.md
Task: {{ARGUMENTS}}
常见问题
它可以使用哪些 AI 工具?
Claude、Codex、Gemini、Antigravity、Grok、Cursor 和 Muse,只要它们的命令行工具已安装即可。
这些工具需要先设置吗?
需要。所选的命令行工具必须已在你的电脑上安装并登录。
智能体会直接调用每个工具吗?
不会。它使用封装命令,由它选择正确的选项并保存结果。
详情
作者的原始描述
Process-first advisor routing for Claude, Codex, Gemini, Antigravity, Grok, Cursor, or Muse via `omc ask`, with artifact capture and no raw CLI assembly
热度
- GitHub 星标
- 41k
- 排名
- #6993
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
agent-doc-discipline
41k教你的智能体编写其他 AI 智能体能够独立遵循的说明,规则可以检验,并且每条规则都附有明确的理由。
ai-slop-cleaner
41k帮你的智能体整理 AI 写出的代码,这些代码能运行但臃肿或重复,在不改变其功能的前提下删除多余部分。
architecture-survey
41k帮你的智能体审查代码库的结构,列出越来越难修改的部分并附上证据,且自身不做任何更改。
ask-navigator
41k帮你的智能体把模糊的项目整理成一张清晰的决策问题图,然后逐个处理,直到路径变得清楚。