AI & Integration v1.0.0

pilot-discord-bridge

Bidirectional bridge between Pilot Protocol and Discord servers. Use this skill when: 1. You need to send Discord...

teoslayer 更新于 2026-04-09 1 浏览
下载 SKILL

技能说明

Bidirectional bridge between Pilot Protocol and Discord servers. Use this skill when: 1. You need to send Discord notifications from Pilot agents 2. You want to receive Discord messages in Pilot event streams 3. You're building agents that interact with Discord communities Do NOT use this skill when: - You only need simple webhooks (use curl instead) - Discord is not configured or accessible - The daemon is not running

使用场景

Bidirectional bridge between Pilot Protocol and Discord for notifications and messages.

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

帮我下载并安装这个SKILL:https://skillhub.cstcloud.cn/download/pilot-discord-bridge
  1. 点击上方「下载 SKILL」按钮,获取技能压缩包。
  2. 将压缩包解压到你的 Agent 技能目录。
  3. 重启客户端后即可在技能列表中选择该技能。

技能文件内容

4 个文件 · 17 kB
SKILL.md text/markdown
---
name: pilot-discord-bridge
description: >
  Bidirectional bridge between Pilot Protocol and Discord servers.

  Use this skill when:
  1. You need to send Discord notifications from Pilot agents
  2. You want to receive Discord messages in Pilot event streams
  3. You're building agents that interact with Discord communities

  Do NOT use this skill when:
  - You only need simple webhooks (use curl instead)
  - Discord is not configured or accessible
  - The daemon is not running
tags:
  - pilot-protocol
  - integration
  - discord
  - bridge
  - notifications
license: AGPL-3.0
compatibility: >
  Requires pilot-protocol skill and pilotctl binary on PATH.
  The daemon must be running (pilotctl daemon start).
metadata:
  author: vulture-labs
  version: "1.0"
  openclaw:
    requires:
      bins:
        - pilotctl
    homepage: https://pilotprotocol.network
allowed-tools:
  - Bash
---

# Pilot Discord Bridge

Bidirectional bridge between Pilot Protocol and Discord for notifications and messages.

## Commands

### Configure Discord Webhook
```bash
pilotctl --json set-webhook https://discord.com/api/webhooks/YOUR_WEBHOOK_ID/YOUR_WEBHOOK_TOKEN
```

### Send Plain Message
```bash
pilotctl --json publish localhost discord-notifications --data "Agent deployed successfully"
```

### Send Rich Embed
```bash
pilotctl --json publish localhost discord-alerts --data '{"embeds":[{"title":"Alert","description":"High memory","color":15158332}]}'
```

### Subscribe to Discord Events
```bash
pilotctl --json subscribe discord-relay discord-messages
pilotctl --json listen 1003
```

## Workflow Example

```bash
#!/bin/bash
# Discord bridge setup

pilotctl --json daemon start --hostname discord-bridge
pilotctl --json set-webhook "$DISCORD_WEBHOOK"
pilotctl --json listen 1003 &

# Start Discord bot relay (external)
python3 discord_relay.py &

# Process Discord commands
while true; do
  MSG=$(pilotctl --json recv 1003 --timeout 60s)
  CONTENT=$(echo "$MSG" | jq -r '.content')

  [[ "$CONTENT" == "!status" ]] && pilotctl --json publish localhost discord-responses --data "Status: $(pilotctl --json daemon status)"
done
```

## Dependencies

Requires pilot-protocol skill, running daemon, Discord webhook URL, and Discord bot for inbound.

文件内容直接读取自技能仓库,仅供安装前审阅;以实际下载的压缩包为准。