Saltar al contenido
Skillpedia
Agentes48 mil · #5466

polis-protocol-a-self-optimizing-city-of-agents

Qué hace

Este sistema permite que distintas inteligencias artificiales (agentes) trabajen juntas en un proyecto a largo plazo. Se organizan como una ciudad, donde cada agente tiene un papel y aprende de experiencias pasadas para mejorar el trabajo en equipo.

Cuándo usarla

  • ✓Cuando necesitas que varias IA colaboren en un proyecto complejo.
  • ✓Para optimizar qué IA hace cada tarea, según sus habilidades.
  • ✓Cuando quieres que el proceso de trabajo mejore solo con el tiempo.

Link de la 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.md

Cópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.

Cómo usar

La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.

Mensaje listo para pegar

Usa esta skill para ayudarme: 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 Lee el archivo SKILL.md de ese link y sigue sus instrucciones en mi tarea.
¿Quieres que tu IA encuentre skills como esta por sí sola?Instala el MCP gratis de Skillpedia: una línea, y busca entre 15.000+ skills antes de cada tarea.Instalar en 1 minuto →

Ejemplo de qué pedirle a la IA

“¿Cómo podemos hacer que la IA Claude y la IA Gemini trabajen juntas para escribir un libro sobre la historia de Brasil?”

5 skills nuevas por semana. 1 minuto de lectura.

Cómo funciona

El sistema funciona como una ciudad en la que cada IA es un ciudadano. Siguen unas reglas (protocolo), se presentan con sus habilidades (fichas de capacidades), aceptan tareas (contratos) y registran lo que aprenden (crónicas) para que todos mejoren juntos.

Contenido técnico (SKILL.md original)

Texto original del autor, en inglés, directo de 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:

  1. The Register — identity and capability discovery (capability cards).
  2. The Contract — structured tasks with learned routing.
  3. The Chronicle — lessons that compound and feed back into routing.
  4. 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 explainer
  • chronicle.md — append-only event log
  • citizens/<agent-id>/ — capability_card.yml, status.md, inbox.md, journal.md
  • contracts/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.md bridge pointers and .agents/skills/polis-protocol/SKILL.md (Codex/Antigravity copy), all pointing at CONSTITUTION.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:

  1. Polis exists? Look for _polis/CONSTITUTION.md. If absent, scaffold it (see "Founding a polis").
  2. You are registered? Look for _polis/citizens/<self>/capability_card.yml. If absent, register (see "Registering a citizen").
  3. Read _polis/CONSTITUTION.md once per session — it is the canonical protocol for this polis; this SKILL.md is the seed it grew from.
  4. Read _polis/index.md — where things stand (a two-minute read).
  5. Read your inbox — _polis/citizens/<self>/inbox.md.
  6. Scan the tail of chronicle.md backward until you reach the last_seen_event: in your status.md. That is your catch-up.
  7. Read your open contracts — anything in _polis/contracts/open/ with owner: <self>.
  8. Update last_seen_event and last_active in your status.md.
  9. 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

…

Preguntas frecuentes

¿Qué son los 'agentes'?

Los agentes son las inteligencias artificiales individuales que participan en el proyecto.

¿Qué es el 'protocolo'?

El protocolo es el conjunto de reglas que todos los agentes siguen para colaborar y tomar decisiones.

¿Cómo aprenden y mejoran las IA?

Registran las lecciones aprendidas de cada tarea y usan esa información para decidir quién es el mejor para tareas futuras, lo que hace el proceso más eficiente.

Detalles

Descripción original del autor

Polis Protocol: A Self-Optimizing City of Agents

repo: sickn33/agentic-awesome-skills

Popularidad

Estrellas en GitHub
48 mil
Posición en el ranking
#5466
Licencia
MIT
Actualizada
15/10/2026

¿Te sirve esta skill?

0

Entra para votar.

Comentarios

  • …

Más skills de este repositorio

Skills parecidas