opencode-server-launcher
OpenCode Server Launcher
Simple commands and scripts to launch and manage OpenCode servers, from single instances to multi-server swarms.
UNIVERSAL CAPABILITY: This skill launches servers for ANY agent type, not just the examples shown. The agent folder names (code-analyzer, documentation-writer, etc.) used in examples are for illustration ONLY. Real swarms will have completely different agent types and purposes. This skill works universally with any folder structure and any agent specialization.
Quick Start
IMPORTANT: Create custom agents in .opencode/agent/ BEFORE launching the server. Agents are only loaded when the server starts.
π« CRITICAL MISTAKES TO AVOID
β NEVER Use Timeouts on Servers or API Calls
WRONG: timeout 300s opencode serve --port 3001 &
WRONG: timeout 300s curl http://localhost:3000/session/...
RIGHT: opencode serve --port 3001 &
RIGHT: curl http://localhost:3000/session/... (let complete naturally)