| name | usecli-gemini |
| description | Use Gemini as an external CLI worker inside a Claude Code or LikeCode-centered workflow. Good for broad review, first-pass critique, and structured feedback. |
usecli-gemini
Overview
Use Google Gemini CLI as an external worker inside a Claude Code workflow.
Best for:
- broad review
- first-pass critique
- structured feedback
- long-context reasoning
Install
This sub-skill can be installed independently:
skill install https://github.com/Harzva/usecli-gemini
Or manually:
git clone https://github.com/Harzva/usecli-gemini.git
mkdir -p ~/.claude/skills
ln -s $(pwd) ~/.claude/skills/usecli-gemini
Command
bash ~/.claude/skills/usecli-gemini/scripts/usecli-gemini.sh --prompt "<prompt>"
Or with a prompt file:
bash ~/.claude/skills/usecli-gemini/scripts/usecli-gemini.sh --prompt-file <path>
Verification
Run the local smoke test:
bash ~/.claude/skills/usecli-gemini/tests/test_wrapper.sh
Environment Variables
| Variable | Purpose | Default |
|---|
USECLI_GEMINI_BIN | Gemini executable | gemini |
USECLI_GEMINI_MODEL | Model override | (none) |
USECLI_GEMINI_OUTPUT_FORMAT | Output format | text |
USECLI_GEMINI_TIMEOUT | Timeout seconds | (none) |
Good Fits
- When you need broad coverage on a document or design
- When you want structured critique with strengths/weaknesses/suggestions
- When you need Gemini's long-context capabilities for large documents
Notes
- Uses
gemini -p in non-interactive mode
- Requires local Gemini CLI installation and web login
- For first-time setup, complete browser authentication first
Resources
bin/usecli-gemini.sh
The wrapper script. Sources bin/usecli-lib.sh for shared functionality.
examples/workflows/multi-model-review.sh
Demonstrates multi-model review workflow including Gemini.