Gemini Codebase Analysis banner
nociza nociza

Gemini Codebase Analysis

Research community

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

Terminal
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 Repository