11# 🧠 GEMINI.md - Gemini CLI Integration & MCP Hub
22
3- > ** Version** : 3.1 .0 | ** Status** : Production Ready | ** Updated** : January 2025
3+ > ** Version** : 3.3 .0 | ** Status** : Production Ready | ** Updated** : October 2025
44>
5- > ** Purpose** : Optimized for Gemini CLI integration and Google AI services orchestration
5+ > ** Purpose** : Optimized for Gemini CLI integration as an official Extension (October 8, 2025) with MCP server orchestration
66
7- ## 🚀 NEW: Gemini CLI Integration Mode
7+ ## 🚀 NEW: Gemini CLI Extension Framework (October 8, 2025)
88
9- ** Use ` --gemini ` flag for enhanced Google AI integration in all commands**
9+ ** Official Gemini CLI Extensions support for gemini-flow - Package your AI orchestration platform as an installable Gemini CLI extension**
10+
11+ ### What is Gemini CLI Extensions?
12+
13+ The October 8, 2025 update introduced the ** Gemini CLI Extensions framework** , allowing developers to:
14+ - Package MCP servers, custom commands, and context into installable extensions
15+ - Use ` gemini-extension.json ` manifest for configuration
16+ - Install extensions via ` gemini extensions install ` commands
17+ - Enable/disable extensions dynamically
18+ - Share extensions via GitHub or local directories
19+
20+ ### gemini-flow as a Gemini Extension
21+
22+ gemini-flow is now available as an official Gemini CLI extension, packaging:
23+ - ** 9 MCP Servers** : Redis, Git Tools, Puppeteer, Sequential Thinking, Filesystem, GitHub, Mem0, Supabase, Omnisearch
24+ - ** 7 Custom Commands** : hive-mind, swarm, agent, memory, task, sparc, workspace
25+ - ** Auto-loading Context** : GEMINI.md and project documentation
26+ - ** Advanced Features** : Agent coordination, swarm intelligence, SPARC modes
27+
28+ ### Installation
29+
30+ ``` bash
31+ # Install from GitHub
32+ gemini extensions install github:clduab11/gemini-flow
33+
34+ # Install from local clone
35+ cd /path/to/gemini-flow
36+ gemini extensions install .
37+
38+ # Enable the extension
39+ gemini extensions enable gemini-flow
40+ ```
41+
42+ ### Using gemini-flow Commands
43+
44+ Once enabled, use gemini-flow commands directly in Gemini CLI:
45+
46+ ``` bash
47+ # Hive mind operations
48+ gemini hive-mind spawn " Build AI application"
49+ gemini hive-mind status
50+
51+ # Agent swarms
52+ gemini swarm init --nodes 10
53+ gemini swarm spawn --objective " Research task"
54+
55+ # Individual agents
56+ gemini agent spawn researcher --count 3
57+ gemini agent list
58+
59+ # Memory operations
60+ gemini memory store " key" " value" --namespace project
61+ gemini memory query " pattern"
62+
63+ # Task management
64+ gemini task create " Feature X" --priority high
65+ ```
66+
67+ ### MCP Servers Auto-Configured
68+
69+ The extension automatically sets up all 9 MCP servers:
70+ 1 . ** Redis** - Key-value storage (396,610 ops/sec)
71+ 2 . ** Git Tools** - Git operations via Python
72+ 3 . ** Puppeteer** - Browser automation
73+ 4 . ** Sequential Thinking** - Planning and reasoning
74+ 5 . ** Filesystem** - File operations
75+ 6 . ** GitHub** - GitHub API integration
76+ 7 . ** Mem0 Memory** - Persistent memory
77+ 8 . ** Supabase** - Database operations
78+ 9 . ** Omnisearch** - Multi-source research
79+
80+ ### Extension Management
81+
82+ ``` bash
83+ # List installed extensions
84+ gemini extensions list
85+
86+ # Enable/disable
87+ gemini extensions enable gemini-flow
88+ gemini extensions disable gemini-flow
89+
90+ # Update extension
91+ gemini extensions update gemini-flow
92+
93+ # Uninstall
94+ gemini extensions uninstall gemini-flow
95+ ```
96+
97+ ### Built-in Extension Manager
98+
99+ gemini-flow also includes its own extension management commands:
100+
101+ ``` bash
102+ # Using gem-extensions command
103+ gemini-flow gem-extensions install github:user/extension
104+ gemini-flow gem-extensions list
105+ gemini-flow gem-extensions enable extension-name
106+ gemini-flow gem-extensions info extension-name
107+ ```
108+
109+ ### Gemini CLI Integration Mode
110+
111+ ** Use ` --gemini ` flag for enhanced Google AI integration in gemini-flow commands**
10112
11113### Quick Examples
12114``` bash
@@ -26,6 +128,7 @@ gemini-flow --gemini task create "Deploy to GCP"
26128- ✅ ** Google Workspace** : Native Docs/Sheets integration
27129- ✅ ** Context Loading** : Automatic GEMINI.md context loading
28130- ✅ ** GCP Services** : Seamless authentication & resources
131+ - ✅ ** Extension Framework** : Official Gemini CLI Extensions (October 8, 2025)
29132
30133---
31134
@@ -37,12 +140,27 @@ This documentation is specifically engineered for **Gemini Code Assist** using G
37140
38141## 📋 Quick Navigation
39142
40- 1 . [ ** MCP Integration Hub** ] ( #mcp-integration-hub ) - Deploy and manage 9 MCP servers
41- 2 . [ ** 5-Branch ToT Methodology** ] ( #5-branch-tot-methodology ) - Advanced reasoning framework
42- 3 . [ ** Gemini Code Assist Features (2025)** ] ( #gemini-code-assist-features-2025 ) - Latest capabilities
43- 4 . [ ** Prompt Engineering Mastery** ] ( #prompt-engineering-mastery ) - Google's best practices
44- 5 . [ ** Quick Access Commands** ] ( #quick-access-commands ) - Essential operations
45- 6 . [ ** Cross-References** ] ( #cross-references ) - Links to gemini-flow.md
143+ 1 . [ ** Gemini CLI Extensions** ] ( #-new-gemini-cli-extension-framework-october-8-2025 ) - Official extension framework
144+ 2 . [ ** MCP Integration Hub** ] ( #mcp-integration-hub ) - Deploy and manage 9 MCP servers
145+ 3 . [ ** 5-Branch ToT Methodology** ] ( #5-branch-tot-methodology ) - Advanced reasoning framework
146+ 4 . [ ** Gemini Code Assist Features (2025)** ] ( #gemini-code-assist-features-2025 ) - Latest capabilities
147+ 5 . [ ** Prompt Engineering Mastery** ] ( #prompt-engineering-mastery ) - Google's best practices
148+ 6 . [ ** Quick Access Commands** ] ( #quick-access-commands ) - Essential operations
149+ 7 . [ ** Cross-References** ] ( #cross-references ) - Links to gemini-flow.md
150+
151+ ---
152+
153+ ## 🔌 Gemini CLI Extensions
154+
155+ > ** Note** : This section has been moved to the top of this document. See [ Gemini CLI Extension Framework] ( #-new-gemini-cli-extension-framework-october-8-2025 ) for the official October 8, 2025 extensions implementation.
156+
157+ gemini-flow is now available as an official Gemini CLI extension. Install it with:
158+
159+ ``` bash
160+ gemini extensions install github:clduab11/gemini-flow
161+ ```
162+
163+ ---
46164
47165---
48166
0 commit comments