Agent skill

Polis Protocol

by sickn33 in sickn33/agentic-awesome-skills

Coordinate multi-vendor AI agents as a self-improving team — a learning router assigns work by track record and citizens can amend the protocol's own rules.

MITAuto-check passed

Install Polis Protocol

skills CLI
$ npx skills add sickn33/agentic-awesome-skills --skill polis-protocol -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install sickn33/agentic-awesome-skills polis-protocol --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/polis-protocol .claude/skills/polis-protocol && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
polis-protocol
GitHub stars
47k
Used in
1 other repo
Token cost
~1.4k tokens
SKILL.md length
634 words
Files
1
Skills in repo
1,354
Repo updated
First seen
Licence
MIT

At a glance

Coordinate multi-vendor AI agents as a self-improving team — a learning router assigns work by track record and citizens can amend the protocol's own rules.

  • Works in 4 steps: Found a polis → Register citizens and open contracts → Route by track record → …
  • SKILL.md covers Overview, When to Use This Skill, How It Works and Examples, plus 2 more sections
  • Calls git, python3 and bash; reaches github.com

What it does

Polis Protocol is an agent skill from sickn33/agentic-awesome-skills. Coordinate multi-vendor AI agents as a self-improving team — a learning router assigns work by track record and citizens can amend the protocol's own rules.

Its SKILL.md is about 1.4k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

The repository describes itself as: AAS Core is the local, agent-first control plane for complete catalog discovery, agent-owned selection, stack validation, and planning, backed by 2,400+ agentic skills. Includes… The licence is MIT.

Example prompts

  • “/polis-protocol”

Requirements

  • Python 3

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. Found a polis
  2. Register citizens and open contracts
  3. Route by track record
  4. Settle, learn, and amend

What it can do on your machine

Read from SKILL.md and the folder at commit ec02547. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • git
    • python3
    • bash
    • pipx

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • github.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Polis Protocol loads about 1.4k tokens when it runs. Until then it costs about 43 tokens; SKILL.md has 634 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~43
When it runs · the whole SKILL.md, loaded when a task matches
~1.4k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from sickn33/agentic-awesome-skills at commit ec02547, republished under its MIT licence (© sickn33). 634 words, ~1,431 tokens.

