Install the opencode-vkb-oscr plugin to enable OpenSpec Change Request orchestration through Vibe-Kanban.
Before installation, ensure you have:
- OpenCode CLI installed and configured
- Bun runtime (v1.0.0 or later)
- Git repository with push access
- Vibe KanBan configured with repositories
- OpenSpec project structure at
openspec/changes/ - octto plugin (for Phase 0 interactive Q&A)
Verify prerequisites:
opencode --version # OpenCode version
bun --version # Bun version
git --version # Git versionAdd plugin to your project's .opencode/opencode.json:
{
"plugins": [
"opencode-vkb-oscr"
]
}OpenCode will automatically:
- Download and install the plugin
- Run the config hook
- Install agents to
.opencode/agents/ - Install skills to
.opencode/skills/ - Install commands to
.opencode/commands/ - Install templates to
.opencode/templates/ - Create version marker
.opencode/.oscr-installed
Clone and link for development:
git clone <repository-url> /path/to/opencode-vkb-oscr
cd /path/to/opencode-vkb-oscr
bun install
bun link
cd /path/to/your/project
bun link opencode-vkb-oscrAdd to .opencode/opencode.json as in Method 1.
The plugin integrates with Vibe KanBan via MCP.
In your opencode.json or MCP configuration:
{
"mcpServers": {
"vibe-kanban": {
"command": "npx",
"args": ["-y", "vibe-kanban", "--mcp"],
"env": {}
}
}
}The VKB server URL is inferred from this configuration during Phase 0 intake.
# Agents
ls .opencode/agents/
# Should show: vibe-orchestrator.md, oscr-reviewer.md, oscr-verifier.md
# Skills
ls .opencode/skills/
# Should show: oscr-intake/, oscr-plan/, oscr-execute/, oscr-finalize/, oscr-vkb-quirks/
# Commands
ls .opencode/commands/
# Should show: oscr.md, oscr-plan.md, oscr-exec.md, oscr-fin.md, oscr-status.md
# Templates
ls .opencode/templates/
# Should show: card-template.mdIn OpenCode:
@vibe-orchestrator hello
Should respond with the orchestrator agent.
/oscr-status
Should report "No active OSCR run" if no state exists.
- Check
.opencode/opencode.jsonfor correct plugin name - Ensure plugin is installed in
node_modulesor linked - Restart OpenCode
- Check for version marker file
.opencode/.oscr-installed
- Delete
.opencode/.oscr-installedmarker file - Restart OpenCode to re-trigger config hook
- Check permissions on
.opencode/directory
- Verify MCP configuration in opencode.json
- Test VKB server manually:
curl http://localhost:49861/api/health - Check VKB server logs for errors
If plugin re-installs every run:
- Check VERSION in plugin.ts matches package.json version
- Delete
.opencode/.oscr-installedand retry
# Remove from .opencode/opencode.json
# Delete "opencode-vkb-oscr" from plugins array
# Remove installed assets
rm -rf .opencode/agents/vibe-orchestrator.md
rm -rf .opencode/agents/oscr-reviewer.md
rm -rf .opencode/agents/oscr-verifier.md
rm -rf .opencode/skills/oscr-*
rm -rf .opencode/commands/oscr*.md
rm -rf .opencode/templates/card-template.md
rm -f .opencode/.oscr-installed- Read README.md for usage examples
- Review AGENTS.md for development guidelines
- Check CONTRIBUTING.md for making changes