Summary
Currently, freenet-agent-skills works seamlessly with Claude Code via the marketplace system. However, OpenCode users need to manually clone the repo to access skills. Publishing as an npm package would provide first-class support for both platforms.
Current State
Claude Code ✅ Works via marketplace
OpenCode ⚠️ Requires manual clone or openskills install freenet/freenet-agent-skills
Proposed Structure
freenet-agent-skills/
├── package.json # npm entry point
├── index.js # OpenCode plugin exports
├── .claude-plugin/marketplace.json # Claude Code (existing)
├── skills/ # Shared (both platforms)
├── agents/ # Future: claude/ and opencode/ subdirs
└── hooks/ # Future: OpenCode JS hooks
Platform Feature Comparison
| Feature |
Claude Code |
OpenCode |
Shared? |
| Skills |
.claude/skills/ |
.opencode/skill/ |
✅ Yes |
| Agents |
Plugin/.claude/agents/ |
JS exports |
❌ Different |
| Hooks |
settings.json |
JS plugin exports |
❌ Different |
| MCP |
Plugin config |
opencode.json |
⚠️ Similar |
After Implementation
OpenCode becomes simple:
{ "plugin": ["freenet-agent-skills"] }
Migration Steps
- Add package.json with npm metadata
- Add index.js as OpenCode plugin entry
- Publish to npm
- Update README with dual-platform docs
- (Optional) Platform-specific dirs for agents/hooks
References
Claude Code Plugin Marketplaces
OpenCode Plugins
opencode-agent-skills (reference)
Summary
Currently, freenet-agent-skills works seamlessly with Claude Code via the marketplace system. However, OpenCode users need to manually clone the repo to access skills. Publishing as an npm package would provide first-class support for both platforms.
Current State
Claude Code ✅ Works via marketplace⚠️ Requires manual clone or
OpenCode
openskills install freenet/freenet-agent-skillsProposed Structure
freenet-agent-skills/
├── package.json # npm entry point
├── index.js # OpenCode plugin exports
├── .claude-plugin/marketplace.json # Claude Code (existing)
├── skills/ # Shared (both platforms)
├── agents/ # Future: claude/ and opencode/ subdirs
└── hooks/ # Future: OpenCode JS hooks
Platform Feature Comparison
.claude/skills/.opencode/skill/.claude/agents/settings.jsonopencode.jsonAfter Implementation
OpenCode becomes simple:
{ "plugin": ["freenet-agent-skills"] }Migration Steps
References
Claude Code Plugin Marketplaces
OpenCode Plugins
opencode-agent-skills (reference)