kiro-discord-bot

指令參考 #

指令主要以 slash command 使用,大多也支援 ! 文字指令。敏感管理介面會在 Discord 支援時使用 ephemeral private response。

頻道設定與狀態 #

Command用途
/cwd開啟私密 project/CWD setup panel。用於初始化或切換頻道專案。
/start <cwd>進階直接綁定 CWD;一般建議用 /cwd
/status顯示 agent 狀態、queue、context、session ID 與 uptime。
/doctor執行部署、權限與 ACP 診斷。
/reset重啟目前 channel 或 thread agent。
/clear清除目前目標的對話歷史。
/compact在支援時要求 active engine 壓縮對話 context。

工作控制 #

Command用途
/cancel要求目前 ACP session 取消 active task。
/interrupt先 soft cancel;若同一任務仍卡住,再中斷 process group。
/pause將目前目標切成 mention-only。Parent channel 也會停用新任務 thread。
/back恢復 full-listen 與 parent channel 新任務開 thread。
`/thread [onoff]`查詢或設定未來 parent-channel task 是否建立 Discord thread。
`/silent [onoff]`控制 compact 或詳細 tool output。

Model 與 Agent Mode #

Command用途
/model顯示目前 model。
/model <model-id>切換目前頻道/討論串 agent 的 model。Kiro 可使用 fallback model list;OMP 會從 active ACP session 驗證 model ID。
/models列出可用 models。Kiro 可 fallback 到 kiro-cli;OMP 的 model catalog 來自 ACP session/new,因此需要頻道/討論串 agent 已啟動。
/agent列出目前頻道/討論串 agent 的可用 modes。
/agent <mode-id>切換 agent mode,例如 planner/guide mode 或 active ACP session 回報的 OMP modes。
/engine顯示目前的 agent 引擎(kiro/omp)與已啟用的引擎清單。
`/engine <kiro\omp>`切換此頻道/討論串的引擎(僅限 AGENT_ENGINES_ENABLED 列出的引擎)。會在新引擎開全新 session,並重放最近的對話內容。

Memory 與 Steering #

Command用途
/memory新增、列出、移除或清除持久 memory rules。
/flashmemory管理 session-scoped emphasis rules。
`/steering <statuscreateedit>`管理目前專案共用的 AGENTS.md guidance。

只要 memory rule 還在 /memory list 看得到,就會影響未來 turns。若要完全淘汰過期指引,移除後再執行 /clear/reset

Memory、flash memory、steering 與 session cleanup 的操作差異見 日常工作流

MCP 與 Admin #

Command用途
/mcp status顯示 catalog 與目前 channel policy。
/mcp enable / /mcp disable在 channel scope 啟用或停用 server。
/mcp manage開啟私密 MCP policy panel,掃描 tools 並管理 allowlist。
/audit [limit]私密檢視目前 channel/thread 的 audit events。
/usage [user]顯示今日、本周、本月至今的 agent 用量;engine 有回傳 metering metadata 時會包含 credits 或 USD cost。

Audit data 請使用 slash /audit。文字 !audit 不回傳 audit rows,因為 Discord 無法讓這類文字回覆變成 private。

Audit rows、audit prompt investigations 與 usage attribution 的行為見 Audit、用量與隱私

排程 #

Command用途
/cron透過表單建立 recurring scheduled task。
/cron-prompt <description>用自然語言建立 scheduled task。
/cron-list列出 scheduled tasks 與管理按鈕。
/cron-run <name>手動執行 scheduled task。
/remind <time> <content>建立一次性 reminder,到期時 tag requester。

排程指令必須在 parent channel 使用。Cron agent 執行時使用該頻道當下 CWD。

Scheduling scope、MCP-created jobs 與 owner expectations 見 Cron 與提醒

Thread Helpers #

在 Discord thread 內,/status/reset/cancel/interrupt/compact/clear/model 通常會作用在目前 thread agent。!close 可關閉目前 thread agent,!close-thread <thread_id> 可從 parent channel scope 關閉 inactive thread agent。