跳到正文
Skillpedia
智能体41k · #6993

ask

它能做什么

这项技能让智能体把提示词转交给本机已安装的 AI 命令行工具,并保存结果。适合希望从另一个 AI 获得第二意见的人,例如对代码更改进行安全审查。

适用场景

  • ✓当你希望另一个 AI 工具对某段代码或某个方案给出第二意见的时候。
  • ✓当你希望从特定角度,例如安全性,审查一个补丁的时候。
  • ✓当你希望把另一个 AI 的回答保存下来以便日后参考的时候。

技能链接

https://github.com/Yeachan-Heo/oh-my-claudecode/blob/main/skills/ask/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/Yeachan-Heo/oh-my-claudecode/blob/main/skills/ask/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 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 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.
  • 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

repo: Yeachan-Heo/oh-my-claudecode

热度

GitHub 星标
41k
排名
#6993
许可证
MIT
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能