discord-clawd — Claude Code skill: Discord agent relay
discord-clawd — a skill to send questions to a Discord-backed agent via OpenClaw relay. Not for archive search—use it to communicate directly with a live session.
MIT 122 installs ★ 7,554 updated 2026-10-20
npx skills add steipete/agent-scripts --skill discord-clawd -a claude-codeWhat discord-clawd does
discord-clawd is a transport skill that connects your code editor to a Discord-backed agent through the OpenClaw relay. You can ask the agent a question, get a response, or post a message to a target channel if the session approves it.
The skill runs a Python script, openclaw_relay.py, that resolves a target recipient (such as maintainers), verifies the connection with a private test message, then sends content via publish (the agent decides) or force-send (only on explicit request). Always resolve the target before sending real content to avoid leaking gateway tokens. The skill works with Claude Code, Cursor, GitHub Copilot, Codex, Gemini CLI, and OpenCode.
It is not meant for querying local Discord archives or history—use a separate tool for that instead.
What it helps with
- send a question to a Discord agent through a relay
- post a message to a Discord channel after agent approval
- verify access to a target recipient before delivery
- choose between auto-publish and explicit send modes
Example prompts for the agent
- Ask the agent to review this approach using discord-clawd
- Post the results to the maintainers channel via discord-clawd
- Check whether the target is reachable before sending
How to install discord-clawd
1Skills CLI (Vercel)
npx skills add steipete/agent-scripts --skill discord-clawd -a claude-code2Manually: put the files in place
~/.claude/skills/discord-clawd/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/discord-clawd/
1Skills CLI (Vercel)
npx skills add steipete/agent-scripts --skill discord-clawd -a codex2Manually: put the files in place
.agents/skills/discord-clawd/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add steipete/agent-scripts --skill discord-clawd -a cursor2Manually: put the files in place
.cursor/skills/discord-clawd/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install steipete/agent-scripts skills/discord-clawd2Manually: put the files in place
.github/skills/discord-clawd/SKILL.md1Skills CLI (Vercel)
npx skills add steipete/agent-scripts --skill discord-clawd -a gemini-cli2Platform CLI
gemini skills install https://github.com/steipete/agent-scripts --path skills/discord-clawdManually: put the files in place
.devin/skills/discord-clawd/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add steipete/agent-scripts --skill discord-clawd -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about discord-clawd
How do I install discord-clawd in Claude Code?
Run npx skills add steipete/agent-scripts --skill discord-clawd -a claude-code, then open ~/.claude/skills/discord-clawd/SKILL.md to verify. For other editors, change the -a flag to codex, cursor, gemini-cli, or opencode.
What is the difference between discord-clawd and discrawl?
discord-clawd is a relay to send questions to a live Discord agent and receive answers. discrawl is for searching and extracting messages from a Discord archive. Use the former for live interaction, the latter for history.
What happens if I send a message without resolving the target first?
You risk leaking tokens or sending data to the wrong place. Always run resolve --target <name> before sending real content to verify the connection.
Source text
SKILL.md · MIT
--- name: discord-clawd description: "Discord-backed OpenClaw agent/session relay; not archive search." --- # Discord Clawd Use this when the task is to talk with the Discord-backed agent/session, ask it a question, or post through that route. For Discord archive/history/search, use `$discrawl` instead. ## Transport Use the OpenClaw relay helper: ```bash cd ~/Projects/agent-scripts python3 skills/openclaw-relay/scripts/openclaw_relay.py targets python3 skills/openclaw-relay/scripts/openclaw_relay.py resolve --target maintainers ``` If the target alias exists, prefer a private ask first: ```bash python3 skills/openclaw-relay/scripts/openclaw_relay.py ask \ --target maintainers \ --message "Reply with exactly OK." ``` Use `publish` when the session should decide whether to post. Use `force-send` only when the user explicitly wants a message posted. ## Guardrails - Resolve the target before sending real content. - Report the target and delivery mode used. - Do not use this for local Discord archive queries. - Do not expose gateway tokens or session secrets.
© steipete · MIT · steipete/agent-scripts