opencode-discord-thread
Installation
SKILL.md
OpenCode Discord Thread
Use this skill when the user wants OpenClaw to delegate coding work to a local OpenCode run and keep that run visible in Discord.
This skill is optimized for Z.AI Coding Plan workflows. Do not hard-code a stale GLM model id. Prefer an authenticated Z.AI Coding Plan provider and let the caller pass the exact model explicitly when needed.
When to use it
Use this skill when all of the following are true:
- OpenClaw is expected to offload coding to OpenCode instead of doing the edit loop directly.
- Progress needs to be mirrored into an existing Discord thread or a new thread in a Discord channel.
- The environment already has
opencodeinstalled and authenticated, ideally throughopencode auth loginwithZ.AI Coding Plan.
Avoid this skill when:
- The task is small enough for OpenClaw to complete directly.
- Discord streaming is not needed.
- The machine cannot reach Discord or OpenCode is not installed.