polis-protocol-a-self-optimizing-city-of-agents
Skill này làm gì
Hệ thống này cho phép các trí tuệ nhân tạo (agent) khác nhau cùng làm việc trong một dự án dài hạn. Chúng tổ chức như một thành phố, mỗi agent có một vai trò và học từ kinh nghiệm trước để cải thiện làm việc nhóm.
Khi nào nên dùng
- ✓Khi bạn cần nhiều AI cộng tác trong một dự án phức tạp.
- ✓Khi tối ưu việc AI nào làm tác vụ nào, dựa trên kỹ năng của họ.
- ✓Khi bạn muốn quy trình làm việc tự cải thiện theo thời gian.
Liên kết skill
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/polis-protocol-a-self-optimizing-city-of-agents/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Làm thế nào để Claude AI và Gemini AI cùng nhau viết một cuốn sách về lịch sử Brazil?”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Hệ thống hoạt động như một thành phố, trong đó mỗi AI là một công dân. Chúng tuân theo quy tắc (giao thức), tự giới thiệu bằng thẻ năng lực (capability cards), nhận nhiệm vụ (hợp đồng), và ghi lại những gì đã học (biên niên) để cùng nhau tiến bộ.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
Bundled upstream support
Supporting files are included at skill-relative paths. See UPSTREAM-NOTICE.md for their pinned sources, licenses, hashes, and import changes.
Polis Protocol: A Self-Optimizing City of Agents
When to Use
Use this skill when you need polis Protocol: A Self-Optimizing City of Agents.
A protocol that lets AI agents from different vendors collaborate on a long-running project, route work to whoever is best at it, and get measurably better over time. Everything lives in a folder of markdown files, so any tool that reads and writes text can participate — no central server, no required runtime.
The core idea
Treat the project as a small polis: citizens (the agents) that share a constitution (the protocol), publish public identities (capability cards), enter contracts (tasks), and leave a public record of how things went (lessons). Three institutions plus a self-change mechanism:
- The Register — identity and capability discovery (capability cards).
- The Contract — structured tasks with learned routing.
- The Chronicle — lessons that compound and feed back into routing.
- The Amendment — citizens change the rules when reality demands it.
This buys what shared-vault setups don't: cross-vendor optimization (work goes to whoever is best at it), self-development (routing improves with use), and constitutional evolution (the protocol updates itself from friction). For pure note-passing without routing, prefer agent-vault.
When this skill is active
Any multi-agent scenario where "who should do this" is a real question: founding or joining a polis; writing, claiming, or settling a contract; running a chavruta review; proposing or ratifying an amendment; or diagnosing a stalled contract, sync conflict, router pathology, or stuck quorum. Upgrading from agent-vault → references/troubleshooting.md ("Migrating from agent-vault").
Structure of a polis
A polis lives in a _polis/ folder at the project root; everything outside it is project content the protocol never touches.
CONSTITUTION.md— canonical tool-agnostic protocol ·index.md— current state ·README.md— human explainerchronicle.md— append-only event logcitizens/<agent-id>/—capability_card.yml,status.md,inbox.md,journal.mdcontracts/open/<id>.md·contracts/settled/<id>.md·contracts/routing_stats.yml(learned policy, updated on settle)lessons/<capability-tag>/<id>.md·reviews/<YYYY-MM-DD-HHMM>-<contract>.md·amendments/proposed|ratified/- Project root also gets
CLAUDE.md/AGENTS.md/GEMINI.mdbridge pointers and.agents/skills/polis-protocol/SKILL.md(Codex/Antigravity copy), all pointing atCONSTITUTION.md.
Citizens link to project files with wikilinks ([[path/to/note]]). The _polis/ folder is the only thing the protocol owns.
The first thing to do every session
Before touching any project file, run the entry routine, in order:
- Polis exists? Look for
_polis/CONSTITUTION.md. If absent, scaffold it (see "Founding a polis"). - You are registered? Look for
_polis/citizens/<self>/capability_card.yml. If absent, register (see "Registering a citizen"). - Read
_polis/CONSTITUTION.mdonce per session — it is the canonical protocol for this polis; this SKILL.md is the seed it grew from. - Read
_polis/index.md— where things stand (a two-minute read). - Read your inbox —
_polis/citizens/<self>/inbox.md. - Scan the tail of
chronicle.mdbackward until you reach thelast_seen_event:in yourstatus.md. That is your catch-up. - Read your open contracts — anything in
_polis/contracts/open/withowner: <self>. - Update
last_seen_eventandlast_activein yourstatus.md. - Report back to the user — state of the project, what's in flight, what needs their input, a concrete first move.
If chronicle.md has grown large, the rollover policy (references/troubleshooting.md) keeps it bounded.
The chronicle: recording what you did
After each meaningful action, append exactly one line to _polis/chronicle.md. The format is rigid because the router and other citizens parse it:
- YYYY-MM-DD HH:MM | <agent-id> | <verb-phrase> | [[<wikilink>]] | <one-line note or - >
- 2026-05-14 09:15 | codex-frontend-pesaj | settled contract | [[contracts/settled/auth-refactor]] | tests passing, lesson filed
…
Câu hỏi thường gặp
“Agent” là gì?
Agent là các trí tuệ nhân tạo riêng lẻ tham gia dự án.
“Protocol” là gì?
Protocol là tập hợp các quy tắc mà tất cả agent tuân theo để cộng tác và ra quyết định.
Các AI học và cải thiện bằng cách nào?
Chúng ghi lại bài học rút ra từ mỗi tác vụ và dùng thông tin này để quyết định ai phù hợp nhất cho các tác vụ sau, giúp quy trình hiệu quả hơn.
Chi tiết
Mô tả gốc của tác giả
Polis Protocol: A Self-Optimizing City of Agents
Độ phổ biến
- Sao GitHub
- 48k
- Vị trí xếp hạng
- #5466
- Giấy phép
- MIT
- Cập nhật
- 15/10/2026
Bình luận
- …
Thêm skill từ kho mã này
00-andruia-consultant
48kGiúp agent của bạn bắt đầu hoặc cải thiện các dự án AI. Phân tích mã, gợi ý công cụ và lập kế hoạch hành động bằng tiếng Tây Ban Nha.
007
48kCho phép agent của bạn thực hiện kiểm toán bảo mật và mô hình hóa mối đe dọa. Hữu ích để bảo vệ dự án khỏi các cuộc tấn công và lỗ hổng.
10-andruia-skill-smith
48kGiúp agent của bạn tạo hoặc cải thiện các công cụ AI. Xác định cách công cụ hoạt động, viết tài liệu và kiểm tra cấu trúc.
20-andruia-niche-intelligence
48kGiúp agent của bạn tạo bản tóm tắt về một ngành cụ thể. Hữu ích để hiểu bối cảnh, quy tắc, cách người dùng tương tác và rủi ro của dự án.
Skill tương tự
add-model-provider
394kGiúp agent của bạn kết nối nhà cung cấp mô hình AI mới với OpenClaw bằng lệnh an toàn, giữ API key khỏi văn bản thuần và chạy thử.
acp-router
394kGiúp agent của bạn gửi một tác vụ đến trợ lý lập trình như Claude Code hoặc Cursor qua OpenClaw, để công việc chạy ngay trong công cụ đó.
browser-automation
394kHướng dẫn agent của bạn điều khiển trang web từng bước, gồm đăng nhập, tab và cách khôi phục khi trang ngừng phản hồi.