Gemini Cli Advisor For Claude Code banner
jezweb jezweb

Gemini Cli Advisor For Claude Code

AI community

Description

A comprehensive toolkit for integrating Google Gemini CLI as an AI coding advisor, both for direct use and automated integration with Claude Code.

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

Gemini MCP Advisor for Claude Code

Transform Claude Code into a next-generation AI development environment using Gemini MCP server for project-aware coding assistance.

πŸš€ Quick Start

Option 1: Install via npm (Recommended)

# Install globally
npm install -g gemini-mcp-advisor

# Run setup to create 20 slash commands
gemini-mcp-setup

Option 2: Use npx (No Installation)

# Run directly without installing
npx gemini-mcp-advisor

Option 3: Clone and Run Locally

# Clone repository
git clone https://github.com/jezweb/gemini-cli-advisor-for-claude-code.git
cd gemini-cli-advisor-for-claude-code

# Run setup
./gemini-setup.sh

Prerequisites (Both Methods)

# 1. Install/Update Gemini CLI (do this regularly)
npm install -g @google/gemini-cli

# 2. Verify Gemini is working
gemini --version

# 3. Authenticate Gemini CLI (choose one method)

## Option A: API Key (Recommended for reliability)
# Get free API key from https://aistudio.google.com/apikey
export GOOGLE_API_KEY="your-api-key-here"
# 100 requests/day, no browser needed, never expires

## Option B: OAuth (Higher limits)
gemini auth
# 1,000 requests/day, requires browser, may need re-auth

# 4. Install Gemini MCP Server (https://github.com/jamubc/gemini-mcp-tool)
claude mcp add gemini-cli -s user -- npx -y gemini-mcp-tool

🎯 Model Selection Strategy

**Smart Model Assignment:**

  • gemini-2.5-flash (Default) - Used for most commands to avoid rate limits
  • gemini-2.5-pro - Reserved for complex analysis tasks

Commands automatically use the optimal model:

  • ✨ Flash: review, explain, fix, test, implement, verify (high-frequency tasks)
  • 🧠 Pro: plan, audit, security, optimize, refactor, approach (deep analysis)

🎯 What This Does

Creates 20 intelligent slash commands that enable complete AI-powered development workflows:

**Core Commands (8)** - Enhanced with project awareness:

  • Planning, code generation, reviews, debugging, security