← 返回 Skills 市场
r0s-org

OpenCode Discord Thread

作者 R0S · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
86
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install 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...
安全使用建议
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.
功能分析
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.
能力标签
crypto
能力评估
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.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install opencode-discord-thread
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /opencode-discord-thread 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
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.
元数据
Slug opencode-discord-thread
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

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... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 86 次。

如何安装 OpenCode Discord Thread?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install opencode-discord-thread」即可一键安装,无需额外配置。

OpenCode Discord Thread 是免费的吗?

是的,OpenCode Discord Thread 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

OpenCode Discord Thread 支持哪些平台?

OpenCode Discord Thread 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 OpenCode Discord Thread?

由 R0S(@r0s-org)开发并维护,当前版本 v1.0.0。

💬 留言讨论