Agent skill
ask-gemini
Ask Gemini via local CLI and capture a reusable artifact
Install this agent skill to your Project
npx add-skill https://github.com/Yeachan-Heo/oh-my-codex/tree/main/skills/ask-gemini
SKILL.md
Ask Gemini (Local CLI)
Use the locally installed Gemini CLI as a direct external advisor for brainstorming, design feedback, and second opinions.
Usage
/ask-gemini <question or task>
Routing
Preferred: Local CLI execution
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.
Missing binary behavior
If gemini is not found, do not switch to MCP.
Instead:
- Explain that local Gemini CLI is required for this skill.
- Ask the user to install/configure Gemini CLI.
- Provide a quick verification command:
gemini --version
Artifact requirement
After local execution, save a markdown artifact to:
.omx/artifacts/gemini-<slug>-<timestamp>.md
Minimum artifact sections:
- Original user task
- Final prompt sent to Gemini CLI
- Gemini output (raw)
- Concise summary
- Action items / next steps
Task: {{ARGUMENTS}}
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
configure-notifications
Configure OMX notifications - unified entry point for all platforms
ultraqa
QA cycling workflow - test, verify, fix, repeat until goal met
build-fix
Fix build and TypeScript errors with minimal changes
ask-claude
Ask Claude via local CLI and capture a reusable artifact
tdd
Test-Driven Development enforcement skill - write tests first, always
analyze
Run deep investigation of architecture, bugs, performance issues, or dependencies and return structured findings with file:line evidence. Use when a user says 'analyze', 'investigate', 'why does', 'what's causing', or needs root cause analysis before making changes. Routes to architect agent or Codex MCP for thorough cross-file reasoning.
Didn't find tool you were looking for?