opencode-cc10x
v6.0.24
Published
Intelligent orchestration plugin for OpenCode - port of cc10x from Claude Code
Maintainers
Readme
OpenCode cc10x Plugin
The Intelligent Orchestrator for OpenCode
A complete port of the cc10x orchestration system from Claude Code to OpenCode, providing intelligent workflow automation, TDD enforcement, and multi-agent coordination.
Features
- Automatic Intent Detection - Router automatically detects BUILD, DEBUG, REVIEW, or PLAN intents
- 6 Specialized Agents - Component builder, bug investigator, code reviewer, silent failure hunter, integration verifier, planner
- 12 Supporting Skills - Session memory, TDD enforcement, code generation, debugging patterns, and more
- Task-Based Orchestration - Uses OpenCode's Task system for coordinated multi-agent workflows
- Memory Persistence - Survives context compaction with .claude/cc10x/ memory bank
- Parallel Execution - Code reviewer and silent failure hunter run simultaneously
- Confidence Scoring - 80%+ threshold for issue reporting
- TDD Enforcement - RED → GREEN → REFACTOR cycle with exit code verification
Architecture
USER REQUEST
│
▼
┌─────────────────────────────────────────────────────────────────┐
│ cc10x-router (OpenCode Plugin) │
│ ├─ Intent Detection │
│ ├─ Memory Loading (.claude/cc10x/) │
│ ├─ Task Hierarchy Creation │
│ └─ Workflow Orchestration │
└─────────────────────────────────────────────────────────────────┘
│
├─ BUILD → component-builder → [code-reviewer ∥ silent-failure-hunter] → integration-verifier
├─ DEBUG → bug-investigator → code-reviewer → integration-verifier
├─ REVIEW → code-reviewer
└─ PLAN → plannerInstallation
Prerequisites
- OpenCode installed and configured
- Node.js/Bun available for plugin dependencies
Steps
- Add the plugin to your OpenCode configuration:
{
"$schema": "https://opencode.ai/config.json",
"plugin": ["opencode-cc10x"]
}- Install the plugin (single command, no clone):
curl -fsSL https://raw.githubusercontent.com/Chaim12345/cc10x/main/project/opencode-cc10x-plugin/install-from-github.mjs | nodeWindows (PowerShell):
irm https://raw.githubusercontent.com/Chaim12345/cc10x/main/project/opencode-cc10x-plugin/install-from-github.mjs | node- Alternative package-manager install (public npm):
npm add opencode-cc10x
bun add opencode-cc10xIf commands do not appear in OpenCode, run:
npx opencode-cc10x initIf you are testing locally before publishing, install from a tarball:
npm pack
npm add ./opencode-cc10x-<version>.tgz- Set up cc10x memory directory:
The plugin will automatically create .claude/cc10x/ on first use.
- Configure agents (optional):
The plugin automatically configures the necessary agents. You can customize them in your opencode.json:
{
"agent": {
"cc10x-component-builder": {
"color": "#00ff00",
"temperature": 0.3
},
"cc10x-code-reviewer": {
"color": "#ffff00",
"temperature": 0.1
}
}
}Usage
Once installed, cc10x automatically activates for development tasks:
- "Build a user authentication system" → Triggers BUILD workflow
- "Debug the payment error" → Triggers DEBUG workflow
- "Review this PR for security issues" → Triggers REVIEW workflow
- "Plan the database schema" → Triggers PLAN workflow
The router handles all orchestration automatically - no manual skill selection needed.
Configuration
Agent Customization
All cc10x agents can be configured in opencode.json:
{
"agent": {
"cc10x-component-builder": {
"description": "Builds features using TDD",
"model": "anthropic/claude-sonnet-4-20250514",
"temperature": 0.3,
"tools": {
"write": true,
"edit": true,
"bash": true
}
}
}
}Permissions
The plugin requires these permissions for proper operation:
{
"permission": {
"bash": {
"mkdir *": "allow",
"git *": "allow"
},
"edit": "allow",
"write": "allow"
}
}Skill Permissions
cc10x skills are automatically loaded. Control access with:
{
"permission": {
"skill": {
"cc10x:*": "allow"
}
}
}Memory System
cc10x uses .claude/cc10x/ for persistent memory:
.claude/cc10x/
├── activeContext.md # Current focus, decisions, learnings
├── patterns.md # Project conventions, common gotchas
└── progress.md # Completed work, verification evidenceThis memory survives context compaction and enables:
- Continuity across sessions
- Pattern learning and reuse
- Resumable workflows
- Decision tracking
Workflows
BUILD Workflow
- component-builder - Implements feature with TDD
- code-reviewer + silent-failure-hunter (parallel) - Quality and edge case analysis
- integration-verifier - End-to-end validation
DEBUG Workflow
- bug-investigator - Log-first investigation
- code-reviewer - Fix validation
- integration-verifier - Verification
REVIEW Workflow
- code-reviewer - Comprehensive code analysis with 80%+ confidence
PLAN Workflow
- planner - Creates detailed plans with research
Development
Building the Plugin
cd opencode-cc10x-plugin
bun install
bun buildTesting
# Run plugin tests
bun test
# Test with OpenCode
opencode --plugin ./dist/Compatibility
- OpenCode Version: 0.8.0+
- Node.js: 18+
- Bun: 1.0+
Migration from Claude Code
If you're migrating from Claude Code:
- Install this plugin in OpenCode
- Copy your existing
.claude/cc10x/memory files to the project root - The plugin will automatically use your existing memory
- All cc10x workflows will work identically
Differences from Claude Code
| Aspect | Claude Code | OpenCode cc10x | |--------|-------------|----------------| | Plugin Format | Marketplace plugin | npm package + OpenCode plugin | | Agent System | Custom agent framework | OpenCode native agents | | Task System | Claude Code Tasks | OpenCode Task tool | | Memory | .claude/cc10x/ | Same location, adapted APIs | | Skills | Claude skills | OpenCode skills with compatibility layer |
Troubleshooting
Plugin not loading
- Check OpenCode version compatibility
- Verify plugin is in
opencode.jsonplugins list - Check
~/.config/opencode/plugins/for installation
Agents not available
- Run
opencode agent listto see available agents - Check agent configuration in
opencode.json - Restart OpenCode after plugin installation
Memory issues
- Ensure
.claude/cc10x/directory exists and is writable - Check file permissions
- Plugin will auto-create missing files with templates
Contributing
This is a faithful port of cc10x. For issues or enhancements:
- Check existing issues
- Ensure compatibility with both Claude Code and OpenCode patterns
- Maintain the core cc10x principles and workflows
- Test with both simple and complex development tasks
License
MIT - Same as original cc10x
Acknowledgments
- Original cc10x by romiluz13
- OpenCode team for the excellent plugin system
- Claude Code team for the orchestration patterns
