mcpField
D
discord-clawd

discord-clawd

github.com/steipeteAgent 工作流7.4k118 次安装2 天前更新
代码仓库

关于 discord-clawd

discord-clawd 是用于通过 Discord 后端 Agent 会话提问和发送消息的技能,借助 OpenClaw relay helper 路由,并区分私下询问、由会话决定是否发布和明确要求的直接发送。

主要功能

  1. 01解析 Discord 会话目标
  2. 02私下向会话提问
  3. 03通过会话发布消息
  4. 04按要求直接发送消息

适用场景

  1. 01向 Discord 后端 Agent 提问
  2. 02通过 Discord 会话转发消息

安装

复制下面的命令,在终端中运行。

$npx skills add https://github.com/steipete/agent-scripts --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