ask-gemini
Ask Gemini via local CLI and capture a reusable artifact
- License 许可
- MIT
- 最近更新
- 2026-04-14
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- ask-gemini
- description
- Ask Gemini via local CLI and capture a reusable artifact
03 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}}
04 同仓库更多 Skills
webapp-testing
To test local web applications, write native Python Playwright scripts.
python-packaging
Comprehensive guide to creating, structuring, and distributing Python packages using modern packaging tools, pyproject.toml, and publishing to PyPI.
canvas-design
These are instructions for creating design philosophies - aesthetic movements that are then EXPRESSED VISUALLY. Output only .md files, .pdf files, and .png files.
webapp-testing
To test local web applications, write native Python Playwright scripts.
slack-gif-creator
A toolkit providing utilities and knowledge for creating animated GIFs optimized for Slack.
frontend-design
You are a frontend designer-engineer, not a layout generator.