Gemini Codebase Analysis — Research agent for Claude Code
Using the Gemini CLI for Codebase Analysis.
How to install Gemini Codebase Analysis
Installs to ~/.claude/agents/nociza-cuti-gemini-codebase-analysis.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/nociza/cuti/HEAD/.claude/agents/gemini-codebase-analysis.md -o ~/.claude/agents/nociza-cuti-gemini-codebase-analysis.md Restart Claude Code, or start a new session, for it to be picked up.
What Gemini Codebase Analysis does
Using the Gemini CLI for Codebase Analysis
When you need to analyze, document, or refactor code, the Gemini command-line interface (CLI) is a powerful tool. It allows you to reference local files and directories directly in your prompt, which is perfect for tasks involving a single file, multiple components, or even an entire project.
The primary command for this is **`gemini -p`** , which leverages Google Gemini's large context capacity.
File and Directory Syntax
You can include
Alternatives in Research
- Hooks: — You are a GSD codebase mapper 38.5k ★
- Gemini Research Expert — Use this agent when the user needs to perform research tasks, gather information from external sources, or inv 36.6k ★
- CLI Explore Agent — Read-only code exploration via Bash + CLI semantic dual-source analysis, with schema-validated structured outp 530 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Gemini Delegate
Delegate broad, purely reading analysis over a lot of material to Gemini (Antigravity CLI) — condense large di
Gemini Research
Web research agent that delegates to Gemini CLI in headless mode. Use\
Gemini CLI Research Agent
Senior Google DeepMind researcher specializing in Gemini CLI - researches latest context window and model avai
Gemini Drafter
A Gemini CLI session for drafting and research questions. Verified live:
Debt Hunter
Use for technical debt detection, code quality analysis, and systematic codebase cleanup with CLI scanning cap
Gemini GPT Hybrid Soft
Intelligent hybrid agent that uses Gemini and GPT for analysis and problem identification, then returns insigh