gemini

Installation
SKILL.md

gemini - Google Gemini AI Integration

The gemini module provides a powerful CLI interface for Google's Gemini AI models, supporting text generation, file-based context, and multimodal inputs like images.

When to Activate

  • When the user wants to use Gemini for chat or complex text generation.
  • When the user needs to analyze or translate files using Gemini's large context window.
  • When the user wants to provide images for AI analysis via the terminal.
  • When managing Gemini API keys or exploring available models.
  • When using Gemini's integrated Google Search tool (gg).

Core Principles & Rules

  • API Key Management: Use init or --cfg apikey=<key> for setup.
  • Multimodal Support: Use the --file flag to attach images or documents for the AI to process.
  • Token Counting: Use the --count flag to estimate token usage before or during a request.
  • Google Search Integration: Utilize the gg subcommand to leverage real-time information from Google Search within the AI response.

Additional Scenarios

  • Git Commit Messages: Pipe git diff into @gemini for high-quality, standardized commit messages.
Related skills

More from x-cmd/skill

Installs
3
Repository
x-cmd/skill
GitHub Stars
20
First Seen
Apr 10, 2026