Use when adding new error messages to React, or seeing "unknown error code" warnings.
npx skills add CXL-edu/opencode-manager-skills --skill "opencode-manager"
Install specific skill from multi-skill repository
# Description
Manage OpenCode background servers, monitoring, task execution, and cleanup. Use when users mention OpenCode, opencode serve, background instances, ports, logs, or OpenCode APIs.
# SKILL.md
name: opencode-manager
description: Manage OpenCode background servers, monitoring, task execution, and cleanup. Use when users mention OpenCode, opencode serve, background instances, ports, logs, or OpenCode APIs.
license: MIT
compatibility: Requires opencode CLI and shell access; optional curl, jq, lsof, ss.
OpenCode Manager
Use this skill to operate OpenCode in long-running server mode and interact with it via CLI or HTTP APIs.
When to use
- The user wants to start or manage OpenCode background servers.
- The user asks to check running OpenCode instances or ports.
- The user needs to send tasks to OpenCode and capture structured output.
- The user requests monitoring or cleanup of OpenCode processes.
Core workflow
- Locate the
opencodebinary (or use the default path). - Verify ports and start one or more
opencode serveinstances. - Validate health and access the OpenAPI docs.
- Execute tasks via
opencode runor REST APIs. - Monitor logs or SSE events, then clean up when done.
References
- English reference:
references/REFERENCE.en.md - ไธญๆๅ่:
references/REFERENCE.zh.md
# Supported AI Coding Agents
This skill is compatible with the SKILL.md standard and works with all major AI coding agents:
Learn more about the SKILL.md standard and how to use these skills with your preferred AI coding agent.