gemini-extension-development

Guide building and managing Gemini CLI Extensions with MCP integration.

2|Updated Jan 15, 2026
One-click install
npx skills add https://github.com/DTMC-marketplace/governance --skill gemini-extension-development
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gemini-extension-development
Source: https://github.com/DTMC-marketplace/governance/tree/main/skills/gemini-extension-development
Command: npx skills add https://github.com/DTMC-marketplace/governance --skill gemini-extension-development

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides expert guidance for developing, testing, and distributing Gemini CLI Extensions, enabling users to customize and extend Gemini's capabilities.

Core Features & Use Cases

  • Extension Creation: Guides users through creating new Gemini extensions.
  • Local Development: Facilitates linking local extensions for hot-reloading and testing.
  • Command Integration: Assists in adding custom slash commands via .toml files.
  • Publishing: Provides information on packaging MCP servers and releasing extensions.
  • Use Case: A developer wants to add a new custom command to Gemini that fetches real-time stock data. This Skill will guide them through creating the extension, defining the command, and testing it locally before publishing.

Quick Start

Use the gemini-extension-development skill to create a new Gemini CLI extension.

Frequently Asked Questions about gemini-extension-development

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

FAQPage Schema
How do I create a Gemini CLI extension with custom slash commands?

To create a Gemini CLI extension, you define custom slash commands using `.toml` files and configure the extension manifest. This Skill guides you through structuring the extension anatomy and defining command syntax for local development and testing.

What is the GEMINI.md context file used for in Gemini extensions?

The GEMINI.md context file provides essential context and instructions to the Gemini CLI when building extensions. It defines behavior and parameters, ensuring the extension operates correctly within the Gemini CLI environment.

How do I link a local Gemini extension for hot-reloading and testing?

You can link a local Gemini extension for hot-reloading by using local development workflows. This allows you to test extension commands and MCP integration locally before proceeding to publish or package the extension.

How do I integrate an MCP server into a Gemini CLI extension?

Integrating an MCP server into a Gemini CLI extension involves packaging the server and configuring it within the extension manifest. This provides extended capabilities and tool integration for the Gemini CLI environment during development.

What is the publishing workflow for releasing a Gemini CLI extension?

The publishing workflow for a Gemini CLI extension involves packaging MCP servers, finalizing the extension manifest, and executing release processes. This supports installation from various sources to distribute your custom Gemini extensions.

Do I need to understand manifest files to build Gemini CLI extensions?

Yes, understanding extension manifest files is required to build Gemini CLI extensions. You must define command syntax, configure GEMINI.md context, and manage the release processes to successfully create and publish extensions.