← Back to Skills Marketplace
86
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install opencode-discord-thread
Description
Use this skill when OpenClaw should hand a coding task to OpenCode, keep the OpenCode run model-compatible with Z.AI Coding Plan / GLM plans, and mirror exec...
Usage Guidance
This skill appears to do what it says (run OpenCode locally and mirror events into a Discord thread) and the included script is stdlib-only, but the skill manifest omits required environment variables. Before installing: (1) confirm the author/publisher and ask them to declare DISCORD_BOT_TOKEN (and any other required creds) in the manifest; (2) review the script (it runs 'opencode' and posts to Discord) and only provide a Discord bot token with the minimum permissions needed (send messages, create threads) — avoid granting admin or guild-level scopes; (3) ensure OpenCode is installed and authenticated separately (the script invokes the local binary and will use OpenCode’s provider credentials); (4) run the skill in a non-sensitive repository or sandbox initially to validate behavior; and (5) if you rely on implicit invocation, be aware the agent may call this skill automatically when it deems appropriate. If the publisher cannot justify the missing manifest env entries, treat the package as untrustworthy.
Capability Analysis
Type: OpenClaw Skill
Name: opencode-discord-thread
Version: 1.0.0
The skill provides a bridge between the OpenCode tool and Discord, allowing coding progress to be mirrored in a thread. The core script, `scripts/run_opencode_discord_bridge.py`, uses standard Python libraries to execute local commands via `subprocess` and interact with the official Discord API. The behavior is transparent, well-documented in `SKILL.md` and `references/opencode_discord_bridge.md`, and lacks any indicators of malicious intent, data exfiltration, or obfuscation.
Capability Tags
Capability Assessment
Purpose & Capability
The name/description say: run OpenCode and mirror progress into Discord. The included script and SKILL.md only reference OpenCode, a repository path, and Discord targets — all coherent with that purpose.
Instruction Scope
SKILL.md and the script confine actions to launching a local 'opencode run --format json', summarizing its JSON events, and posting/ editing messages in a Discord thread. The instructions do not request reading unrelated system files. Note: the SKILL.md explicitly requires DISCORD_BOT_TOKEN and relies on existing OpenCode credentials; this is within scope but should be declared in the skill manifest.
Install Mechanism
There is no install spec; the skill is instruction+script only and claims to be stdlib-only, which reduces install risk. The script uses only Python stdlib, subprocess, and urllib, and invokes the local 'opencode' binary — reasonable for the task.
Credentials
The manifest declares no required environment variables or primary credential, but SKILL.md and the script say the bridge reads DISCORD_BOT_TOKEN and expects OpenCode to be authenticated. The missing declaration is an incoherence: DISCORD_BOT_TOKEN is necessary and should be listed as a required credential. No unrelated secrets are requested, but the omission makes the skill's stated requirements unreliable.
Persistence & Privilege
always:false and no install hooks are present. agents/openai.yaml allows implicit invocation (allow_implicit_invocation: true), which is normal for a user-invocable skill but means the agent could call it autonomously — this is expected for skills that perform operations on the user's behalf.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install opencode-discord-thread - After installation, invoke the skill by name or use
/opencode-discord-thread - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release: Python bridge that runs OpenCode and mirrors live progress into a Discord thread. Supports existing threads or creating new ones, rolling status updates, transcript chunking, and Z.AI Coding Plan model discovery.
Metadata
Frequently Asked Questions
What is OpenCode Discord Thread?
Use this skill when OpenClaw should hand a coding task to OpenCode, keep the OpenCode run model-compatible with Z.AI Coding Plan / GLM plans, and mirror exec... It is an AI Agent Skill for Claude Code / OpenClaw, with 86 downloads so far.
How do I install OpenCode Discord Thread?
Run "/install opencode-discord-thread" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is OpenCode Discord Thread free?
Yes, OpenCode Discord Thread is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does OpenCode Discord Thread support?
OpenCode Discord Thread is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created OpenCode Discord Thread?
It is built and maintained by R0S (@r0s-org); the current version is v1.0.0.
More Skills