ask-gemini

Delegate code review, architecture design, and Workspace tasks to Gemini CLI in headless mode.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/rayshan/agent-plugins --skill ask-gemini-rayshan
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ask-gemini
Source: https://github.com/rayshan/agent-plugins/tree/main/ray-agent-plugins/skills/ask-gemini
Command: npx skills add https://github.com/rayshan/agent-plugins --skill ask-gemini-rayshan

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill enables users to delegate code reviews, architecture design tasks, and Google Workspace operations to the Gemini CLI running in headless mode, streamlining collaborative workflows and accelerating decision making.

Core Features & Use Cases

  • Delegated code review and analysis with Gemini CLI to surface security issues, refactor opportunities, and architecture guidance.
  • Architecture design support, generating system design options and trade-offs based on project context.
  • Google Workspace operations assistance (email, calendar, docs, drive) via Gemini workflows to triage and automate routine tasks.

Quick Start

gemini -p 'Review this code for security vulnerabilities'

Frequently Asked Questions about ask-gemini

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run automated code reviews using Gemini in headless mode?

Automated code reviews with Gemini in headless mode are executed by delegating tasks to the Gemini CLI using the -p or --prompt option. This approach surfaces security vulnerabilities, refactor opportunities, and architecture guidance directly from your project context.

Can I use Gemini CLI to triage Google Workspace operations like email and calendar?

Yes, Gemini CLI can triage Google Workspace operations including email, calendar, docs, and drive. By delegating workflows to Gemini in headless mode, you can automate routine Workspace tasks, analyze content, and generate actionable recommendations.

How do I provide local code context to Gemini CLI during architecture planning?

To provide local code context to Gemini CLI for architecture planning, use the optional --include-directories flag. This allows the headless Gemini process to access your project files and generate system design options based on your specific project context.

Do I need any specific extensions to connect Gemini CLI to my Workspace environment?

To connect Gemini CLI to your Workspace environment, you can use the --allowed-mcp-server-names flag to specify workspace extensions. This enables the headless Gemini instance to interact with your specified MCP servers during task delegation.

What is the best way to generate system design trade-offs for my project using Gemini?

The best way to generate system design trade-offs is delegating architecture design tasks to Gemini CLI in headless mode. Gemini analyzes your provided project context and generates comprehensive system design options alongside their respective architectural trade-offs.

Why does Gemini CLI need to run in headless mode for code analysis and Workspace ops?

Gemini CLI runs in headless mode to enable seamless, automated task delegation for code analysis and Workspace operations without interactive UI interruptions. This streamlines collaborative workflows and accelerates decision making by directly processing prompts.