ask
The ask skill routes prompts to local Claude, Codex, or Gemini CLI instances through the omc ask wrapper command, automatically persisting results as markdown artifacts without requiring manual CLI flag assembly. Use this when you need to query a specific AI provider while ensuring proper authentication, version compatibility, and standardized artifact storage in the .omc/artifacts/ask directory.
git clone --depth 1 https://github.com/Yeachan-Heo/oh-my-claudecode /tmp/ask && cp -r /tmp/ask/skills/ask ~/.claude/skills/askSKILL.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
```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 --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](https://antigravity.google) (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}}Pre-planning consultant for requirements analysis (Opus)
Strategic Architecture & Debugging Advisor (Opus, READ-ONLY)
Expert code review specialist with severity-rated feedback, logic defect detection, SOLID principle checks, style, performance, and quality strategy
Simplifies and refines code for clarity, consistency, and maintainability while preserving all functionality. Focuses on recently modified code unless instructed otherwise.
Work plan and code review expert — thorough, structured, multi-perspective (Opus)
Root-cause analysis, regression isolation, stack trace analysis, build/compilation error resolution
UI/UX Designer-Developer for stunning interfaces (Sonnet)
External Documentation & Reference Specialist