One-click install
npx skills add https://github.com/einverne/dotfiles --skill gemini-vision
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gemini-vision
Source: https://github.com/einverne/dotfiles/tree/main/claude/skills/gemini-vision
Command: npx skills add https://github.com/einverne/dotfiles --skill gemini-vision

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires google-genai, requests, and includes scripts (resource) and references (resource) components.

What problem does it solve?

Extracting meaningful information from images and documents often requires specialized AI models and complex setup, making it difficult for developers to integrate advanced vision capabilities. This skill provides a streamlined way to leverage Google Gemini's advanced vision capabilities for tasks like image understanding, object detection, and document analysis, simplifying AI integration.

Core Features & Use Cases

  • Comprehensive Image Analysis: Generate descriptive captions, classify content, answer visual questions, and compare multiple images for nuanced insights.
  • Advanced Visual AI: Utilize object detection (bounding boxes) and segmentation (pixel-level masks) for precise visual understanding and detailed analysis (model-dependent).
  • Document Understanding: Process PDF documents, extracting text and analyzing visual elements within them, supporting up to 1,000 pages for large reports or contracts.
  • Flexible Input & Models: Supports various image formats (PNG, JPEG, PDF) and allows selection of Gemini models (Pro, Flash, Lite) based on speed, capability, and cost requirements.
  • Use Case: Automatically identify and count specific objects in a series of inspection photos, extract key data points from scanned invoices, or generate detailed descriptions for product images in an e-commerce catalog.

Quick Start

Use the gemini-vision skill to describe the image located at 'path/to/my_image.jpg'.

Frequently Asked Questions about gemini-vision

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I analyze images with the Gemini Vision API?

Image analysis with Gemini Vision API extracts meaningful information by processing images through Google's advanced vision model. The skill handles captioning, classification, visual question answering, object detection, and segmentation across single or multiple images (up to 3,600 per request) and PDFs, with automatic API key management and format validation.

Can I process PDF documents for text extraction and visual analysis?

Yes, the skill processes PDF documents supporting up to 1,000 pages for extracting text and analyzing visual elements. This enables analysis of large reports, contracts, and scanned documents while handling document understanding tasks like data extraction from invoices or forms.

What image formats and models does Gemini Vision support?

Gemini Vision supports PNG, JPEG, and PDF formats with selectable models—gemini-2.5-flash (default), Pro, and Lite variants—letting you optimize for speed, capability, or cost based on your image analysis requirements.

How do I set up API authentication for Gemini Vision?

The skill manages GEMINI_API_KEY authentication through a 3-step lookup process, handling credential retrieval automatically so you can focus on image analysis without manual key configuration.

What are the input size limits and constraints for Gemini Vision?

The skill enforces supported image format constraints and file size limitations, validating inputs before processing. PDFs support up to 1,000 pages and requests handle up to 3,600 images, with error handling for format or size violations.

Can I detect objects and segment regions in images?

Object detection and segmentation capabilities depend on the selected Gemini model. The skill supports bounding boxes for object detection and pixel-level masks for segmentation, enabling precise visual understanding and detailed analysis for inspection photos or automated counting tasks.