From gemini
Cross-model AI assistant via Google Gemini CLI. Invoke autonomously for: (1) Plan verification - validate implementation plans before execution, (2) QA review - second-opinion code review on completed work, (3) Context offloading - delegate research or analysis to free up context, (4) Cross-validation - verify critical decisions with an independent model. Trigger when: finalizing plans, completing implementation steps, context is heavy, or an independent perspective would catch blind spots.
How this skill is triggered — by the user, by Claude, or both
Slash command
/gemini:geminiThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
You have access to Google's Gemini CLI via the `gemini` command (it must be in PATH). Use it autonomously as a second AI to verify your work, offload research, and catch blind spots.
You have access to Google's Gemini CLI via the gemini command (it must be in PATH). Use it autonomously as a second AI to verify your work, offload research, and catch blind spots.
Before executing a multi-step implementation plan, send the plan to Gemini for review. Ask it to identify gaps, risks, or missed edge cases.
After completing a significant chunk of work (new feature, refactor, security change), pipe the changed files to Gemini for an independent review.
When your context is getting heavy with research, delegate a bounded research question to Gemini. It returns a summary you can use without carrying the full exploration context.
For critical decisions (architecture choices, security implementations, data model design), get Gemini's independent take before committing.
Fast mode (default) - No MCP servers, responds in seconds:
gemini -p "PROMPT" --allowed-mcp-server-names none 2>/dev/null
Pipe file content for review:
cat /path/to/file.py | gemini -p "PROMPT" --allowed-mcp-server-names none 2>/dev/null
Multiple files:
(echo "=== file1.py ===" && cat file1.py && echo "=== file2.py ===" && cat file2.py) | gemini -p "PROMPT" --allowed-mcp-server-names none 2>/dev/null
Full mode - With Gemini's own MCP servers (30s+ startup, use sparingly):
gemini -p "PROMPT" 2>/dev/null
Gemini has ZERO context about the project. Every prompt you send must be fully self-contained. Always include:
Review this code for issues.
This is a FastAPI authentication middleware for a Python 3.12 web app using JWT tokens
and SQLAlchemy. It handles token validation and user session management.
Review this code for:
1. Authentication bypass vulnerabilities
2. Token validation edge cases
3. SQL injection risks
4. Race conditions in session handling
List findings by severity (critical/high/medium/low). No praise, findings only. Under 300 words.
You are reviewing an implementation plan for a [project type] built with [tech stack].
The project [brief description of what it does].
Identify:
1. Missing steps or gaps
2. Risk areas or edge cases
3. Ordering issues (dependencies that should come first)
4. Security concerns
Plan:
[plan text]
Be concise. Bullet points only. Under 200 words.
This is [language] code from a [project description] using [framework/libraries].
The code handles [what this specific code does].
Review for bugs, security issues, and design problems.
Focus on: [specific concerns].
List findings by severity (critical/high/medium/low).
Findings only, no praise. Under 300 words.
Research: [specific question].
Context: We are building [project description] with [tech stack].
Provide a concise summary with:
- Key findings (bullet points)
- Trade-offs if applicable
- Recommendation with rationale
Under 300 words.
Before piping any file to Gemini, verify it does not contain secrets or credentials. Never pipe files matching these patterns:
.env, .env.**.key, *.pem, *.p12, *.pfxcredentials*, secrets*, *secret**.tfvars (may contain cloud credentials)~/.ssh/*, ~/.aws/*, ~/.config/gcloud/*When in doubt, use Read to inspect the file first before piping it.
2>/dev/null to suppress stderr noise from Gemini's config warnings--allowed-mcp-server-names none for speed (skips MCP server startup)When Gemini returns useful findings, briefly report to the user:
Cross-check (Gemini): [1-3 sentence summary of what Gemini flagged] My assessment: [whether you agree/disagree and why]
If Gemini was unavailable or errored:
Cross-check (Gemini): Unavailable (timeout/error). Proceeding with own analysis.
Keep it brief. The user wants the value, not the process.
Provides a checklist for code reviews covering functionality, security, performance, maintainability, tests, and quality. Use for pull requests, audits, team standards, and developer training.
npx claudepluginhub jon-the-dev/claude-code-plugin-marketplace-v0 --plugin gemini