🤖
Ai Court
Deploy a multi-agent AI team on Discord using Clawdbot, inspired by the Ming Dynasty Six Ministries. Use when setting up, configuring, scaling, or troublesho...
安全通过
💬Prompt
技能说明
name: ai-court description: "Deploy a multi-agent AI team on Discord using Clawdbot, inspired by the Ming Dynasty Six Ministries. Use when setting up, configuring, scaling, or troubleshooting a multi-bot Discord workspace with specialized agents (coding, finance, marketing, DevOps, legal, etc.)." homepage: https://github.com/wanikua/ai-court-skill metadata: {"clawdbot":{"emoji":"🏛️","requires":{"bins":["clawdbot"]},"credentials":["LLM_API_KEY","DISCORD_BOT_TOKEN"],"configs":["~/.clawdbot/clawdbot.json"],"install":[{"id":"node","kind":"node","package":"clawdbot","bins":["clawdbot"],"label":"Install Clawdbot"}]}}
AI 朝廷 — Multi-Agent Discord Workspace
Deploy a team of specialized AI agents on Discord. Each agent is an independent bot with its own expertise, identity, and model.
Quick Start
- Install Clawdbot:
npm install -g clawdbot - Install this skill:
clawdhub install ai-court - Copy
references/clawdbot-template.jsonto~/.clawdbot/clawdbot.json - Fill in your LLM API key, model IDs, and Discord bot tokens
- Start:
systemctl --user start clawdbot-gateway
For full server setup, see the setup guide on GitHub.
Architecture
- 司礼监 (main) — 调度中枢(快速模型)
- 兵部 — 软件工程、架构(强力模型)
- 户部 — 财务、成本(强力模型)
- 礼部 — 营销、内容(快速模型)
- 工部 — DevOps、运维(快速模型)
- 吏部 — 项目管理(快速模型)
- 刑部 — 法务合规(快速模型)
Config
See references/clawdbot-template.json for the full config template.
- Each Discord account MUST have
"groupPolicy": "open"explicitly identity.themedefines the agent's personabindingsmaps each agent to its Discord bot- Replace
$LLM_PROVIDER,$MODEL_FAST,$MODEL_STRONGwith your chosen provider and models
Workspace Files
| File | Purpose |
|---|---|
SOUL.md | Core behavior rules |
IDENTITY.md | Org structure and model tiers |
USER.md | Info about the human owner |
AGENTS.md | Group chat rules, memory protocol |
Sandbox
Off by default. To enable read-only sandboxed execution:
"sandbox": {
"mode": "all",
"workspaceAccess": "ro",
"docker": { "network": "none" }
}
Agents run in isolated containers with read-only workspace access and no network. The gateway handles all API authentication externally. See Clawdbot docs for advanced sandbox options.
Troubleshooting
- @everyone doesn't trigger agents — enable Message Content Intent + Server Members Intent in Discord Developer Portal
- Agent drops messages — set
"groupPolicy": "open"on each Discord account entry - Model config errors — only
"primary"key underagents.defaults.model
Adding More Agents
- Add agent to
agents.listwith uniqueidandidentity.theme - Create Discord bot, enable intents
- Add account in
channels.discord.accountswith"groupPolicy": "open" - Add binding, invite bot, restart gateway
如何使用「Ai Court」?
- 打开小龙虾AI(Web 或 iOS App)
- 点击上方「立即使用」按钮,或在对话框中输入任务描述
- 小龙虾AI 会自动匹配并调用「Ai Court」技能完成任务
- 结果即时呈现,支持继续对话优化