ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified

Empire Architecture

Skill by aaroncxxx

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/aaroncxxx/empire-architecture
Or

帝国架构 Empire Architecture v2.0

基于中国古代三公九卿制的 AI 多智能体协作系统

概述

帝国架构是一个多智能体协作系统,采用三公九卿制组织架构,将复杂任务分解为多个专业 Agent 协同完成。

核心架构

  • 中枢:丞相 — 总协调,任务分解与调度
  • 参谋:谋略/技术/情报 — 分析决策
  • 执行:文曹/码曹/查曹 — 任务执行
  • 六部:吏/户/礼/兵/刑/工 — 专项管理
  • 翰林:翰林学士/国子监 — 知识管理
  • 特殊:钦天监/太医/御厨 — 预警/诊断/清洗
  • 监察:御史大夫/中书令 — 质量/流程
  • 扩展:大理寺/大鸿胪/少府 — 逻辑/翻译/创意
  • 安全:锦衣卫 — 安全审计

运行版本

lite/ 目录包含可运行的 Python 实现(25节点核心 + 537节点天文台集群)。

快速开始

# 进入 lite 目录
cd lite/

# 配置 LLM 凭据
export MIMO_API_KEY="your-api-key"
export MIMO_API_ENDPOINT="your-endpoint"

# 运行主程序
python3 main.py

# 运行并行自检
python3 selfcheck_v17.py

配置

编辑 lite/config.json 配置帝国节点:

{
  "agents": [...],
  "knowledge": {...},
  "security": {...}
}

知识层

支持多种知识源:

  • 本地 RAG(local_rag)
  • 腾讯云(tencent_cloud)
  • 飞书(feishu)
  • Notion(notion_kb)
  • 社区知识库(community)

自检框架

V1.7 并行自检框架,6类15项检查,0.06s 完成:

  • 网络连通性
  • API 可用性
  • 文件系统完整性
  • 配置一致性
  • Agent 状态
  • 知识层健康度

安全机制

  • 锦衣卫投票制
  • 违规三级分类
  • 制衡机制
  • Token 管理:皇帝唯一所有权、吏曹执行分配

联邦学习

支持横向/纵向联邦:

  • 参数聚合
  • 安全多方计算
  • Flower 框架集成

技术栈

层面选型
模型MiMo(小米)
编排LangGraph
通信Redis + RabbitMQ
联邦学习Flower
安全Vault + TenSEAL
监控Prometheus + Grafana

文件结构

├── SKILL.md          # 本文件
├── README.md         # 项目说明
├── CHANGELOG.md      # 变更记录
├── docs/             # 文档归档
│   ├── CHANGELOG-legacy.md
│   ├── architecture-v1.md
│   └── evaluation-v1.4.md
└── lite/             # 可运行代码
    ├── main.py       # CLI 入口
    ├── chancellor.py # 丞相协调器
    ├── selfcheck_v17.py
    ├── config.json
    ├── agents/
    ├── core/
    ├── knowledge/
    └── observatory/

链接

Metadata

Author@aaroncxxx
Stars4473
Views0
Updated2026-05-01
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-aaroncxxx-empire-architecture": {
      "enabled": true,
      "auto_update": true
    }
  }
}
Safety NoteClawKit audits metadata but not runtime behavior. Use with caution.

Related Skills

how-much-token-did-this-chat-used

Track and display token usage for the current OpenClaw session and recent sessions, with cost estimation and remaining days projection. Auto-detects active model and matches billing rules dynamically. Shows: current session tokens, session cost, today's cumulative usage, last 10 session averages, 7-day usage trend, top spending sessions, credit balance with alerts, and weighted remaining days projection. Use when the user asks about token consumption, cost, usage stats, "用了多少 token" / "token 用量" / "消耗了多少" / "最近十个chat" / "credit" / "余额" / "还能用几天" / "花费" / "趋势".

aaroncxxx 4473

Mimo Tts Asr 26 Free

Skill by aaroncxxx

aaroncxxx 4473

mimo-tts-asr

Xiaomi MiMo V2.5 TTS + ASR 全能语音技能。支持高质量中英文语音合成(TTS)和语音识别(ASR)。 TTS: 三款模型(精品音色 / VoiceDesign 音色设计 / VoiceClone 音色克隆)、方言支持、情感控制、多格式输出。 ASR: 音频转文字、多语言识别、方言、Code-Switch、强噪音场景。支持 API 调用和开源模型本地部署。 触发词: 语音合成 / 文字转语音 / TTS / 朗读 / 说话 / 唱歌 / 语音识别 / 转文字 / 听写 / ASR / 音色设计 / 音色克隆 / 声音克隆 / voice design / voice clone / voice / speech / read aloud / transcribe / speech-to-text / 语音转文字 / 音频转文字。 Use when: 用户要求将文字转为语音、朗读文本、生成音频、识别音频内容、将音频转为文字、设计音色、克隆音色。

aaroncxxx 4473

drop-caches-cleanup

一键清理系统内存(RAM)/ One-click system memory cleanup. 当用户说"清理内存"、"释放内存"、"一键清理"、"drop caches"、"内存太高"、"卡"、"慢" / "clear memory"、"free memory"、"memory cleanup"、"system lag" 时使用。 支持 Linux drop_caches / macOS purge,分级清理,阈值检查。

aaroncxxx 4473

mimotts25

小米大模型 MiMo TTS 2.5 语音合成。支持多种预设音色(中文/英文/默认)、风格控制(情感、方言、角色扮演、语速)、音频标签精细控制。Use when the user asks to convert text to speech, generate audio, read text aloud with a specific style/emotion/dialect, or create voice files.

aaroncxxx 4473