polis-protocol-a-self-optimizing-city-of-agents
Что он делает
Эта система позволяет разным искусственным интеллектам (агентам) работать вместе над долгосрочным проектом. Они организованы как город: у каждого агента есть своя роль, и они учатся на прошлом опыте, чтобы улучшать совместную работу.
Когда использовать
- ✓Когда нужно, чтобы несколько ИИ работали вместе над сложным проектом.
- ✓Чтобы оптимизировать распределение задач между ИИ на основе их навыков.
- ✓Когда вы хотите, чтобы рабочий процесс со временем улучшался автоматически.
Ссылка на скилл
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/polis-protocol-a-self-optimizing-city-of-agents/SKILL.mdСкопируйте и вставьте её в ваш ИИ (Claude, ChatGPT или Cursor) с просьбой следовать инструкциям.
Как использовать
Самый простой способ: скопируйте сообщение и вставьте его в свой ИИ. Он прочитает скилл и выполнит инструкции.
Готовое сообщение для вставки
Для Claude Code, Codex или Cursor: запустите в папке проекта, и скилл установится.
Скачайте SKILL.md и положите его в папку скиллов вашего агента.
Пример запроса к вашему ИИ
“Как сделать так, чтобы ИИ Claude и ИИ Gemini вместе написали книгу об истории Бразилии?”
5 новых скиллов в неделю. 1 минута чтения.
Как это работает
Система работает как город, где каждый ИИ является его жителем. Они следуют правилам (протоколу), представляются через свои карточки возможностей, берут задачи по контрактам и записывают полученные уроки в хроники, чтобы все вместе становились лучше.
Технический текст (оригинальный SKILL.md)
Оригинальный текст автора на английском, прямо с GitHub.
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
…
Частые вопросы
Что такое «агенты»?
Агенты это отдельные искусственные интеллекты, участвующие в проекте.
Что такое «протокол»?
Протокол это набор правил, которым следуют все агенты для совместной работы и принятия решений.
Как ИИ учатся и совершенствуются?
Они записывают уроки, извлечённые из каждой задачи, и используют эту информацию, чтобы решать, кто лучше подойдёт для будущих задач, делая процесс эффективнее.
Подробности
Оригинальное описание автора
Polis Protocol: A Self-Optimizing City of Agents
Популярность
- Звёзды на GitHub
- 48k
- Место в рейтинге
- #5466
- Лицензия
- MIT
- Обновлён
- 15.10.2026
Комментарии
- …
Другие скиллы из этого репозитория
00-andruia-consultant
48kПомогает агенту начинать или улучшать ИИ-проекты: анализирует код, подбирает инструменты и составляет план на испанском.
007
48kАгент проводит аудит безопасности и моделирование угроз для защиты проектов.
10-andruia-skill-smith
48kПомогает агенту создавать и улучшать ИИ-инструменты: описание работы, документация и проверка структуры.
20-andruia-niche-intelligence
48kАгент составляет обзор отрасли: контекст, правила, паттерны использования и риски по надёжным источникам.
Похожие скиллы
add-model-provider
394kПомогает агенту подключить нового провайдера ИИ-моделей к OpenClaw безопасными командами, хранить ключи API не в открытом виде и провести живой тест.
acp-router
394kПомогает агенту передать задачу инструменту для программирования, например Claude Code или Cursor, через OpenClaw, чтобы работа шла в этом инструменте.
browser-automation
394kУчит агента пошагово управлять веб-страницами: входить в аккаунты, работать с вкладками и восстанавливаться, если страница перестала отвечать.