This guide helps you migrate from everything-claude-code to everything-opencode.
everything-opencode is a complete conversion of the original everything-claude-code repository, optimized for the opencode AI coding agent. All functionality has been preserved and enhanced with opencode-specific features.
- All
~/.claude/paths →~/.opencode/ - Plugin root:
${CLAUDE_PLUGIN_ROOT}→${OPENCODE_PLUGIN_ROOT} - Sessions directory:
~/.claude/sessions→~/.opencode/sessions
CLAUDE_*variables →OPENCODE_*variablesCLAUDE_PLUGIN_ROOT→OPENCODE_PLUGIN_ROOTCLAUDE_SESSION_ID→OPENCODE_SESSION_ID
.claude-plugin/→.opencode-plugin/claude-settings.json→opencode-settings.json- All schema references updated
- 4 new optimization skills specifically for opencode
- Enhanced cross-platform compatibility
- Improved test suite
- Comprehensive installation verification
- Release automation scripts
- GitHub Actions CI/CD workflow
# Backup your Claude Code sessions
cp -r ~/.claude/sessions ~/claude-sessions-backup
# Backup your Claude Code plugin
cp -r ~/.claude/plugins/everything-claude-code ~/everything-claude-code-backup# Clone the repository
git clone https://github.com/yourusername/everything-opencode.git
# Add to opencode
opencode plugin add /path/to/everything-opencode# Install globally
npm install -g everything-opencode
# Verify installation
everything-opencode verify- Download the latest release from GitHub
- Extract to your desired location
- Add to opencode:
opencode plugin add /path/to/everything-opencode
If you want to migrate your existing Claude Code sessions:
# Create opencode directory if it doesn't exist
mkdir -p ~/.opencode/sessions
# Copy sessions (adjust paths as needed)
cp ~/.claude/sessions/*.json ~/.opencode/sessions/ 2>/dev/null || true
cp ~/.claude/sessions/*.tmp ~/.opencode/sessions/ 2>/dev/null || trueUpdate your shell configuration (~/.bashrc, ~/.zshrc, or ~/.profile):
# Replace
export CLAUDE_PLUGIN_ROOT="/path/to/plugin"
# With
export OPENCODE_PLUGIN_ROOT="/path/to/everything-opencode"# Run verification script
cd /path/to/everything-opencode
node scripts/verify-installation.js
# Test the plugin
opencode /help
opencode /agents| Feature | Claude Code | Opencode | Notes |
|---|---|---|---|
| Agents | ✅ 9 agents | ✅ 9 agents | Fully converted |
| Skills | ✅ 11 skills | ✅ 15 skills | +4 new optimization skills |
| Commands | ✅ 14 commands | ✅ 14 commands | Fully converted |
| Rules | ✅ 8 rules | ✅ 8 rules | Fully converted |
| Hooks | ✅ Complete system | ✅ Complete system | Enhanced for opencode |
| Cross-platform | ✅ Yes | ✅ Yes | Improved compatibility |
| Test suite | ✅ Basic | ✅ Comprehensive | 62 tests total |
| Installation verification | ❌ No | ✅ Yes | New feature |
| Release automation | ❌ No | ✅ Yes | New feature |
| CI/CD workflow | ❌ No | ✅ Yes | New feature |
All path references in configuration files have been updated. If you have custom configurations that reference Claude Code paths, you'll need to update them.
Scripts and hooks now expect OPENCODE_* variables instead of CLAUDE_* variables.
The plugin configuration format has been updated for opencode compatibility.
Solution: Ensure you've added the plugin correctly:
opencode plugin add /path/to/everything-opencode
opencode plugin list # Should show everything-opencodeSolution: Set the required environment variable:
export OPENCODE_PLUGIN_ROOT="/path/to/everything-opencode"
# Add to your shell configuration fileSolution: Run the verification script to identify issues:
node scripts/verify-installation.jsSolution: Check hook configuration:
# Verify hooks.json exists
ls -la hooks/hooks.json
# Check opencode hook configuration
opencode config get hooks- Check the documentation: Review
README.mdandCONTRIBUTING.md - Run verification:
node scripts/verify-installation.js - Run tests:
npm test - Check GitHub Issues: https://github.com/yourusername/everything-opencode/issues
- Review migration guide: This document
If you need to roll back to Claude Code:
-
Remove the opencode plugin:
opencode plugin remove everything-opencode
-
Restore your backup:
cp -r ~/claude-sessions-backup ~/.claude/sessions cp -r ~/everything-claude-code-backup ~/.claude/plugins/everything-claude-code
-
Update environment variables back to
CLAUDE_*
For additional support:
- Create an issue on GitHub
- Check the documentation in the
documentation/directory - Review the test suite for examples of proper usage
See CONTRIBUTING.md for guidelines on contributing to the project.
Migration complete! You're now using everything-opencode with all the original functionality plus new enhancements for opencode.