About discord-clawd
A skill for interacting with a Discord-backed agent session through an OpenClaw relay. It supports questions and posting, with target resolution and distinct modes for asking, letting the session decide, or explicitly sending a message.
Key features
- 01List available targets
- 02Resolve target aliases
- 03Ask sessions privately
- 04Publish messages by mode
- 05Protect session secrets
Use cases
- 01Ask a maintainer session a question
- 02Let a session decide whether to post
- 03Send a Discord message on explicit request
Install
Copy the command and run it in a terminal.
npx skills add https:/ / github.com/ openclaw/ openclaw --skill discord-clawdAfter installing, type/discord-clawdin Claude Code to confirm it loaded.
Bundled filesagents/openai.yaml
Details
From the project READMEDiscord 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:
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:
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.