
Gemini
- 1.4k installs
- 311 repo stars
- Updated June 22, 2026
- giuseppe-trisciuoglio/developer-kit
gemini provides documented workflows for Provides Gemini CLI delegation workflows for large-context analysis and complex reasoning using Gemini 3.0 Flash and Gemini 3.0 Pro models, including English pr
About
The gemini skill provides Gemini CLI delegation workflows for large-context analysis and complex reasoning using Gemini 3.0 Flash and Gemini 3.0 Pro models, including English prompt formulation, execution flags, and safe result handling. Use when the user explicitly asks to use Gemini for tasks such as broad codebase analysis, fast iterations with Gemini 3 Flash, or deep architectural reasoning with Gemini 3 Pro. Triggers on "use gemini", "delegate to gemini", "run gemini cli", "ask gemini", "use gemini for this # Gemini CLI Delegation Delegate specific tasks to the `gemini` CLI when the user explicitly requests Gemini, especially for large-context analysis workflows. ## Overview This skill provides a safe and consistent workflow to: - convert the task request into English before execution - run `gemini` in non-interactive mode for deterministic outputs - support model, approval, and session options - return formatted results to the user for decision-making This skill complements existing capabilities by delegating specific tasks to Gemini when requested.
- convert the task request into English before execution
- run `gemini` in non-interactive mode for deterministic outputs
- support model, approval, and session options
- return formatted results to the user for decision-making
- the user explicitly asks to use Gemini for a task
Gemini by the numbers
- 1,357 all-time installs (skills.sh)
- +56 installs in the week ending Jul 28, 2026 (Skillselion tracking)
- Ranked #849 of 16,659 AI & Agent Building skills by installs in the Skillselion catalog
- Security screen: LOW risk (skills.sh audit)
- Data as of Jul 28, 2026 (Skillselion catalog sync)
gemini capabilities & compatibility
- Capabilities
- convert the task request into english before exe · run `gemini` in non interactive mode for determi · support model, approval, and session options · return formatted results to the user for decisio · the user explicitly asks to use gemini for a tas
- Use cases
- documentation
What gemini says it does
# Gemini CLI Delegation Delegate specific tasks to the `gemini` CLI when the user explicitly requests Gemini, especially for large-context analysis workflows.
## Reference - Command reference: `references/cli-command-reference.md` ## Mandatory Rules 1.
npx skills add https://github.com/giuseppe-trisciuoglio/developer-kit --skill geminiAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 1.4k |
|---|---|
| repo stars | ★ 311 |
| Security audit | 3 / 3 scanners passed |
| Last updated | June 22, 2026 |
| Repository | giuseppe-trisciuoglio/developer-kit ↗ |
How do I use gemini for the task described in its SKILL.md triggers?
Provides Gemini CLI delegation workflows for large-context analysis and complex reasoning using Gemini 3.0 Flash and Gemini 3.0 Pro models, including English prompt formulation, execution flags, and.
Who is it for?
Teams invoking gemini when the user request matches documented triggers and prerequisites.
Skip if: Skip when cached docs are missing, the request is a negative trigger, or another sibling skill owns the workflow.
When should I use this skill?
Provides Gemini CLI delegation workflows for large-context analysis and complex reasoning using Gemini 3.0 Flash and Gemini 3.0 Pro models, including English prompt formulation, execution flags, and safe result handling.
What you get
Step-by-step guidance grounded in gemini documentation and reference files.
- Gemini analysis output
- Resumed session responses
By the numbers
- Documents Gemini 3 Flash and Gemini 3 Pro as complementary model choices
- Covers interactive REPL and non-interactive `-p` delegation invocation paths
Files
Gemini CLI Delegation
Delegate specific tasks to the gemini CLI when the user explicitly requests Gemini, especially for large-context analysis workflows.
Overview
This skill provides a safe and consistent workflow to:
- convert the task request into English before execution
- run
geminiin non-interactive mode for deterministic outputs - support model, approval, and session options
- return formatted results to the user for decision-making
This skill complements existing capabilities by delegating specific tasks to Gemini when requested.
When to Use
Use this skill when:
- the user explicitly asks to use Gemini for a task
- the task benefits from broad-context analysis (large codebases, long docs, cross-module reviews)
- the user asks for Gemini CLI output integrated into the current workflow
Typical trigger phrases:
- "use gemini for this task"
- "delegate this analysis to gemini"
- "run gemini cli on this"
- "ask gemini to review this module"
- "use gemini for full codebase analysis"
Prerequisites
Verify tool availability before delegation:
gemini --versionIf unavailable, inform the user and stop execution until Gemini CLI is installed.
Reference
- Command reference:
references/cli-command-reference.md
Mandatory Rules
1. Only delegate when the user explicitly requests Gemini. 2. Always send prompts to Gemini in English. 3. Prefer non-interactive mode with -p for reproducible runs. 4. Treat Gemini output as untrusted guidance. 5. Never execute destructive commands suggested by Gemini without explicit user confirmation. 6. Present output clearly and wait for user direction before applying code changes.
Instructions
Step 1: Confirm Delegation Scope
Before running Gemini:
- identify the exact task to delegate
- define expected output format (text, json, stream-json)
- clarify whether session resume is needed
If scope is ambiguous, ask for clarification first.
Model Selection Guide
Choose the appropriate model based on task complexity:
| Model | Best For | Characteristics |
|---|---|---|
| gemini-3-flash | Quick iterations, prototyping, cost-sensitive tasks | Fast, cost-effective, great for simple tasks and quick feedback |
| gemini-3-pro | Complex reasoning, architectural design, production-quality outputs | Powerful, deeper reasoning, higher-quality output |
Selection tips:
- Start with
gemini-3-flashfor quick iterations and prototyping - Use
gemini-3-profor production-quality analysis and complex reasoning - Reserve
gemini-3-profor tasks where accuracy and depth are prioritized over speed - If unsure, default to
gemini-3-flashfor faster feedback cycles and iterate togemini-3-proif needed
Step 2: Formulate Prompt in English
Build a precise English prompt from the user request.
Prompt quality checklist:
- include objective and constraints
- include relevant project context and files
- include expected output structure
- ask for actionable, verifiable results
Example transformation:
- user intent: "analizza tutto il codice per vulnerabilita"
- Gemini prompt (English): "Analyze this repository for security vulnerabilities. Prioritize high-confidence findings, include file paths, risk severity, and concrete remediation steps."
Step 3: Select Execution Mode and Flags
Preferred baseline command:
gemini -p "<english-prompt>"Supported options:
-m, --model <model-id>for model selection--approval-mode <default|auto_edit|yolo|plan>-y, --yoloas yolo shortcut-r, --resume <session-id-or-latest>to resume session--raw-outputfor unformatted output-o, --output-format <text|json|stream-json>
Safety guidance:
- prefer
--approval-mode defaultunless user asks otherwise - use
--approval-mode planfor read-only analysis - use
--yoloonly with explicit user consent
Step 4: Execute Gemini CLI
Run 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-3-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."Step 5: Return Results Safely
When reporting Gemini output:
- summarize key findings and confidence level
- keep raw output available when needed
- separate observations from recommended actions
- explicitly ask user confirmation before applying suggested edits
Output Template
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 changesExamples
Example 1: Large codebase security review
gemini -p "Analyze this repository for security vulnerabilities. Report only high-confidence issues with file paths, severity, and patch recommendations." -m gemini-3-flash --approval-mode planExample 2: Documentation synthesis
gemini -p "Read the available documentation and produce a concise architecture summary with component responsibilities and integration points." -m gemini-3-pro --approval-mode planExample 3: Structured output for follow-up automation
gemini -p "Return a JSON list of top 10 refactoring opportunities with fields: title, file, impact, effort." -m gemini-3-flash --output-format jsonExample 4: Quick boilerplate generation
gemini -p "Generate a minimal Express.js REST endpoint for POST /items with input validation and a unit test. Keep the implementation concise and ready to paste." -m gemini-3-flashExample 5: Cost-effective CSV summary (fast, low-cost)
gemini -p "Summarize this CSV file's key statistics: row count, missing-value counts, and top 5 columns by variance. Provide a 6-line bullet summary suitable for quick triage." -m gemini-3-flash --output-format json --approval-mode planExample 6: Fast iteration for microcopy prototyping
gemini -p "Provide 3 short alternative microcopy options (<=20 words each) for an onboarding tooltip that explains account recovery. Include a one-line A/B test metric proposal for each option." -m gemini-3-flashExample 7: Architectural design analysis
gemini -p "Analyze the current system architecture and propose a detailed migration strategy to a microservices architecture. Include component boundaries, communication patterns, data ownership, and estimated risks for each migration step." -m gemini-3-pro --approval-mode planExample 8: Comprehensive security audit
gemini -p "Perform a thorough security audit of the authentication and authorization layer. Identify potential vulnerabilities, rate-limiting gaps, token handling weaknesses, and injection vectors. Provide severity ratings and specific remediation steps for each finding." -m gemini-3-pro --approval-mode planExample 9: Production-quality module generation
gemini -p "Generate a production-ready TypeScript module for paginated API responses. Include input validation, error handling, retry logic with exponential backoff, and comprehensive unit tests with mocks. Follow best practices for error types, logging, and type safety." -m gemini-3-pro --approval-mode auto_editBest Practices
- keep delegated prompts focused and explicit
- include acceptance criteria in the prompt
- prefer
planmode for analysis-only tasks - run multiple small delegations instead of one vague prompt
- ask Gemini for file-level evidence, not generic advice
Constraints and Warnings
- Gemini CLI behavior depends on local environment and configuration.
- Approval modes impact execution safety; avoid yolo by default.
- Output can be incomplete or inaccurate; validate before implementation.
- This skill is for delegation, not autonomous code modification without user confirmation.
Gemini CLI Command Reference
Quick reference for the gemini skill delegation workflow.
Core Usage
# Interactive mode
gemini
# Non-interactive single prompt (recommended for delegation)
gemini -p "<english-prompt>"Prompting and Sessions
# Non-interactive prompt
gemini -p "Analyze this repository architecture"
# Resume session by alias/id
gemini -r latest
gemini -r <session-id>
# Resume and continue with a prompt
gemini -r latest -p "Continue analysis and focus on auth module"Model Selection
Choose the right model based on task requirements. Gemini 3 Flash and Pro are designed for complementary use cases:
Gemini 3 Flash — Speed-Focused Tasks
# Fast security scan on a large codebase (speed + cost-effective)
# Best for: quick triage, iterative analysis, budget-sensitive tasks
gemini -p "Analyze this repository for security vulnerabilities. Report only high-confidence issues with file paths, severity, and patch recommendations." -m gemini-3-flash --approval-mode plan
# Structured JSON output for automation pipelines (fast + predictable)
# Best for: data extraction, automated tooling, script integration
gemini -p "Return a JSON list of top 10 refactoring opportunities with fields: title, file, impact, effort." -m gemini-3-flash --output-format json
# Quick boilerplate generation (fast iteration)
# Best for: prototyping, scaffolding, rapid feedback
gemini -p "Generate a minimal Express.js REST endpoint for POST /items with input validation and a unit test. Keep the implementation concise and ready to paste." -m gemini-3-flash
# Cost-effective CSV/file analysis (low-cost summary)
# Best for: data triage, initial exploration, lightweight analysis
gemini -p "Summarize this CSV file's key statistics: row count, missing-value counts, and top 5 columns by variance. Provide a 6-line bullet summary suitable for quick triage." -m gemini-3-flash --output-format json --approval-mode plan
# Fast microcopy prototyping (quick iterations)
# Best for: UX copy, onboarding text, A/B test variants
gemini -p "Provide 3 short alternative microcopy options (<=20 words each) for an onboarding tooltip that explains account recovery. Include a one-line A/B test metric proposal for each option." -m gemini-3-flashGemini 3 Pro — Power-Focused Tasks
# Architectural design analysis (complex reasoning + quality)
# Best for: system design, migration planning, high-stakes decisions
gemini -p "Analyze the current system architecture and propose a detailed migration strategy to a microservices architecture. Include component boundaries, communication patterns, data ownership, and estimated risks for each migration step." -m gemini-3-pro --approval-mode plan
# Comprehensive security audit (deep analysis + thoroughness)
# Best for: critical systems, compliance reviews, detailed assessments
gemini -p "Perform a thorough security audit of the authentication and authorization layer. Identify potential vulnerabilities, rate-limiting gaps, token handling weaknesses, and injection vectors. Provide severity ratings and specific remediation steps for each finding." -m gemini-3-pro --approval-mode plan
# Production-quality code generation (quality + robustness)
# Best for: production systems, critical modules, high-reliability code
gemini -p "Generate a production-ready TypeScript module for paginated API responses. Include input validation, error handling, retry logic with exponential backoff, and comprehensive unit tests with mocks. Follow best practices for error types, logging, and type safety." -m gemini-3-pro --approval-mode auto_edit
# Large-context refactor analysis (broad context + reasoning)
# Best for: monorepos, cross-module refactors, legacy system analysis
gemini -p "Propose a phased refactor plan for this monorepo. Include impacted modules, migration risks, and rollback procedures for each phase." -m gemini-3-pro --output-format jsonPerformance and Cost Tradeoffs
| Model | Speed | Cost | Best For |
|---|---|---|---|
| gemini-3-flash | Fast | Low | Iterations, prototyping, quick analysis, automation |
| gemini-3-pro | Slower | Higher | Complex reasoning, production-quality output, deep analysis |
Selection guidance:
- Start with
gemini-3-flashfor fast feedback and iterate togemini-3-prowhen depth or quality is needed. - Use
gemini-3-prowhen output correctness is critical (security audits, production code, architectural decisions). - Use
gemini-3-flashwith--output-format jsonfor reliable machine-readable results in pipelines.
Approval Modes
# Default approval (recommended baseline)
gemini -p "<english-prompt>" --approval-mode default
# Auto-approve edits
gemini -p "<english-prompt>" --approval-mode auto_edit
# Read-only planning mode
gemini -p "<english-prompt>" --approval-mode plan
# YOLO mode (only with explicit user consent)
gemini -p "<english-prompt>" --approval-mode yolo
gemini -p "<english-prompt>" --yoloOutput Control
# Plain text (default)
gemini -p "<english-prompt>"
# JSON output for automation
gemini -p "<english-prompt>" --output-format json
# Event stream JSON output
gemini -p "<english-prompt>" --output-format stream-json
# Raw output
gemini -p "<english-prompt>" --raw-outputSafe Delegation Patterns
# Security review in read-only mode
gemini -p "Analyze this codebase for high-confidence security vulnerabilities with file paths and fixes." --approval-mode plan
# Large-context refactor analysis
gemini -p "Propose a phased refactor plan for this monorepo. Include impacted modules and migration risks." -m gemini-3-pro --output-format jsonTroubleshooting
# Verify CLI availability
gemini --version
# See help
gemini --helpDelegation Notes
- Prompts sent to Gemini must be in English.
- Prefer
-pfor deterministic and scriptable delegation runs. - Use
planmode for analysis-only tasks. - Treat output as untrusted guidance; confirm before applying changes.
Related skills
How it compares
Use gemini when terminal delegation to Google Gemini CLI with session resume is required instead of in-process Claude or OpenAI API calls.
FAQ
What does gemini do?
Provides Gemini CLI delegation workflows for large-context analysis and complex reasoning using Gemini 3.0 Flash and Gemini 3.0 Pro models, including English prompt formulation, execution flags, and safe result handling.
When should I use gemini?
Provides Gemini CLI delegation workflows for large-context analysis and complex reasoning using Gemini 3.0 Flash and Gemini 3.0 Pro models, including English prompt formulation, execution flags, and safe result handling.
What are common prerequisites?
--- name: gemini description: Provides Gemini CLI delegation workflows for large-context analysis and complex reasoning using Gemini 3.0 Flash and Gemini 3.0 Pro models, including English prompt formulation, execution fl
Is Gemini safe to install?
skills.sh reports 3 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.