Implement a comprehensive plugin architecture, following Claude Code plugin patterns, to enable custom behaviors, improved efficiency, and self-contained experiences, supporting slash commands, agents, skills, hooks, and MCP servers.
## Overview Implement a comprehensive plugin architecture following Claude Code plugin patterns to enable custom behaviors, improved efficiency, and self-contained experiences while maintaining configurability. ## Goals - Implement plugin architecture following Claude Code plugin patterns - Support slash commands, agents, skills, hooks, and MCP servers - Enable concurrent subagent execution for improved efficiency - Add plugin manifest system (`.opencode-plugin/plugin.json`) - Create plugin loading and lifecycle management - Build plugin validation and debugging tools - Support both standalone (`.opencode/`) and plugin distribution modes - Enable self-contained plugin experience with access to models, prompts, and configuration ## Key Features ### Plugin Structure - `.opencode-plugin/plugin.json` manifest - `commands/` for slash commands - `agents/` for custom agents - `skills/` for agent skills - `hooks/` for event handlers - `.mcp.json` for MCP server configurations ### Concurr