Delegates tasks to Gemini CLI for large-context analysis like broad codebase reviews or long-document processing. Activates on explicit requests such as 'use gemini' or 'delegate to gemini'.
From developer-kit-toolsnpx claudepluginhub giuseppe-trisciuoglio/developer-kit --plugin developer-kit-toolsThis skill is limited to using the following tools:
references/cli-command-reference.mdEnables AI agents to execute x402 payments with per-task budgets, spending controls, and non-custodial wallets via MCP tools. Use when agents pay for APIs, services, or other agents.
Designs and optimizes AI agent action spaces, tool definitions, observation formats, error recovery, and context for higher task completion rates.
Compares coding agents like Claude Code and Aider on custom YAML-defined codebase tasks using git worktrees, measuring pass rate, cost, time, and consistency.
Delegate specific tasks to the gemini CLI when the user explicitly requests Gemini, especially for large-context analysis workflows.
This skill provides a safe and consistent workflow to:
gemini in non-interactive mode for deterministic outputsThis skill complements existing capabilities by delegating specific tasks to Gemini when requested.
Use this skill when:
Typical trigger phrases:
Verify tool availability before delegation:
gemini --version
If unavailable, inform the user and stop execution until Gemini CLI is installed.
references/cli-command-reference.md-p for reproducible runs.Before running Gemini:
If scope is ambiguous, ask for clarification first.
Build a precise English prompt from the user request.
Prompt quality checklist:
Example transformation:
Preferred baseline command:
gemini -p "<english-prompt>"
Supported options:
-m, --model <model-id> for model selection--approval-mode <default|auto_edit|yolo|plan>-y, --yolo as yolo shortcut-r, --resume <session-id-or-latest> to resume session--raw-output for unformatted output-o, --output-format <text|json|stream-json>Safety guidance:
--approval-mode default unless user asks otherwise--approval-mode plan for read-only analysis--yolo only with explicit user consentRun the selected command via Bash and capture stdout/stderr.
Examples:
# Default non-interactive delegation
gemini -p "Analyze this codebase architecture and list refactoring opportunities by impact."
# Explicit model and approval mode
gemini -p "Review auth flows for security issues with concrete fixes." -m gemini-2.5-pro --approval-mode plan
# Structured output for automation
gemini -p "Summarize key technical debt items as JSON array." --output-format json
# Resume latest session
gemini -r latest -p "Continue from previous analysis and focus on test coverage gaps."
When reporting Gemini output:
Use this structure when returning delegated results:
## Gemini Delegation Result
### Task
[delegated task summary]
### Command
`gemini ...`
### Key Findings
- Finding 1
- Finding 2
### Suggested Next Actions
1. Action 1
2. Action 2
### Notes
- Output language from Gemini: English
- Requires user approval before applying code changes
gemini -p "Analyze this repository for security vulnerabilities. Report only high-confidence issues with file paths, severity, and patch recommendations." --approval-mode plan
gemini -p "Read the available documentation and produce a concise architecture summary with component responsibilities and integration points." -m gemini-2.5-pro
gemini -p "Return a JSON list of top 10 refactoring opportunities with fields: title, file, impact, effort." --output-format json
plan mode for analysis-only tasks