Delegate tasks to Gemini CLI to save Claude context
Delegate tasks to Google Gemini CLI to save Claude context.
| Use Gemini For | Keep in Claude |
|---|---|
| Long document analysis | Complex coding |
| Multimodal tasks | Architecture decisions |
| Research and summarization | Multi-step workflows |
| Large file comprehension | Problem analysis |
npm install -g @anthropic/gemini-cli
## Task for Gemini
**Goal**: [What needs to be done]
**Files**: [Which files to analyze]
**Output**: [What format to return]
# Analyze large file
gemini "Summarize components in codebase" -f src/**/*.ts
# Research task
gemini "Research best practices for [topic]"
# Document analysis
gemini "Extract key points" -f docs/spec.md
## Task: Research API Best Practices
**Command:**
gemini "Research REST API versioning strategies. Summarize pros/cons."
**After:**
- Review research
- Share relevant findings
- Implement chosen strategy