Skip to content
cccskills
FreePublished on GitHub

gemini

Execute Gemini CLI for AI-powered code analysis and generation. Use when you need to leverage Google's Gemini models for complex reasoning tasks.

The English summary is being prepared. Showing the original description.

Works withGemini
See how to install

Files included (2)

  • SKILL.md3.1 KB
  • metadata.json538 B

SKILL.md (original)

Review the instructions the agent will receive before you install.

Gemini CLI Integration

Overview

Execute Gemini CLI commands with support for multiple models and flexible prompt input. Integrates Google's Gemini AI models into Claude Code workflows.

When to Use

  • Complex reasoning tasks requiring advanced AI capabilities
  • Code generation and analysis with Gemini models
  • Tasks requiring Google's latest AI technology
  • Alternative perspective on code problems

Usage

Mandatory: Run via uv with fixed timeout 7200000ms (foreground):

uv run ~/.claude/skills/gemini/scripts/gemini.py "<prompt>" [working_dir]

Optional (direct execution or using Python):

~/.claude/skills/gemini/scripts/gemini.py "<prompt>" [working_dir]
# or
python3 ~/.claude/skills/gemini/scripts/gemini.py "<prompt>" [working_dir]

Environment Variables

  • GEMINI_MODEL: Configure model (default: gemini-3-pro-preview)
    • Example: export GEMINI_MODEL=gemini-3

Timeout Control

  • Fixed: 7200000 milliseconds (2 hours), immutable
  • Bash tool: Always set timeout: 7200000 for double protection

Parameters

  • prompt (required): Task prompt or question
  • working_dir (optional): Working directory (default: current directory)

Return Format

Plain text output from Gemini:

Model response text here...

Error format (stderr):

ERROR: Error message

Invocation Pattern

When calling via Bash tool, always include the timeout parameter:

Bash tool parameters:
- command: uv run ~/.claude/skills/gemini/scripts/gemini.py "<prompt>"
- timeout: 7200000
- description: <brief description of the task>

Alternatives:

# Direct execution (simplest)
- command: ~/.claude/skills/gemini/scripts/gemini.py "<prompt>"

# Using python3
- command: python3 ~/.claude/skills/gemini/scripts/gemini.py "<prompt>"

Examples

Basic query:

uv run ~/.claude/skills/gemini/scripts/gemini.py "explain quantum computing"
# timeout: 7200000

Code analysis:

uv run ~/.claude/skills/gemini/scripts/gemini.py "review this code for security issues: $(cat app.py)"
# timeout: 7200000

With specific working directory:

uv run ~/.claude/skills/gemini/scripts/gemini.py "analyze project structure" "/path/to/project"
# timeout: 7200000

Using python3 directly (alternative):

python3 ~/.claude/skills/gemini/scripts/gemini.py "your prompt here"

Notes

  • Recommended: Use uv run for automatic Python environment management (requires uv installed)
  • Alternative: Direct execution ./gemini.py (uses system Python via shebang)
  • Python implementation using standard library (zero dependencies)
  • Cross-platform compatible (Windows/macOS/Linux)
  • PEP 723 compliant (inline script metadata)
  • Requires Gemini CLI installed and authenticated
  • Supports all Gemini model variants (configure via GEMINI_MODEL environment variable)
  • Output is streamed directly from Gemini CLI

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Testing patterns for PHPUnit and Playwright E2E tests. Use when writing tests, debugging test failures, setting up test coverage, or implementing test patterns for ActivityPub features.

The English summary is being prepared. Showing the original description.

Microck/ordinary-claude-skills406Updated Sep 7, 2026

Cloud laboratory platform for automated protein testing and validation. Use when designing proteins and needing experimental validation including binding assays, expression testing, thermostability measurements, enzyme activity assays, or protein sequence optimization. Also use for submitting experiments via API, tracking experiment status, downloading results, optimizing protein sequences for better expression using computational tools (NetSolP, SoluProt, SolubleMPNN, ESM), or managing protein design workflows with wet-lab validation.

The English summary is being prepared. Showing the original description.

Microck/ordinary-claude-skills406Updated Sep 7, 2026

Add unsigned integer (uint) type support to PyTorch operators by updating AT_DISPATCH macros. Use when adding support for uint16, uint32, uint64 types to operators, kernels, or when user mentions enabling unsigned types, barebones unsigned types, or uint support.

The English summary is being prepared. Showing the original description.

Microck/ordinary-claude-skills406Updated Sep 7, 2026

This skill should be used when the user asks to "create an agent", "add an agent", "write a subagent", "agent frontmatter", "when to use description", "agent examples", "agent tools", "agent colors", "autonomous agent", or needs guidance on agent structure, system prompts, triggering conditions, or agent development best practices for Claude Code plugins.

The English summary is being prepared. Showing the original description.

Microck/ordinary-claude-skills406Updated Sep 7, 2026

Master advanced AgentDB features including QUIC synchronization, multi-database management, custom distance metrics, hybrid search, and distributed systems integration. Use when building distributed AI systems, multi-agent coordination, or advanced vector search applications.

The English summary is being prepared. Showing the original description.

Microck/ordinary-claude-skills406Updated Sep 7, 2026

Create and train AI learning plugins with AgentDB's 9 reinforcement learning algorithms. Includes Decision Transformer, Q-Learning, SARSA, Actor-Critic, and more. Use when building self-learning agents, implementing RL, or optimizing agent behavior through experience.

The English summary is being prepared. Showing the original description.

Microck/ordinary-claude-skills406Updated Sep 7, 2026

See all skills by Microck

Report a problem with this skill