nociza

Gemini Codebase Analysis — Research agent for Claude Code

Research community

Using the Gemini CLI for Codebase Analysis.

How to install Gemini Codebase Analysis

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.

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 Repository