hackermanishackerman

gemini-cli

0
0
# Install this skill:
npx skills add hackermanishackerman/claude-skills-vault --skill "gemini-cli"

Install specific skill from multi-skill repository

# Description

Run Gemini CLI for AI queries. Use when user asks to "run/ask/use gemini", compare Claude vs Gemini, or delegate tasks to Gemini.

# SKILL.md


name: gemini-cli
description: Run Gemini CLI for AI queries. Use when user asks to "run/ask/use gemini", compare Claude vs Gemini, or delegate tasks to Gemini.


Gemini CLI

Interact w/ Google's Gemini CLI locally. Run queries, get responses, compare outputs.

Prerequisites

Gemini CLI must be installed & configured:

  1. Install: https://github.com/google-gemini/gemini-cli
  2. Auth: Run gemini & sign in w/ Google account
  3. Verify: gemini --version

When to Use

  • User asks to "run/ask/use gemini"
  • Compare Claude vs Gemini responses
  • Get second AI opinion
  • Delegate task to Gemini

Usage

# One-shot query
gemini "Your prompt"

# Specific model
gemini -m gemini-3-pro-preview "prompt"

# JSON output
gemini -o json "prompt"

# YOLO mode (auto-approve)
gemini -y "prompt"

# File analysis
cat file.txt | gemini "Analyze this"

Comparison Workflow

  1. Provide Claude's response first
  2. Run same query via Gemini CLI
  3. Present both for comparison

CLI Options

Flag Desc
-m Model (gemini-3-pro)
-o Output: text/json/stream-json
-y Auto-approve (YOLO)
-d Debug mode
-s Sandbox mode
-r Resume session
-i Interactive after prompt

Best Practices

  • Quote prompts w/ double quotes
  • Use -o json for parsing
  • Pipe files for context
  • Specify model for specific capabilities

# Supported AI Coding Agents

This skill is compatible with the SKILL.md standard and works with all major AI coding agents:

Learn more about the SKILL.md standard and how to use these skills with your preferred AI coding agent.