Gemini cli
Skill hackermanishackerman/claude-skills-vault/.claude/skills/gemini-cli
Run Gemini CLI for AI queries. Use when user asks to "run/ask/use gemini", compare Claude vs Gemini, or delegate tasks to Gemini.From its SKILL.md
npx -y skills add hackermanishackerman/claude-skills-vault --skill gemini-cliAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
4 things to look at
- skips confirmationTells the agent to proceed without asking first, 2 times: "YOLO mode (auto-approve)" and 1 more.
- 2 stars2 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
- runs commandsInstructs the agent to run 7 commands, including `gemini` and 6 more.
- fetches URLsInstructs the agent to fetch 1 URL, including https://github.com/google-gemini/gemini-cli.
SKILL.md
1.4 KB, 349 tokens by cl100k_base, as published. Nobody here has run it
Gemini CLI
Interact w/ Google's Gemini CLI locally. Run queries, get responses, compare outputs.
Prerequisites
Gemini CLI must be installed & configured:
- Install: https://github.com/google-gemini/gemini-cli
- Auth: Run
gemini& sign in w/ Google account - Verify:
gemini --version
When to Use
- User asks to "run/ask/use gemini"
- Compare Claude vs Gemini responses
- Get second AI opinion
- Delegate task to Gemini
Usage
# One-shot query
gemini "Your prompt"
# Specific model
gemini -m gemini-3-pro-preview "prompt"
# JSON output
gemini -o json "prompt"
# YOLO mode (auto-approve)
gemini -y "prompt"
# File analysis
cat file.txt | gemini "Analyze this"
Comparison Workflow
- Provide Claude's response first
- Run same query via Gemini CLI
- Present both for comparison
CLI Options
| Flag | Desc |
|---|---|
-m | Model (gemini-3-pro) |
-o | Output: text/json/stream-json |
-y | Auto-approve (YOLO) |
-d | Debug mode |
-s | Sandbox mode |
-r | Resume session |
-i | Interactive after prompt |
Best Practices
- Quote prompts w/ double quotes
- Use
-o jsonfor parsing - Pipe files for context
- Specify model for specific capabilities
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.