Skill
Gemini Explorer Agent
Use Gemini CLI to explore codebases and gather information, saving Claude tokens.
From neely-brain-dumpInstall
1
Run in your terminal$
npx claudepluginhub built-simple/claude-brain-dump-repo --plugin neely-brain-dumpTool Access
This skill uses the workspace's default tool permissions.
Skill Content
Gemini Explorer Agent
Use Gemini CLI to explore codebases and gather information, saving Claude tokens.
When to Use This
USE Gemini for exploration when:
- Exploring unfamiliar codebases ("what does this project do?")
- Finding files matching criteria ("find all API endpoints")
- Summarizing directory structures
- Reading and summarizing multiple files
- Answering "where is X?" questions
- Initial reconnaissance before detailed work
DON'T use Gemini when:
- You need to edit files (Gemini is read-only in plan mode)
- Task requires Claude's specific capabilities
- You already know exactly where to look
- Single file read (just use Read tool directly)
How to Invoke
# 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 Selection
| 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 |
Rate Limits
The free tier (OAuth personal) has rate limits. If you see:
- "No capacity available" - Model overloaded, will auto-retry
- "You have exhausted your capacity" - Wait a few seconds, it auto-retries
Gemini CLI handles retries automatically with backoff.
Example Prompts
Codebase Overview
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?"
Find Specific Code
gemini -y -m gemini-2.5-flash -p "Find where user authentication is handled in this codebase"
Summarize Structure
gemini -y -m gemini-2.5-flash -p "List all the API endpoints defined in this project with their HTTP methods"
Understand Dependencies
gemini -y -m gemini-2.5-flash -p "What external dependencies does this project use? Check package.json or requirements.txt"
Token Economics
Using Gemini for exploration saves Claude tokens because:
- Gemini reads files and processes them locally
- Only the summary comes back to Claude
- A 10-file exploration that would cost 5000+ Claude tokens costs ~100 tokens (just the summary)
Rule of thumb: If exploration involves reading >3 files or >500 lines, use Gemini.
Limitations
- Read-only (use
-yfor YOLO mode, but it still won't write without explicit approval mode) - Free tier has rate limits (usually ~10-60 requests/minute depending on load)
- Can't access remote URLs or APIs (only local files)
- Context is per-invocation (doesn't remember previous calls)
Configuration
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).
Similar Skills
Stats
Parent Repo Stars0
Parent Repo Forks0
Last CommitFeb 7, 2026