gemini-vision
Guide for implementing Google Gemini API image understanding - analyze images with captioning, classification, visual QA, object detection, segmentation, and multi-image comparison. Use when analyzing images, answering visual questions, detecting objects, or processing documents with vision.
npx skills add majiayu000/claude-skill-registry --skill gemini-vision-aia-11-hn-mib-mib-mockinterviewaib-2 --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Gemini Vision API Skill This skill enables Claude to use Google's Gemini API for advanced image understanding tasks including captioning, classification, visual question answering, object detection, segmentation, and multi-image analysis. ## Quick Start ### Prerequisites 1. **Get API Key**: Obtain from [Google AI Studio](https://aistudio.google.com/apikey) 2. **Install SDK**: `pip install google-genai` (Python 3.9+) - If `pip` is not installed, instructs user to install it first. ### API Key Configuration The skill supports both **Google AI Studio** and **Vertex AI** endpoints. #### Option 1: Google AI Studio (Default) The skill checks for `GEMINI_API_KEY` in this order: 1. **Process environment**: `export GEMINI_API_KEY="your-key"` 2. **Project root**: `.env` 3. **.claude directory**: `.claude/.env` 4. **.claude/skills directory**: `.claude/skills/.env` 5. **Skill directory**: `.claude/skills/gemini-vision/.env` **Get your API key**: Visit [Google AI Studio](https://aistudio.google.com/apikey) #### Option 2: Vertex AI To use Vertex AI instead: ```bash # Enable Vertex AI export GEMINI_USE_VERTEX=true export VERTEX_PROJECT_ID=your-gcp-project-id export VERTEX_LOCATION=us-central1
- Quick Start
- Prerequisites
- API Key Configuration
- Core Capabilities
- Image Analysis
- Advanced Features (Model-Specific)
- Supported Formats
- Available Models
- Usage Examples
- Basic Image Analysis
- Object Detection (2.0+)
- Multi-Image Comparison
- File Upload (for large files or reuse)
- File Management
Enable Vertex AI export GEMINI_USE_VERTEX=true export VERTEX_PROJECT_ID=your-gcp-project-id export VERTEX_LOCATION=us-central1 # Optional, defaults to us-central1 Analyze a local image python scripts/analyze-image.py path/to/image.jpg "What's in this image?" Analyze from URL python scripts/analyze-image.py https://example.com/image.jpg "Describe this" Specify model python scripts/analyze-image.py image.jpg "Caption this" --model gemini-2.5-pro
What does the gemini-vision skill do?
Guide for implementing Google Gemini API image understanding - analyze images with captioning, classification, visual QA, object detection, segmentation, and multi-image comparison. Use when analyzing images, answering visual questions, detecting objects, or processing documents with vision.
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill gemini-vision-aia-11-hn-mib-mib-mockinterviewaib-2 --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.
