Start a dynasty with one command, the Three Departments and Six Ministries are all AI.
Installation
clawdhub install ai-court
Usage
1. Choose a system
Ming Dynasty cabinet system(recommended):
cd ~/.openclaw && cp -r clawd/skills/ai-court/configs/ming-neige/* .
Tang Dynasty Three Departments system:
cd ~/.openclaw && cp -r clawd/skills/ai-court/configs/tang-sansheng/* .
Modern corporate system:
cd ~/.openclaw && cp -r clawd/skills/ai-court/configs/modern-ceo/* .
2. Choose an IM platform
Feishu (recommended in China) ⭐
cd ~/.openclaw && cp -r clawd/skills/ai-court/configs/feishu/* .
Configure Feishu credentials:
- App ID and App Secret
- See
references/feishu-setup.md
Discord (recommended internationally)
cd ~/.openclaw && cp -r clawd/skills/ai-court/configs/ming-neige/* .
Configure Discord Bot Token:
- See
references/discord-setup.md
3. Configure API Key
{
"models": {
"providers": {
"dashscope": {
"apiKey": "sk-your-api-key"
}
}
}
}
4. Verify installation
bash clawd/skills/ai-court/scripts/doctor.sh
5. Start
openclaw start
IM platform comparison
| Platform | Use case | Advantages |
|---|---|---|
| Feishu | Domestic users, enterprise teams | No VPN needed, WebSocket long connection |
| Discord | International users, open-source communities | Powerful features, good bot ecosystem |