用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/songsid/AgEnD --skill multi-channel命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | multi-channel |
| description | Setting up multiple platforms (Telegram + Discord) with proper general routing |
| roles | ["general"] |
When using multiple platforms (e.g. Telegram + Discord), use channels: array instead of single channel::
channels:
- id: discord
type: discord
mode: topic
bot_token_env: AGEND_DISCORD_TOKEN
group_id: "123456789"
options:
general_channel_id: "987654321"
- id: telegram
type: telegram
mode: topic
bot_token_env: AGEND_BOT_TOKEN
group_id: "-1001234567890"
Critical: each adapter needs its own general instance.
instances:
general:
working_directory: ~/.agend/general
topic_id: "987654321" # DC general channel
general_topic: true
channel_id: discord # binds to discord adapter
general-telegram:
working_directory: ~/.agend/general-telegram
topic_id: 1 # TG general topic (thread_id 1)
general_topic: true
channel_id: telegram # binds to telegram adapter
On startup, AgEnD checks each adapter has a bound general. If missing, it auto-creates one with a warning log:
WARN: No general instance for adapter — auto-creating
The channel_id field explicitly binds a general to an adapter. Without it, matching falls back to instance name containing the adapter id (e.g. general-telegram matches telegram).
| Mistake | Symptom | Fix |
|---|---|---|
| One general for two platforms | TG messages reply in DC | Add a second general with channel_id |
channels: without unique id per entry | Adapter collision | Set id: discord / id: telegram |
Using channel: (singular) for multi-platform | Second platform ignored | Switch to channels: array |
channel: to channels: array, add id to existing entryidchannel_id: <new-adapter-id>agend fleet restart