gemini-delegation
// Gemini CLI delegation workflow implementing delegation-core for Google's Gemini models. Use when delegation-core selected Gemini, need Gemini's 1M+ token context window, batch processing required. Do not use when deciding which model to use (use delegation-core first), gemini CLI not installed.
$ git log --oneline --stat
stars:201
forks:38
updated:March 4, 2026
SKILL.mdreadonly
SKILL.md Frontmatter
namegemini-delegation
descriptionGemini CLI delegation workflow implementing delegation-core for Google's.
alwaysApplyfalse Gemini models. Use when delegation-core selected Gemini, need Gemini's 1M+ token context window, batch processing required. Do not use when deciding which model to use (use delegation-core first), gemini CLI not installed.
categorydelegation-implementation
tagsgemini,cli,delegation,google,large-context
dependenciesdelegation-core
toolsgemini-cli
usage_patternsgemini-cli-integration,large-context-analysis,batch-processing
complexityintermediate
model_hintstandard
estimated_tokens600
progressive_loadingtrue
modulesmodules/gemini-specifics.md
referencesdelegation-core/../../leyline/skills/authentication-patterns/SKILL.md,delegation-core/../../leyline/skills/quota-management/SKILL.md,delegation-core/../../leyline/skills/usage-logging/SKILL.md,delegation-core/../../leyline/skills/error-patterns/SKILL.md
Table of Contents
Gemini CLI Delegation
Overview
This skill implements conjure:delegation-core for the Gemini CLI.
It provides Gemini-specific authentication, quota management,
and command construction.
For shared delegation patterns, see Skill(conjure:delegation-core).
When To Use
- After
Skill(conjure:delegation-core)determines Gemini is suitable - When you need Gemini's large context window (1M+ tokens)
- For batch processing, summarization, or pattern extraction tasks
- If the
geminiCLI is installed and authenticated
Prerequisites
Installation:
# Verify installation
gemini --version
# Check authentication
gemini auth status
# Login if needed
gemini auth login
# Or set API key
export GEMINI_API_KEY="your-key"
Verification: Run the command with --help flag to verify availability.
Quick Start
Basic Command
# File analysis
gemini -p "@path/to/file Analyze this code"
# Multiple files
gemini -p "@src/**/*.py Summarize these files"
# With specific model
gemini --model gemini-2.5-pro-exp -p "..."
# JSON output
gemini --output-format json -p "..."
Save Output
gemini -p "..." > delegations/gemini/$(date +%Y%m%d_%H%M%S).md
Gemini-Specific Details
For Gemini-specific models, CLI options, cost reference,
and troubleshooting, see modules/gemini-specifics.md.