Agent skill · Security

gemini-cli

Google Gemini CLI for second opinions, architectural advice, code reviews, security audits. Leverage 1M+ context for comprehensive codebase analysis via command-line tool.

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill gemini-cli-secondsky-claude-skills --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 11 KB
Bundled scripts: none
Version: 2.1.0
Path: skills/ai-llm/gemini-cli-secondsky-claude-skills/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Gemini CLI **Leverage Gemini's 1M+ context window as your AI pair programmer within Claude Code workflows.** This skill teaches Claude Code how to use the official Google Gemini CLI (`gemini` command) to get second opinions, architectural advice, debugging help, and comprehensive code reviews. Based on production testing with the official CLI tool. --- ## Table of Contents 1. [Quick Start](#quick-start) 2. [When to Use Gemini Consultation](#when-to-use-gemini-consultation) 3. [Installation](#installation) 4. [Model Selection: Flash vs Pro](#model-selection-flash-vs-pro) 5. [Top 3 Use Cases](#top-3-use-cases) 6. [Integration Example](#integration-example) 7. [Top 3 Errors & Solutions](#top-3-errors--solutions) 8. [When to Load References](#when-to-load-references) 9. [Production Rules](#production-rules) --- ## Quick Start **Prerequisites**: - Gemini CLI installed (`bun add -g @google/gemini-cli`) - Authenticated with Google account (run `gemini` once to authenticate) **Core Command Patterns**: ```bash # Quick question (non-interactive with -p flag) gemini -p "Should I use D1 or KV for session storage?" # Code review with file context cat src/auth.ts | gemini -p "Review this authe

What's inside
Steps it walks through
  1. Table of Contents
  2. Quick Start
  3. When to Use Gemini Consultation
  4. ALWAYS Consult (Critical Scenarios)
  5. OPTIONALLY Consult
  6. Installation
  7. 1. Install Gemini CLI
  8. 2. Authenticate
  9. 3. Verify Installation
  10. Model Selection: Flash vs Pro
  11. gemini-2.5-flash (Default)
  12. gemini-2.5-pro
  13. Quick Decision Guide
  14. Top 3 Use Cases
Ships with 1 file
  • metadata.json
Commands it runs
Quick question (non-interactive with -p flag)
gemini -p "Should I use D1 or KV for session storage?"
Code review with file context
cat src/auth.ts | gemini -p "Review this authentication code for security vulnerabilities"
Architecture advice using Pro model
gemini -m gemini-2.5-pro -p "Best way to handle WebSockets in Cloudflare Workers?"
With all files in directory
gemini --all-files -p "Review this auth implementation for security issues"
Interactive mode for follow-up questions
gemini -i "Help me debug this authentication error"
More from claude-skill-registry
All skills →
About this skill
What does the gemini-cli skill do?

Google Gemini CLI for second opinions, architectural advice, code reviews, security audits. Leverage 1M+ context for comprehensive codebase analysis via command-line tool.

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill gemini-cli-secondsky-claude-skills --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going