gemini-cli

Process images, PDFs, and large files via Gemini CLI with 1M+ token context.

1|Updated Nov 29, 2025
One-click install
npx skills add https://github.com/metrovoc/cc-skill-gemini-cli --skill gemini-cli-metrovoc
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gemini-cli
Source: https://github.com/metrovoc/cc-skill-gemini-cli/tree/main/skills/gemini-cli
Command: npx skills add https://github.com/metrovoc/cc-skill-gemini-cli --skill gemini-cli-metrovoc

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill enables Claude to delegate heavy-context tasks to Gemini CLI, allowing efficient processing of very large files (PDFs, images) and solving complex problems that exceed Claude's local context.

Core Features & Use Cases

  • Large-file processing: Offload processing of mega documents or datasets to Gemini for deeper analysis with extended context.
  • Advanced reasoning: Use Gemini's multi-step reasoning for domain-specific tasks and insights.
  • Return-to-Claude workflow: Seamlessly bring back results for follow-up actions within Claude.

Quick Start

Install Gemini CLI, then run a sample with a large file: gemini "$(cat << 'EOF' summarize large.pdf EOF )"

Frequently Asked Questions about gemini-cli

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

FAQPage Schema
How do I process large PDFs and images that exceed my context limits?

Large-context processing delegates PDFs and images to Gemini CLI, which handles files exceeding 1M+ tokens through extended context windows. Install Gemini CLI, then pass your file path to the gemini command with your task description for analysis and extraction.

Can I use Gemini CLI for multi-step data extraction and analysis workflows?

Yes, Gemini CLI supports multi-step reasoning and domain-specific analysis on large datasets. It maintains session state, timeout controls with exponential backoff, and reliable conversation continuation, enabling complex extraction and reasoning tasks end-to-end.

What's the best way to offload heavy reasoning tasks while keeping results in Claude?

Delegate reasoning to Gemini CLI for its advanced domain knowledge and 1M+ token capacity, then retrieve results back into Claude for follow-up actions. This workflow separates heavy lifting from local processing while preserving continuity.

Do I need command-line experience to use Gemini CLI for file processing?

Gemini CLI operates via command line but requires only basic syntax: pass your file and task description to the gemini command. No programming experience needed; session management and timeout handling are built in.

What file formats does Gemini CLI support for large-file analysis?

Gemini CLI processes PDFs, images, and large text files. Supported formats leverage Gemini's reasoning capability for extraction, summarization, and multi-step analysis on structured and unstructured data.

Why offload to Gemini CLI instead of processing locally?

Gemini CLI handles files and context beyond local limits, excels at specialized domain reasoning, and manages timeout resilience automatically. Use it when file size, reasoning depth, or context window exceeds your immediate capacity.