Install
openclaw skills install occControl OpenCode to execute development tasks. Provides session management and task execution capabilities.
openclaw skills install occControl OpenCode to execute development tasks via CLI.
Use this skill when:
OpenCode CLI must be installed and available in PATH.
⚠️ Important: Run the script in the directory where you want OpenCode to work. The session will be created in the current directory.
create command (creates session only, then use continue to execute task)continue command (session ID provided by caller)# Query existing sessions
node skills/occ/scripts/bin/opencode-server.js query
# Create a new session
node skills/occ/scripts/bin/opencode-server.js create "Create a React login page"
# Continue a session
node skills/occ/scripts/bin/opencode-server.js continue <session-id> "Add password reset"
The script automatically handles OpenCode Server: