Skip to content

Discord 是您的回報層

您的智能體不會等您開口詢問進度,他們會主動回報。

每一項完成的任務、每一個遭遇的錯誤、每一次啟動的工作階段——所有資訊都會流入 Discord。這是您即時掌握團隊動態的視窗,無論是當下或整天的狀況皆是如此。

在第四節中,您為每位智能體建立了頻道及 webhook URL。本節的目標是將這套基礎架構整理成一個有組織的 workspace——讓您每天早上走進來,瀏覽各個頻道,就能立即掌握團隊的整體狀態。

本節設定內容:

  • 頻道的組織與命名
  • 通知設定,避免被訊息淹沒
  • 每次不超過 5 分鐘的日常查閱流程

重要範圍說明: Discord 對您的智能體來說是單向的——他們只能回報至 Discord,但若沒有 Discord Bot,就無法接收來自 Discord 的指令。設定 Bot 以便直接在 Discord 中輸入指令屬於進階配置,T1 課程不涵蓋此內容。目前請透過 VS Code 終端機或 OpenGoat UI 發出指令,並在 Discord 中查閱團隊的回報。


有效的頻道架構

完成第四節後,您已為每位智能體建立了一個專屬頻道,這是正確的起始架構。以下說明如何整理頻道,讓它在團隊規模擴大後依然清晰易讀。

建議的 Discord 伺服器佈局:

INFO

BALIA OS Team ├── 📋 TEAM OVERVIEW │ └── #announcements ← 在此置頂重要更新 │ ├── 🤖 AGENT REPORTS │ ├── #[agent1-channel] ← 例如 #operations │ ├── #[agent2-channel] ← 例如 #marketing │ ├── #[agent3-channel] ← 例如 #finance │ ├── #[agent4-channel] ← 例如 #specialist-a │ ├── #[agent5-channel] ← 例如 #specialist-b │ └── #security ← 第六位智能體固定回報於此 │ └── 📁 LOGS └── #errors ← 選用:將錯誤回報導向此處

您不必完全照此架構建立——頻道名稱已在第二節中確定。重點是將智能體頻道集中在同一個群組,方便您一次瀏覽完畢。


如何整理頻道

若您的智能體頻道目前散落在 Discord 伺服器各處,請依以下步驟進行整理:

建立頻道分類:

  1. 在 Discord 伺服器名稱上按右鍵(左側欄)→ Create Category
  2. 命名為 AGENT REPORTS
  3. 將每個智能體頻道拖曳至該分類下

視需要重新命名頻道: 頻道名稱已在第二節的團隊設計階段確定。若您現在想要修改,請在頻道上按右鍵 → Edit Channel → 更新名稱。

在每個頻道中置頂訊息: 請在每個智能體頻道中置頂一則包含智能體姓名與職責的備註,方便您一眼辨識各頻道的負責人。

在任意訊息上按右鍵 → Pin Message 或自行發送訊息後置頂:📌 [Agent Name] — [Role]. Reports here after each task.


通知設定

您的智能體在一個工作階段中可能會多次回報。若保留預設通知,Discord 將不斷傳送提示,這正是您不樂見的情況。

各頻道建議設定:

  1. 在各智能體頻道上按右鍵 → Notification Settings
  2. 設定為 Nothing——若希望在重要警示時收到提醒,可選 Only @mentions

您將依自己的排程查閱 Discord,而非每隔幾分鐘就被通知聲打斷。

建議的查閱時機:

  • 早上:瀏覽所有頻道,查看各智能體隔夜或昨天的動態
  • 發出指令後:回頻道確認任務完成回報
  • 每天一次:查閱 #security 頻道,確認是否有任何警示標記

如何閱讀團隊的回報

每位智能體的回報格式保持一致——您已在第四節的 AGENTS.md 中完成此設定。標準格式如下:

結論 → 支持細節 → 建議的後續行動

每天早上應留意的事項:

圖示含義
🔷智能體已啟動工作階段
任務或工作階段已完成
📦模式已啟用——智能體已載入 SKILL、WORKFLOW、LIVE_LEDGER、KNOWLEDGE
⚠️警告——有事項需要關注
錯誤——智能體無法完成任務

若看到 ⚠️ 或 ❌,請開啟訊息查看完整詳情,再透過 VS Code 終端機或 OpenGoat UI 向智能體發送後續指令。


GitHub 備份設置(推薦)

BALIA OS 透過 Security Guardian 每 30 分鐘自動將您的工作區備份到 GitHub。 這表示如果出現問題,您可以回滾到過去 30 分鐘內的任何時間點。

備份內容:

  • Agent 配置(agents/
  • 共享記憶(memory/
  • 技能(skills/
  • 指令碼(scripts/

永不推送的內容(自動保護):

  • .env(API 金鑰、Webhooks)
  • 任何符合 *.key*.pem 的檔案
  • secrets/ 目錄

設置:

  1. 建立私有 GitHub 儲存庫
  2. 將遠端新增至您的 .opengoat 目錄: git -C ~/.opengoat remote add origin https://github.com/YOUR_USERNAME/YOUR_REPO.git
  3. workspaces/security_guardian/guardian_config.json 中設置 git.autoPushEnabled: true
  4. Security Guardian 會自動處理其餘部分

▶ 貼上此內容到你的 AI 以開始使用

最困難的部分您已完成——頻道已建立,webhook 已設定。請使用以下提示詞取得個人化的核查清單,並獲得整理您專屬 Discord 佈局的協助。

將提示詞貼入 Claude、ChatGPT 或 Gemini,並附上您的團隊設計文件。

You are helping me organize my Discord workspace for BALIA OS — 
a multi-agent AI operating system where each agent reports their 
activity to their own Discord channel.

I have attached my Team Design Document. Read it to get my 
agent names and Discord channel names.

Guide me step by step through the following. 
Ask one question at a time. Wait for my answer before moving on.
If I get stuck, ask me to take a screenshot — I'll describe 
what I see and you'll tell me what to do next.

STEP 1 — Check my current Discord setup
Ask me: "Open your Discord server. How many channels do you 
currently have in the agent section?"
Based on my answer, tell me if anything is missing or 
if all 6 agent channels are present.

STEP 2 — Create a channel category
Guide me to group all agent channels into a category:
1. Right-click the server name in the left sidebar
2. Select "Create Category"
3. Name it: AGENT REPORTS (or a name I prefer)
4. Drag each agent channel into the category

Read my Team Design Document to give me the exact 
list of channels to move.

STEP 3 — Add an announcements channel (optional)
Ask me: "Would you like an #announcements channel 
for pinning important updates — like when you restart agents 
or install a new cassette?"
If yes: guide me to create it above the AGENT REPORTS category.
If no: skip.

STEP 4 — Set up notification settings
Guide me through turning off pings for each agent channel:
For each channel in AGENT REPORTS:
1. Right-click the channel → Notification Settings
2. Set to "Nothing" (or "Only @mentions" if I want critical alerts)

Tell me: "This stops Discord from pinging you every time an 
agent reports. You'll check reports on your own schedule."

STEP 5 — Pin a role reminder in each channel
For each agent channel, guide me to pin a short note 
so I can remember at a glance who reports there:
1. Click into the channel
2. Type and send: 📌 [Agent Name] — [Role]. Reports here.
3. Right-click the message → Pin Message
4. Confirm "Got it" to dismiss the pin notification

Read my Team Design Document for the correct name and role 
for each channel.

STEP 6 — Create a morning reading routine
Based on my Team Design Document, write me a 
5-minute morning check-in checklist I can print or save:

---
MORNING DISCORD CHECK — [My Business Name]
Time required: ~5 minutes

1. Open Discord → AGENT REPORTS category
2. Scan each channel for overnight activity:
   □ #[channel 1] — [agent name]: look for ✅ completions or ⚠️ warnings
   □ #[channel 2] — [agent name]: ...
   [continue for all 6]
3. If you see ⚠️ or ❌: note the issue, send a follow-up command
   via VS Code terminal or OpenGoat UI
4. Check #security for any flagged alerts
5. Done — close Discord until your next check-in
---

STEP 7 — Final check
Run through this checklist:
□ All 6 agent channels exist in Discord
□ Channels are grouped under AGENT REPORTS category
□ Notification settings set to Nothing or @mentions only
□ Role reminder pinned in each channel
□ Morning reading checklist saved

When all boxes are checked, say:
"Your Discord workspace is organized. 
You're ready for Section 8 — Your First Week."

Start now. Ask me the first question.

Discord 常見情境一覽

智能體成功完成任務:

✅ Finance — Daily P&L report complete.
Balance: $9,847 | Net today: +$235 | Win rate (30d): 68.2%
Output saved: workspace/finance/outputs/2026-06-04_pl_report.md
Next: Waiting for next session command.

→ 無需採取任何行動,團隊正在正常運作。

智能體遭遇錯誤:

❌ Operations — Failed to complete market scan.
Error: API rate limit reached on third data source.
Completed 2 of 3 sources. Partial output saved.
Recommended action: Retry in 60 minutes or expand data source list.

→ 發送後續指令:openclaw agent --agent [agentid] "Retry the market scan now."

智能體正在啟動工作階段:

🔷 Marketing ready. Cassette youtube-ops loaded. 
Today's task: Generate 3 title options for this week's upload.

→ 無需行動——稍後回來查閱任務完成回報即可。