Download SKILL.mdSave it as .claude/skills/polis-protocol/SKILL.md (or your agent's skills folder).
name
polis-protocol
description
Coordinate multi-vendor AI agents as a self-improving team — a learning router assigns work by track record and citizens can amend the protocol's own rules.
category
orchestration
risk
critical
source
community
source_repo
yehudalevy-collab/polis-protocol
source_type
community
date_added
2026-06-02
author
yehudalevy-collab
tags
multi-agent, coordination, routing, orchestration, governance, vendor-agnostic
tools
claude, cursor, gemini, codex, antigravity
license
MIT

Polis Protocol — a team of agents that develops

Overview

Most agent coordination is a passive board: claim a task, do it, mark it done. It records, but it never gets smarter, and its rules are frozen. Polis Protocol is the active alternative — a folder of markdown where each agent is a "citizen" with a capability card, work is routed by a learning bandit to whoever has the best track record on the task's tags, settled work files lessons that update the routing, and citizens can propose and vote on amendments to the protocol itself. It is vendor-agnostic: Antigravity, Claude, Codex, and Gemini agents can all share one _polis/.

In Antigravity specifically, this turns Manager View's fixed pipeline into a team that learns who is actually best at each kind of work, instead of running the same roles in the same order every time.

When to Use This Skill

  • Use when 2+ agents (especially across vendors) work on one project and "who should do this" is a real question.
  • Use when you want the team to measurably improve over time — routing that adapts from outcomes, not static role labels.
  • Use when you need a durable, git-auditable record of who did what, what was learned, and which rules changed.
  • Use when Antigravity's default orchestration is too rigid and you want routing + governance on top of it.

How It Works

Step 1: Found a polis

Use a reviewed checkout by default so the scaffolder code is pinned before it writes into the project:

bash
git clone https://github.com/yehudalevy-collab/polis-protocol.git
cd polis-protocol
git checkout <reviewed-commit-sha>
python3 scripts/init_polis.py \
  --project-root . \
  --agent-id gemini-antigravity-yourproject \
  --vendor google --model gemini-3 --tool antigravity

If you prefer the published PyPI package, install an exact version after reviewing that release, for example pipx install polis-protocol==<reviewed-version>. Do not invoke the package through an unpinned uvx or "latest" workflow for automated setup.

This writes _polis/ plus the skill into .agents/skills/ (the path Antigravity reads), and bridge pointers (GEMINI.md, AGENTS.md) that point every tool at _polis/CONSTITUTION.md. Tip: add --dry-run to preview every file before anything is written; init never overwrites existing files, and polis init --repair restores missing ones.

Step 2: Register citizens and open contracts

Each agent publishes a capability card under _polis/citizens/. Work is opened as a contract with required_tags, not assigned to a fixed role.

Show full SKILL.md (274 more words)Show less
Step 3: Route by track record
bash
polis route --polis-root _polis \
  --contract _polis/contracts/open/your-task.md --explain

The router prints a score breakdown (history / self-rating / cost / availability / applied lessons) and recommends the citizen with the strongest record on the task's tags. Agents can also reserve files (polis reserve src/auth --as <citizen>) so two agents never edit the same path at once — overlapping claims are rejected with the holder named.

Step 4: Settle, learn, and amend
bash
polis contract settle <contract-id> --quality 5
polis reconcile --polis-root _polis

A settled contract files a lesson; accepted lessons carry a bounded routing_effect the router reads — and names in --explain — on the next similar task. Failures become guardrails (polis guardrail add …) that future contracts on those tags inherit as must-pass acceptance criteria. When a rule stops working, a citizen proposes an amendment and the others vote. Reproduce the learning claim yourself: polis bench --mode learning.

Examples

Example 1: See the team learn (no install, 30 seconds)
bash
git clone https://github.com/yehudalevy-collab/polis-protocol.git
cd polis-protocol
git checkout <reviewed-commit-sha>
bash scripts/demo.sh

The router recommends Gemini for a Spanish-translation contract — because settled work taught it she has the best record on that tag, not because anyone reassigned it.

Example 2: Explain any routing decision
bash
python3 scripts/route_contract.py --polis-root examples/research-team/_polis \
  --contract examples/research-team/_polis/contracts/open/parent-newsletter-issue-3.md --explain

Notes

Limitations

  • Routing quality depends on accurate citizen capability cards and enough settled work history to learn from.
  • The protocol coordinates agent work but does not replace review, tests, or explicit maintainer approval.
  • Multi-agent voting and amendments can add process overhead for small, single-owner tasks.
  • The upstream scripts are external code; pin to a reviewed commit and run --dry-run before allowing writes to a project.

© sickn33, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/polis-protocol of sickn33/agentic-awesome-skills.

Open the folder on GitHubat commit ec02547

Used in 1 other repository

We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in sickn33/agentic-awesome-skills, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Polis Protocol next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Polis Protocol compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Polis Protocol this skillsickn33/agentic-awesome-skills47k1 repos~1.4kAutomated safety check: PassMIT
Vendor Managementalirezarezvani/claude-skills28k—~2.8kAutomated safety check: PassMIT
React Vendoringvercel/next.js143k—~987Automated safety check: PassMIT
Agent Consensus Coordinatorruvnet/ruflo74k3 repos~3.2kAutomated safety check: PassMIT
Agent Mesh Coordinatorruvnet/ruflo74k3 repos~3.2kAutomated safety check: PassMIT
Agent Queen Coordinatorruvnet/ruflo74k3 repos~1.3kAutomated safety check: PassMIT

Similar skills

  • Vendor Management

    alirezarezvani/claude-skills

    A skill your agent uses when reviewing, scoring, or auditing third-party SaaS / vendor relationships — running a vendor scorecard with industry tuning, tracking SLA compliance with credit-claim…

    28k GitHub stars~2.8k tokensUpdated 1 mo ago
    Business, Finance & HRAuto-check passed
  • React Vendoring

    vercel/next.js

    Official

    React vendoring and react-server layer boundaries. An agent skill from vercel/next.js.

    143k GitHub stars~987 tokensUpdated today
    DevelopmentAuto-check passed
  • Agent skill for consensus-coordinator - invoke with $agent-consensus-coordinator

    74k GitHub starsUsed in 3 repos~3.2k tokens
    Agent WorkflowsAuto-check passed
  • Agent skill for mesh-coordinator - invoke with $agent-mesh-coordinator

    74k GitHub starsUsed in 3 repos~3.2k tokens
    Agent WorkflowsAuto-check passed
  • Agent skill for queen-coordinator - invoke with $agent-queen-coordinator

    74k GitHub starsUsed in 3 repos~1.3k tokens
    Auto-check passed
  • Agent skill for adaptive-coordinator - invoke with $agent-adaptive-coordinator

    74k GitHub starsUsed in 2 repos~4k tokens
    Data & AnalyticsAuto-check passed

More from sickn33/agentic-awesome-skills

All 1,354 skills in this repo
  • Liuguang Banlan UI

    sickn33/agentic-awesome-skills

    Implements an interface in one of two named color modes, iridescent white or colorful black, from a parameterized starter that reports measured color intensity.

    47k GitHub starsUsed in 1 repo~2.5k tokens
    Auto-check passed
  • User Thoughts Memory

    sickn33/agentic-awesome-skills

    Saves a user's project decisions, rules and preferences into a project-local mdbase so later sessions and other agents can recover the intent.

    47k GitHub starsUsed in 1 repo~2.5k tokens
    Auto-check passed
  • Using LWC Memory and Graphs

    sickn33/agentic-awesome-skills

    Keeps project decisions, research and verified results available across coding-agent sessions through LWC memory, a document Wiki graph and a CodeGraph code index.

    47k GitHub starsUsed in 1 repo~2k tokens
    Auto-check passed
  • Find Complementary Founders

    sickn33/agentic-awesome-skills

    Guides an agent through assessing its own owner for cofounder fit, publishing an approved profile, and ranking complementary profiles other agents published for their owners.

    47k GitHub starsUsed in 1 repo~4.8k tokens
    Auto-check passed
  • Cline Pilot

    sickn33/agentic-awesome-skills

    Acts as a proxy for the Cline CLI, dispatching coding tasks one at a time, monitoring runs by hard evidence, relaying decisions to you and learning per-project preferences.

    47k GitHub starsUsed in 1 repo~4.6k tokens
    Auto-check passed
  • Content Creator

    sickn33/agentic-awesome-skills

    Drafts and reviews audience-specific content from supplied brand examples, with local scripts for brand voice and SEO diagnostics, channel templates and a content calendar.

    47k GitHub starsUsed in 1 repo~2.5k tokens
    Auto-check passed

Questions about Polis Protocol

What does Polis Protocol do?

Coordinate multi-vendor AI agents as a self-improving team — a learning router assigns work by track record and citizens can amend the protocol's own rules. Polis Protocol is an agent skill from sickn33/agentic-awesome-skills. Coordinate multi-vendor AI agents as a self-improving team — a learning router assigns work by track record and citizens can amend the protocol's own rules.

How do I install Polis Protocol in Claude Code?

Run `npx skills add sickn33/agentic-awesome-skills --skill polis-protocol -a claude-code`. Or copy the skill folder (skills/polis-protocol in sickn33/agentic-awesome-skills) into .claude/skills/polis-protocol in your project. Claude Code loads it when a task matches its description.

How do I install Polis Protocol in Codex?

Run `npx skills add sickn33/agentic-awesome-skills --skill polis-protocol -a codex`. Or copy the skill folder (skills/polis-protocol in sickn33/agentic-awesome-skills) into .agents/skills/polis-protocol in your project. Codex loads it when a task matches its description.

Can I use Polis Protocol in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add sickn33/agentic-awesome-skills --skill polis-protocol -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/polis-protocol, .gemini/skills/polis-protocol, .github/skills/polis-protocol and .opencode/skills/polis-protocol in your project.

What does Polis Protocol need to run?

Going by SKILL.md and its folder, Polis Protocol needs the command-line tools its instructions call (git, python3, bash and pipx). Our summary lists: Python 3.

Does Polis Protocol access the network?

SKILL.md names 1 domain. In commands or code: github.com; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.

Is Polis Protocol safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Polis Protocol use?

Polis Protocol is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Polis Protocol use?

About 1.4k tokens (SKILL.md is roughly 5.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Polis Protocol?

Skills that share tags, products or a category with Polis Protocol: Vendor Management (alirezarezvani/claude-skills, 28k stars), React Vendoring (vercel/next.js, 143k stars), Agent Consensus Coordinator (ruvnet/ruflo, 74k stars) and Agent Mesh Coordinator (ruvnet/ruflo, 74k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Polis Protocol?

sickn33 (a GitHub user) maintains it in sickn33/agentic-awesome-skills, which has 47,343 GitHub stars. The repository holds 1,354 skills in this directory. The repository was last updated on October 7, 2026.

Source: sickn33/agentic-awesome-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.