Empire Architecture: Organizing Multi-Agent Collaboration with the Sangong and Jiuqing System

Introduction

In multi-agent projects, a common practice is to stack several peer-level Agents, relying on manual task decomposition and manual specification of caller-callee relationships. As the number of nodes grows, routing rules, model selection, queues, and memory tend to get scattered across scripts and prompts, making unified evolution difficult. The following introduces a community Skill on SkillHub called “Empire Architecture”: It writes the collaboration framework as an installable Agent Skill, organizes multi-agents using the hierarchical metaphor of the “Three Lords and Nine Ministers” (San Gong Jiu Qing) of ancient China, and explicitly lists capability directions such as 256 nodes, tag routing, model tiering, task queues, and Agent memory in its description.

What is this

Empire Architecture (Coordinates @user_168d274d/empire-architecture-v2, Version 1.0.0) is a community Skill under the SkillHub category ai-agent, published by user_168d274d (the author aaroncxxx is displayed on the SkillHub page). Its official one-sentence positioning is: An AI multi-agent collaboration system based on the ancient Chinese system of Three Lords and Nine Ministers.

The problem it aims to solve is to consolidate “who is responsible for what, how tasks are distributed, what level of models to use, and how state is retained” into a collaboration paradigm guided by a Skill, rather than writing orchestration instructions from scratch every time. Compared to pure document-based prompts, the Skill is delivered in the universal SKILL.md format. It can be installed in Agent environments that support Skills and executed by the model according to the skill instructions.

  • Official API Address: https://api.skillhub.cn/user_168d274d/empire-architecture-v2
  • SkillHub Page: https://www.skillhub.cn/skills/user_168d274d/empire-architecture-v2

Core Features (Based on Official Introduction)

The following capabilities are derived from the SkillHub introduction and metadata, with no functional extrapolation:

Feature Description
Three Lords and Nine Ministers Collaboration Uses ancient bureaucratic hierarchy as a metaphor for multi-agent roles and division of labor
256 Nodes Architecture scale limit or node pool design (specific semantics depend on the Skill body)
Tag Routing Directs tasks or messages to corresponding nodes/roles based on tags
Model Tiering Corresponds different model tiers to different hierarchy levels or task types
Task Queue Queues and schedules collaboration tasks
Agent Memory Memory mechanism across turns or across nodes
Quantum Computing Mind Simulator A named capability in the intro; specific behavior requires reading the Skill content after installation

Metadata tag requires_api_key=true: Using this Skill typically requires configuring an API Key (specific environment variables or configuration items depend on the instructions after Skill installation).

SkillHub Statistics (at the time of crawl): Rating 100000, Downloads 966, Category ai-agent, Source community.

Installation and Activation

There are two installation methods, consistent with the official SkillHub page.

Method 1: Let the current Agent execute installation instructions

Send the following prompt to an AI that supports Skills (Original text from the page):

Please install `@user_168d274d/empire-architecture-v2` according to https://skillhub.cn/install/skillhub.md.

The Agent will check for the CLI, select the correct skills directory, and install according to SkillHub Installation & Priority Source Configuration.

Method 2: Use the skillhub CLI locally

  1. Check if the CLI is installed:
command -v skillhub && skillhub --version
  1. If not installed, execute the full installation (including CLI and default Skills) according to official documentation:
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash

To install only the CLI:

curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash -s -- --cli-only
  1. When installing this Skill, you must use --dir to point to the current Agent’s skills directory; otherwise, it defaults to ./skills/ and may not be recognized:
skillhub install user_168d274d/empire-architecture-v2 --dir <skills directory>

You can also search before installing:

skillhub search empire-architecture
skillhub install user_168d274d/empire-architecture-v2 --dir <skills directory>

Client-specific skills directories (Excerpt from official docs)

  • Cursor: ~/.cursor/skills/
  • Claude Code: ~/.claude/skills/
  • Codex: ~/.codex/skills/ or .agents/skills/ under the project

If the Agent does not immediately recognize the new Skill after installation, restart or refresh the Skills list according to the instructions for your specific client. If requires_api_key=true, please configure the API Key in the location required by the Skill body to avoid collaboration call failures.

Typical Usage

The currently verifiable public pages (SkillHub details and installation guide) do not provide standalone command-line demos or copyable conversation examples; the typical workflow is: Complete installation → Explicitly reference or enable the Skill in the conversation → The Agent organizes multi-agent tasks according to the Three Lords and Nine Ministers collaboration, routing, queueing, and memory rules in SKILL.md. For specific trigger phrases, node naming, and queue parameters, you need to read the SKILL.md (or equivalent file in the SkillHub installation result) within the skill package after installation. This article does not fabricate examples.

Use Cases and Notes

Who is it for

  • Teams or individuals who need to do multi-role, multi-step collaboration in environments like Cursor, Claude Code, Codex, etc., and want to use a unified Skill to constrain orchestration rather than rewriting long prompts every time.
  • Those who have combined requirements for “Tag Routing + Model Tiering + Task Queue + Memory” and are willing to accept the iteration pace of a community Skill.

Limitations and Notes

  1. Community Source: Not officially maintained by the platform; upgrades and issue responses depend on the publisher; it is recommended to run a trial in an isolated environment before use.
  2. API Key: The tag indicates an API Key is required. In multi-model tiering scenarios, you need to manage keys and costs yourself.
  3. “Quantum Computing Mind Simulator” and other names: These belong to the Skill’s self-described capabilities. Whether they meet your engineering expectations should be based on the actual Skill body and trial runs.
  4. Downloads and Installs: SkillHub shows 966 downloads and 0 install counts (statistics caliber subject to SkillHub). This does not mean the feature is unusable, but it indicates that many users may only browse or install indirectly via Agents.

Conclusion

Empire Architecture encapsulates multi-agent collaboration into a distributable package on SkillHub: it uses the metaphor of the Three Lords and Nine Ministers to organize roles and links design points such as 256 nodes, tag routing, model tiering, task queues, and Agent memory in its introduction. If you are organizing multi-Agent orchestration, you can install @user_168d274d/empire-architecture-v2 from the official page and then implement routing and queue strategies according to SKILL.md.

  • SkillHub: https://www.skillhub.cn/skills/user_168d274d/empire-architecture-v2
  • Skill API: https://api.skillhub.cn/user_168d274d/empire-architecture-v2
羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye