Skip to content

Enhance Extensions with Hooks, Parallel Agents, and Decentralized Marketplace #17428

Closed as not planned

Description

@fhfjjfjd

What would you like to be added?

Additional Context: Why Extensions Alone Are Not Enough

While Gemini CLI already has Extensions, they lack critical capabilities that Claude Code Plugins provide:

🎯 Missing Feature #1: Hooks (Lifecycle Interception)

Claude Code plugins can intercept and modify execution flow:

  • PreToolUse hook - Validate/block dangerous commands before execution
  • Stop hook - Control iteration loops and autonomous workflows
  • Pre/Post hooks - Enforce standards, auto-format, security scanning

Use case example:

// Security plugin blocks risky patterns in real-time
Hook: PreToolUse monitors:
- Command injection attempts
- XSS patterns
- eval() usage
- Dangerous system calls
→ BLOCKS execution immediately
Gemini Extensions can only suggest - they cannot intercept or prevent actions.
🎯 Missing Feature #2: Parallel Agent Execution
Claude Code supports multi-agent workflows running simultaneously:
PR Review plugin: 5 specialized agents analyze code in parallel
Each agent has independent context and expertise
Results merge with confidence scoring
Gemini Skills run sequentially - no parallel processing.
🎯 Missing Feature #3: Decentralized Marketplace Ecosystem
Claude Code: Anyone can host a plugin marketplace
Community marketplaces: 80+ curated agents (Seth Hobson)
Personal marketplaces: 16 agents, 10+ commands (various creators)
Specialized packs: DevOps, AI/ML, crypto, creator tools
Gemini CLI: Centralized gallery, mostly official extensions
Smaller community contribution
Harder to discover niche/experimental extensions
📊 Feature Comparison:
Capability
Claude Plugins
Gemini Extensions
Hooks/Lifecycle Control
✅
❌
Parallel Agents
✅
❌
Decentralized Marketplaces
✅
❌
Security Interception
✅ Real-time blocking
⚠️ Suggestions only
Autonomous Loops
✅
❌
💡 Proposed Enhancement:
Not "add plugins" (Extensions exist), but upgrade Extensions with:
Hook system for lifecycle interception
Parallel execution for Skills/Agents
Decentralized marketplace support (anyone can host)
Better discovery and community contribution flow
This would make Gemini CLI Extensions as powerful as Claude Code Plugins while maintaining Google's quality standards.
References:
Claude Code Plugins architecture: [documentation/examples from search]
Community marketplaces showing demand for these features

### Why is this needed?

## Why This Enhancement Is Needed

**Current Problem:**
Gemini CLI Extensions can only provide passive suggestions and sequential workflows. 
They cannot intercept dangerous operations, run security checks in real-time, or 
execute multi-agent analysis in parallel.

**Business Impact:**
1. **Security Risk** - No way to block malicious code before execution
2. **Limited Automation** - Sequential skills are too slow for complex tasks
3. **Weak Ecosystem** - Centralized marketplace limits community innovation
4. **Competitive Gap** - Claude Code offers superior extensibility

**What Users Need:**
- Enterprise teams need enforceable security policies (Hooks)
- Developers need faster AI assistance (Parallel Agents)  
- Community needs freedom to create/share extensions (Decentralized Marketplace)

**Bottom Line:**
Without Hooks and parallel execution, Gemini CLI Extensions remain "nice-to-have" 
instead of "mission-critical" - limiting enterprise adoption and developer productivity

### Additional context

_No response_

Activity

  1. added
    status/need-triage
    on Jan 24, 2026
  2. added theissue type on Jan 24, 2026
  3. removed
    status/need-triage
    on Jan 24, 2026
  4. gemini-cli commented on Jan 24, 2026

    @gemini-cli
    Contributor

    Hi @fhfjjfjd, thank you for your interest in helping triage issues!

    The status/need-triage label is reserved for project maintainers to apply. This helps us ensure that an issue is ready and properly vetted for community contribution.

    A maintainer will review this issue soon. Please see our CONTRIBUTING.md for more details on our labeling process.

  5. github-actions commented on Mar 25, 2026

    @github-actions

    This issue has been automatically marked as stale due to 60 days of inactivity. It will be closed in 14 days if no further activity occurs.

  6. fhfjjfjd commented on Mar 26, 2026

    @fhfjjfjd
    Author

    Hello

  7. gemini-cli commented on Apr 26, 2026

    @gemini-cli
    Contributor

    Hello! As part of our effort to keep our backlog manageable and focus on the most active issues, we are tidying up older reports.

    It looks like this issue hasn't been active for a while, so we are closing it for now. However, if you are still experiencing this bug on the latest stable build, please feel free to comment on this issue or create a new one with updated details.

    Thank you for your contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions