From neely-brain-dump
Use Gemini CLI to explore codebases and gather information, saving Claude tokens.
How this skill is triggered — by the user, by Claude, or both
Slash command
/neely-brain-dump:gemini-explorerThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Use Gemini CLI to explore codebases and gather information, saving Claude tokens.
Use Gemini CLI to explore codebases and gather information, saving Claude tokens.
USE Gemini for exploration when:
DON'T use Gemini when:
# Basic exploration (YOLO mode auto-approves file reads)
cd /path/to/project && gemini -y -m gemini-2.5-flash -p "YOUR PROMPT"
# For longer explorations, use timeout
cd /path/to/project && timeout 120 gemini -y -m gemini-2.5-flash -p "YOUR PROMPT"
| Model | Use Case | Notes |
|---|---|---|
gemini-2.5-flash | Default choice | Smarter than 2.0, reliable capacity |
gemini-2.0-flash | Fallback | Use if 2.5 has issues |
gemini-2.5-pro | DON'T USE | Burns through quota fast |
gemini-3-flash-preview | DON'T USE | Frequently hits capacity limits |
The free tier (OAuth personal) has rate limits. If you see:
Gemini CLI handles retries automatically with backoff.
gemini -y -m gemini-2.5-flash -p "Give me a high-level overview of this project. What does it do? What's the tech stack?"
gemini -y -m gemini-2.5-flash -p "Find where user authentication is handled in this codebase"
gemini -y -m gemini-2.5-flash -p "List all the API endpoints defined in this project with their HTTP methods"
gemini -y -m gemini-2.5-flash -p "What external dependencies does this project use? Check package.json or requirements.txt"
Using Gemini for exploration saves Claude tokens because:
Rule of thumb: If exploration involves reading >3 files or >500 lines, use Gemini.
-y for YOLO mode, but it still won't write without explicit approval mode)Gemini is configured at ~/.gemini/settings.json:
{
"security": { "auth": { "selectedType": "oauth-personal" } },
"general": { "previewFeatures": true }
}
OAuth credentials cached at ~/.gemini/oauth_creds.json (auto-refreshes).
npx claudepluginhub built-simple/claude-brain-dump-repo --plugin neely-brain-dumpGuides large codebase exploration with Gemini CLI using token thresholds, Flash/Pro model selection, Claude vs Gemini decisions, and chunking strategies.
Delegates tasks to Gemini CLI for large-context analysis like broad codebase reviews or long-document processing. Activates on explicit requests such as 'use gemini' or 'delegate to gemini'.
Runs Google's Gemini CLI for code generation, review, analysis, web research via Google Search, and codebase architecture investigation. Use for second AI opinions, real-time web data, or parallel code tasks.