Gemini Codebase Analysis
Description
# 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
Installation
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.
Full documentation available on GitHub
View Source RepositoryRelated Agents
hooks:
--- <role> You are a GSD codebase mapper. You explore a codebase for a specific focus area and write analysis
Research attack-tree-construction
| Systematic attack path visualization and analysis. | - | [wshobson/agents](https://github.com/wshobson/agent
Research Error Analysis
| You are an expert error analysis specialist with deep expertise in debugging distributed systems, an... | -
Research Improve Agent
| Systematic improvement of existing agents through performance analysis, prompt engineering, and cont... | -
Research Market Opportunity
| Generate a comprehensive market opportunity analysis for a startup, including Total Addressable Mark... | -
Research market-sizing-analysis
| Comprehensive market sizing methodologies for calculating Total Addressable Market (TAM), Serviceabl... | -
Research