Help us improve
Share bugs, ideas, or general feedback.
From gemini-workflows
Process very large documents or codebases using Gemini's 2M token context window. Use when dealing with content that exceeds typical context limits or requires seeing everything at once.
npx claudepluginhub orbruno/gemini-workflows-ccpluginHow this skill is triggered — by the user, by Claude, or both
Slash command
/gemini-workflows:skills/long-context-processingThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Automatically invoke this skill when:
Based on the Recursive Language Models (RLM) research by Zhang, Kraska, and Khattab (2025), this skill provides strategies for handling tasks that exceed comfortable context limits through programmatic decomposition and recursive self-invocation. Triggers on phrases like "analyze all files", "process this large document", "aggregate information from", "search across the codebase", or tasks involving 10+ files or 50k+ tokens.
Guides large codebase exploration with Gemini CLI using token thresholds, Flash/Pro model selection, Claude vs Gemini decisions, and chunking strategies.
Share bugs, ideas, or general feedback.
Automatically invoke this skill when:
process_long_context tool from gemini-api MCP server
{
"content": "[very large concatenated text content]",
"prompt": "Analyze the overall architecture and identify main patterns",
"model": "gemini-1.5-pro" // Pro recommended for long context
}
When aggregating multiple files, use clear delimiters:
=== FILE: path/to/file1.py ===
[file content]
=== FILE: path/to/file2.py ===
[file content]
This helps Gemini maintain file context in its analysis.