关于 discord-clawd
用于通过 Discord 中继与 Discord-backed Agent 会话交互的技能,适合向会话提问或经该路由发布消息。它要求先解析目标,并区分询问、由会话决定是否发布和明确强制发送等模式。
主要功能
- 01查询可用目标
- 02解析目标别名
- 03向会话私下提问
- 04按模式发布消息
- 05避免暴露会话机密
适用场景
- 01向维护者会话询问问题
- 02让会话决定是否发布消息
- 03按用户明确要求发送 Discord 消息
安装
复制下面的命令,在终端中运行。
$
npx skills add https:/ / github.com/ openclaw/ openclaw --skill discord-clawd安装后在 Claude Code 中输入/discord-clawd确认已加载。
附带文件agents/openai.yaml
详细介绍
Discord Clawd
当任务需要与基于 Discord 的 Agent/会话对话、向其提问或通过该路由发布内容时,使用此方式。
如需查询 Discord 归档/历史记录/搜索内容,请改用 $discrawl。
传输方式
使用 OpenClaw 中继辅助工具:
cd ~/Projects/agent-scripts
python3 skills/openclaw-relay/scripts/openclaw_relay.py targets
python3 skills/openclaw-relay/scripts/openclaw_relay.py resolve --target maintainers
如果目标别名存在,请优先使用私有询问:
python3 skills/openclaw-relay/scripts/openclaw_relay.py ask \
--target maintainers \
--message "Reply with exactly OK."
当会话应自行决定是否发布时,使用 publish。仅当用户明确要求发布消息时,才使用 force-send。
安全准则
- 发送实际内容前,先确定目标。
- 报告所使用的目标和投递方式。
- 不要将其用于本地 Discord 归档查询。
- 不要暴露网关令牌或会话密钥。
评论
支持 Markdown