A bridge skill that delegates OpenClaw coding tasks to OpenCode while mirroring execution progress into live Discord threads.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install opencode-discord-thread
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install opencode-discord-thread using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The OpenCode Discord Thread skill is a powerful extension for Openclaw Skills designed to bridge the gap between local AI agent execution and team communication. It allows users to offload complex coding tasks from OpenClaw to a local OpenCode instance while maintaining full visibility. By mirroring the agent's progress into Discord, developers and teams can observe file modifications, test results, and reasoning steps in real-time.
This skill is specifically optimized for Z.AI Coding Plan workflows, ensuring compatibility with GLM models and authenticated provider sessions. It transforms Discord from a simple chat app into an observer surface for your AI-driven development cycle, making it an essential tool for developers who require transparency in their automated workflows.
To use this skill, ensure that opencode is installed and authenticated via the Z.AI Coding Plan provider. You must also have a valid Discord bot token set in your environment.
# Authenticate OpenCode
opencode auth login
# Export Discord Token
export DISCORD_BOT_TOKEN='your_token_here'
# Run the bridge to a specific thread
python3 skills/opencode-discord-thread/scripts/run_opencode_discord_bridge.py \
--repo /path/to/repo \
--thread-id 123456789012345678 \
--prompt "Implement a new API endpoint for user profile updates."
The skill organizes its operation around the following data points:
| Parameter | Description |
|---|---|
| repo | Path to the local git repository where code changes occur. |
| thread-id | The unique Snowflake ID for an existing Discord thread. |
| parent-channel-id | Used to spawn a new public thread if a specific thread ID is not provided. |
| model | The specific Z.AI or provider model ID used for the coding task. |
| transcript | A collection of event logs mirrored from the OpenCode JSON stream. |
Loading
A powerful utility to forward Pilot Protocol events to external webhooks like Slack, Discord, and PagerDuty for real-time monitoring.

A practical investment framework and cognitive operating system modeled after Warren Buffett’s 60-year track record of value investing.

A privacy-first, zero-dependency local search engine that enables AI agents to retrieve historical context from markdown memories.

A dedicated AI agent skill for exploring Guangzhou's rich history, iconic landmarks, and world-renowned Cantonese cuisine.

A real-time security monitoring tool for Pilot Protocol that detects suspicious network patterns and peer reputation drops.

An inter-agent communication tool for sending and receiving voice recordings and audio files over the Pilot Protocol network.








































