gemini

gemini is a command for Claude Code from aaronsb/claude-code-config. It costs 0 tokens per session (675 once invoked), scanned A, original, MIT.

A command that delegates analysis of large codebases or many files to the Gemini command-line tool. It can include files or directories in the analysis prompt.

In plain words
What is it for?
Use it to summarize a project, inspect architecture, or analyze selected files and directories with Gemini.
Why use it?
It helps when the code or file set is too large to fit comfortably in the agent's available context.

Command for Claude Code

Written for Claude Code: a Claude Code command (commands/*.md). Also seen: mentions Gemini CLI.

Good fit Use it to summarize a project, inspect architecture, or analyze selected files and directories with Gemini.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/aaronsb/claude-code-config/gemini
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/aaronsb/claude-code-config

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for gemini

README.md
[![agentmods](https://agentmods.dev/badge/commands/aaronsb/claude-code-config/gemini/github.svg)](https://agentmods.dev/commands/aaronsb/claude-code-config/gemini)
Your own site
<a href="https://agentmods.dev/commands/aaronsb/claude-code-config/gemini"><img src="https://agentmods.dev/badge/commands/aaronsb/claude-code-config/gemini/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for gemini

Your own site · 80×15
<a href="https://agentmods.dev/commands/aaronsb/claude-code-config/gemini"><img src="https://agentmods.dev/badge/commands/aaronsb/claude-code-config/gemini.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 675 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.00675
Opus 5.5 $0.00000 $0.00270
Sonnet 5.5 $0.00000 $0.00135
Haiku 4.5 $0.00000 $0.00068

Measured 3mo ago against content hash c273bbe32882, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

gemini scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

commands/gemini.md · 77 lines

How it starts

The opening of the file, as written. The whole thing — 77 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Using Gemini CLI for Large Codebase Analysis

When analyzing large codebases or multiple files that might exceed context limits, use the Gemini CLI with its massive context window. Use gemini -p to leverage Google Gemini's large context capacity.

Additionally, you can dispatch this as a subtask with your instructions based on these instructions to invoke Gemini, saving your own main context. This actually then allows you to invoke multiple Gemini threads.

File and Directory Inclusion Syntax

Use the @ syntax to include files and directories in your Gemini prompts. The paths should be relative to WHERE you run the gemini command:

Examples:

Single file analysis: gemini -p "@src/main.py Explain this file's purpose and structure"

Multiple files: gemini -p "@package.json @src/index.js Analyze the dependencies used in the code"

Entire directory: gemini -p "@src/ Summarize the architecture of this codebase"

Multiple directories: gemini -p "@src/ @tests/ Analyze test coverage for the source code"

Current directory and subdirectories: gemini -p "@./ Give me an overview of this entire project"

Or use --all_files flag:

gemini --all_files -p "Analyze the project structure and dependencies"

Implementation Verification Examples

Check if a feature is implemented: gemini -p "@src/ @lib/ Has dark mode been implemented in this codebase? Show me the relevant files and functions"

Verify authentication implementation: gemini -p "@src/ @middleware/ Is JWT authentication implemented? List all auth-related endpoints and middleware"

Check for specific patterns: gemini -p "@src/ Are there any React hooks that handle WebSocket connections? List them with file paths"

Verify error handling: gemini -p "@src/ @api/ Is proper error handling implemented for all API endpoints? Show examples of try-catch blocks"

Check for rate limiting: gemini -p "@backend/ @middleware/ Is rate limiting implemented for the API? Show the implementation details"

Verify caching strategy: gemini -p "@src/ @lib/ @services/ Is Redis caching implemented? List all cache-related functions and their usage"

Read the full file on GitHub · 77 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 77 lines · 0 tokens per session scan A c273bbe32882

Subscribe to this mod's changes

gemini is a command published in the GitHub repository aaronsb/claude-code-config (18 stars, last pushed 7mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 675 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

gemini compared with commands from other repositories

gemini next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
geminiaaronsb/claude-code-configCommand187mo agoMITA0Claude Code
todosdesplega-ai/agent-swarmCommand1.1ktodayMITA7Claude Code
create-prdesplega-ai/agent-swarmCommand1.1ktodayMITA19Claude Code
riskreviewinclusionAI/AvernetCommand611todayApache-2.0A11Claude Code
nyann:diff-profilethettwe/nyannCommand722d agoMITA42Claude Code
whojoaquinbejar/ai-crew-syncCommand76d agoMITA17Claude Code
nyann:applythettwe/nyannCommand722d agoMITA85Claude Code