Gemini Extensions Operational Protocol
The Extensions Operational Protocol defines mandatory Standard Operating Procedures (SOPs) governing how Gemini CLI selects and orchestrates extensions. Transforms ad-hoc tool use into a disciplined engineering workflow.
Activation: Tell Gemini: "Follow the rules in GEMINI_EXTENSIONS_PROTOCOL.md to implement [TASK]." Gemini then automatically selects the correct tools without per-tool specification.
Power Agent Hierarchy:
| Persona | Extension | Trigger | Mandate |
|---|---|---|---|
| The Senior Architect | Pickle Rick | High-stakes refactoring, architectural design, AI Slop removal | Activate load-pickle-persona |
| The Autonomous Manager | Metaswarm | Multi-step features, end-to-end PR management | Use orchestrated-execution; always trigger Adversarial Review Gates |
| The Security Auditor | Snitch | Any security-sensitive change | Always run before code is committed |
Decision tree: Single-file fix → direct; Multi-file feature → Metaswarm + Adversarial Review; Refactor → Pickle Rick (God Mode); Security → Snitch (always parallel); Architecture → Pickle Rick then Metaswarm.
Research-First Mandate: Gemini is prohibited from answering technical questions from training data alone. Use Exa MCP (get-code-context-exa or web-search-advanced-research-paper) first. Exception: purely mathematical or stable well-established knowledge.
Infrastructure SOPs: GCP tasks require GeminiCloudAssist consultation first. Kubernetes deployments use GKE MCP templates + gke-workload-security audit. Network diagnostics must use Globalping from at least 3 geographic regions.
Quality & Testing Loop: Web UI changes require Chrome DevTools MCP visual review + accessibility audit. Every PR gets Metaswarm PR Shepherd for autonomous CI failure resolution. Major refactors run Sonarqube MCP quality gates.
Documentation Persistence Rules: Video-based learning → YouTube to Docs first. Project summaries → sync to Google Docs via Google Workspace extension. Solved problems → document with gemini-kit:compound-docs.