Repository navigation
Description
Summary
OpenCode already supports loading Claude Code configurations:
- ✅
~/.claude/CLAUDE.md- instruction files - ✅
.claude/skills/*/SKILL.md- skill definitions
Feature Request: Extend this compatibility to also support loading Claude Code plugins from .claude/ directories.
Current Behavior
OpenCode's native plugin system uses TypeScript/JavaScript modules:
.opencode/plugin/*.tsor.opencode/plugin/*.js~/.config/opencode/plugin/- npm packages in
opencode.json
Claude Code plugins are not loaded from:
.claude/plugins/(project-level)~/.claude/plugins/(global)
Proposed Behavior
Add support for discovering and loading plugins from Claude Code's plugin locations:
.claude/plugins/*.ts # Project-level
~/.claude/plugins/*.ts # Global
This would follow the same pattern as the existing .claude/skills/ compatibility.
Use Case
-
Ecosystem Leverage: Claude Code has a rich plugin ecosystem. Users could immediately benefit from existing Claude Code plugins without rewriting them.
-
Migration Path: Users transitioning from Claude Code to OpenCode wouldn't need to reorganize their plugin directories.
-
Interoperability: Users running both tools could share plugins between them, reducing maintenance overhead.
-
Consistency: OpenCode already respects
.claude/CLAUDE.mdand.claude/skills/. Extending this to plugins creates a more complete compatibility layer.
Implementation Considerations
-
Plugin Format Compatibility: If Claude Code plugins use a different format/API, a compatibility layer or adapter pattern may be needed.
-
Flag Control: Similar to
OPENCODE_DISABLE_CLAUDE_CODE_SKILLS, addOPENCODE_DISABLE_CLAUDE_CODE_PLUGINSfor users who want to opt out. -
Load Order: Define clear precedence (e.g., OpenCode native plugins override Claude Code plugins with same name).
Related Issues
- [FEATURE]: Add .claude/commands/ compatibility (like .claude/skills/) #6985 - Add
.claude/commands/compatibility - Does opencode actually support finding skills at
.claude/skills? #6266 -.claude/skills/support discussion - [FEATURE]: Easily import settings/agents/MCP servers from other tools #6207 - Import settings from other tools
- opencode doesn't respect CLAUDE_CONFIG_DIR environment variable #6551 - CLAUDE_CONFIG_DIR environment variable
Environment
- OpenCode Version: Latest (1.1.x)
- OS: All platforms
Activity
github-actions commentedon Jan 13, 2026
This issue might be a duplicate of existing issues. Please check:
Feel free to ignore if this doesn't address your specific case.
thdxr commentedon Mar 25, 2026
To stay organized issues are automatically closed after 90 days of no activity. If the issue is still relevant please open a new one.