with one click
ask-gemini
[OMX] Ask Gemini via local CLI and capture a reusable artifact
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
[OMX] Ask Gemini via local CLI and capture a reusable artifact
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
[OMX] Run an anti-slop cleanup/refactor/deslop workflow
[OMX] Run read-only deep repository analysis and return a ranked synthesis with explicit confidence, concrete file references, and clear evidence-vs-inference boundaries. Use when a user says 'analyze', 'investigate', 'why does', 'what's causing', or needs grounded cross-file explanation before any changes are proposed.
[OMX] Ask Claude via local CLI and capture a reusable artifact
[OMX] Full autonomous execution from idea to working code
[OMX] Stateful validator-gated research loop with native-hook persistence
[OMX] Cancel any active OMX mode (autopilot, ralph, ultrawork, ecomode, ultraqa, swarm, ultrapilot, pipeline, team)
| name | ask-gemini |
| description | [OMX] Ask Gemini via local CLI and capture a reusable artifact |
Use the locally installed Gemini CLI as a direct external advisor for brainstorming, design feedback, and second opinions.
/ask-gemini <question or task>
Run Gemini through the canonical OMX CLI command path (no MCP routing):
omx ask gemini "{{ARGUMENTS}}"
Exact non-interactive Gemini CLI command from gemini --help:
gemini -p "{{ARGUMENTS}}"
# equivalent: gemini --prompt "{{ARGUMENTS}}"
If needed, adapt to the user's installed Gemini CLI variant while keeping local execution as the default path.
Legacy compatibility entrypoints (./scripts/ask-gemini.sh, npm run ask:gemini -- ...) are transitional wrappers.
If gemini is not found, do not switch to MCP.
Instead:
gemini --version
After local execution, save a markdown artifact to:
.omx/artifacts/gemini-<slug>-<timestamp>.md
Minimum artifact sections:
Task: {{ARGUMENTS}}