media

media is a skill for Claude Code, Codex from ymxlx/polis-protocol. It costs 0 tokens per session (3,728 once invoked), scanned A, a copy of polis-protocol, MIT.

A protocol for coordinating several AI agents as a shared team through Markdown files. It gives agents identities and capability cards, routes tasks as contracts, records lessons, and allows the team rules to change through amendments.

In plain words
What is it for?
Use it to register agents, route and settle shared tasks, record lessons, hold reviews before important actions, and manage changes to the team protocol.
Why use it?
It makes it clear who can do a task, how work is assigned, and what the team learned afterward. Because the records are plain text, agents from different vendors can share them without a central server or required runtime.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/ymxlx/polis-protocol/media
Any agent
npx skills add ymxlx/polis-protocol --skill media
Clone the repo
git clone --depth 1 https://github.com/ymxlx/polis-protocol

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for media

README.md
[![agentmods](https://agentmods.dev/badge/skills/ymxlx/polis-protocol/media.svg)](https://agentmods.dev/skills/ymxlx/polis-protocol/media)
Your own site
<a href="https://agentmods.dev/skills/ymxlx/polis-protocol/media"><img src="https://agentmods.dev/badge/skills/ymxlx/polis-protocol/media.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,728 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.03728
Opus 5 $0.00000 $0.01864
Sonnet 5 $0.00000 $0.00746
Haiku 4.5 $0.00000 $0.00373

Measured 5d ago against content hash d2e5dcb65906, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

media scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

The scan reads SKILL.md. This mod also ships 19 executable files (init_polis.py, polis/__init__.py, polis/_io.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

100% identical to polis-protocol — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

editors/antigravity/media/SKILL.md · 154 lines

How it starts

The opening of the file, as written. The whole thing — 154 lines — stays where its author put it; the contents beside it link to each section on GitHub.


name: polis-protocol description: Set up and run a self-improving, multi-vendor AI agent team with the Polis Protocol — a markdown _polis/ folder where each agent is a citizen with a capability card, tasks are contracts routed to whoever has the best track record by a learning router, settled work files lessons that compound into team memory, and citizens can amend the protocol itself. Use whenever several AI agents (any vendor) share one project and "who should do this" is a real question: founding a polis, registering as a citizen, opening/claiming/settling a contract, filing a lesson, running a chavruta review before a high-stakes action, proposing or voting on an amendment, troubleshooting a stalled contract or router pathology, or migrating from agent-vault to add routing. Also triggers on "_polis", "polis", "capability card", "task contract", "chronicle.md", "chavruta", "bandit routing", "agent routing", "cross-vendor coordination", "CONSTITUTION.md" — even when the protocol is not named. For pure note-passing without routing, prefer agent-vault.

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.

Read the full file on GitHub · 154 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 154 lines · 0 tokens per session scan A d2e5dcb65906

Subscribe to this mod's changes

media is a skill published in the GitHub repository ymxlx/polis-protocol (5 stars, last pushed 2d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 3,728 tokens. A static security scan graded it A with 0 findings. It is 100% identical to polis-protocol, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories

pandic-office

Convert Markdown to PDF (or DOCX/EPUB/HTML) using the pandoc CLI. Use when asked to produce a PDF report, brief, summary, or any document where the input is Markdown and the output should be a polished, paginated file.

Team-Commonly/commonly · 59 tokens

audit-onboarding-proposal

Independently audit a brownfield onboarding transcript, operational map, or exact proposed documentation patch before application. Use when a fresh reviewer must verify an $onboard-repository first pass, distinguish environment-caused Unknowns from reasoning defects, score its safety and evidence gates, or run a…

hoangnb24/repository-harness · 104 tokens

engineering-wisdom

Provide an explicitly requested, repository-grounded engineering review using contextual heuristics for code clarity, SOLID and design, testing, refactoring, architecture, and professional practice. Use only when the user invokes $engineering-wisdom or explicitly asks for this installed engineering-wisdom pack; do not…

hoangnb24/repository-harness · 78 tokens

proxmox-full

Complete Proxmox VE hypervisor management via REST API - VMs, containers, snapshots, backups, storage.

marcusquinn/aidevops · 27 tokens

red-team-adversarial

Adversarial security and resilience analysis — auto-triggered during /review and /test based on task classification. Provides attack surface analysis, boundary testing, auth bypass attempts, dependency chain attacks, and Beast Mode stress testing.

KbWen/agentic-os · 50 tokens

marketing-copy

Write outbound promotional copy for a product or project: launch and update posts for community platforms and social media, store page descriptions and short blurbs, landing page headlines and calls to action, press-style announcements, and the naming of a product for another language or market. Covers what may be…

scarletkc/agents · 121 tokens