Agent skill
handoff-gemini
Delegate tasks to Gemini CLI to save Claude context
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/handoff-gemini
SKILL.md
Handoff to Gemini CLI
Delegate tasks to Google Gemini CLI to save Claude context.
When to Use Gemini
| 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 |
Prerequisites
# Install Gemini CLI (Google)
npm install -g @google/gemini-cli
# Or via: https://github.com/google-gemini/gemini-cli
Handoff Process
1. Prepare Context
## Task for Gemini
**Goal**: [What needs to be done]
**Files**: [Which files to analyze]
**Output**: [What format to return]
2. Generate Command
# 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
3. Provide Instructions
- Why Gemini is suitable
- Expected output
- How to continue workflow
Example
## Task: Research API Best Practices
**Command:**
gemini "Research REST API versioning strategies. Summarize pros/cons."
**After:**
- Review research
- Share relevant findings
- Implement chosen strategy
Benefits
- Token Savings: Research tasks don't consume Claude context
- Long Context: Handles very large documents
- Specialization: Use each AI's strengths
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?