agent-protocol

agent-protocol is a skill for Claude Code, Codex from myths-labs/muse. It costs 25 tokens per session (2,014 once invoked), scanned A, original, MIT.

A specification for turning MUSE Markdown role files into machine-readable Agent Protocol files. It defines how agents can discover roles and share context across agents and tools.

In plain words
What is it for?
Defining role files, handing work from one agent to another, coordinating multiple agents, and allowing tools to read or write those files.
Why use it?
It helps preserve role boundaries and portable context when multiple agents, MCP servers, or development tools work on the same project.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions CLAUDE.md.

Good fit Defining role files, handing work from one agent to another, coordinating multiple agents, and allowing tools to read or write those files.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/myths-labs/muse/agent-protocol
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.

Any agent
npx skills add myths-labs/muse --skill agent-protocol
Clone the repo
git clone --depth 1 https://github.com/myths-labs/muse

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 agent-protocol

README.md
[![agentmods](https://agentmods.dev/badge/skills/myths-labs/muse/agent-protocol/github.svg)](https://agentmods.dev/skills/myths-labs/muse/agent-protocol)
Your own site
<a href="https://agentmods.dev/skills/myths-labs/muse/agent-protocol"><img src="https://agentmods.dev/badge/skills/myths-labs/muse/agent-protocol/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for agent-protocol

Your own site · 80×15
<a href="https://agentmods.dev/skills/myths-labs/muse/agent-protocol"><img src="https://agentmods.dev/badge/skills/myths-labs/muse/agent-protocol.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 25 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,014 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found 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.00025 $0.02014
Opus 5.5 $0.00010 $0.00806
Sonnet 5.5 $0.00005 $0.00403
Haiku 4.5 $0.00003 $0.00201

Measured 2mo ago against content hash 1a159380570b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

agent-protocol 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 2mo ago.

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.

skills/core/agent-protocol/SKILL.md · 214 lines

How it starts

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

Agent Protocol Specification

Inspired by MemOS (multi-agent isolation + sharing) and multi-agent-memory (cross-agent persistence). Adapted for MUSE's Markdown role records. Added in v2.12.0 (Batch 2 — competitive tech absorption).

Why

MUSE role files (.muse/*.md) currently work because AI Agents read Markdown and follow instructions. But as the ecosystem evolves toward multi-agent workflows (MCP servers, Claude Projects, multi-tool chains), role files need a machine-readable protocol — not just human-readable documents.

Problems this solves:

  1. Agent handoff: When switching between Agents (e.g., Claude → Gemini), context should be portable
  2. Multi-agent coordination: Multiple Agents working on the same project should respect role boundaries
  3. Tool interoperability: MCP servers, IDE plugins, and CLI tools should be able to read/write role files

Protocol: MUSE Role File Spec v1.0

File Discovery

.muse/
├── strategy.md    # Strategy role
├── build.md       # Build/Dev role
├── growth.md      # Growth/Marketing role
├── qa.md          # QA/Verification role
├── gm.md          # General Manager role
├── ops.md         # Operations role
├── research.md    # Research role
├── fundraise.md   # Fundraise role
└── archive/       # Archived content (not loaded)

Discovery rule: Any .md file in .muse/ (excluding archive/) = a role file.

L0 Header (Machine-Readable Status Line)

Every role file MUST have an L0 comment as its first line:

<!-- L0: {version} | {top_priority} | {status_flags} -->

Parsed fields:

Field Type Description Example
version semver Current project version v2.11.0
top_priority string Most important current task P0=竞品技术吸收Batch2
status_flags csv Comma-separated status indicators QA PASS, 3 pending directives

L0 is the Agent's "at a glance" API — any tool can grep all L0 lines to get project status in ~400 tokens.

Read the full file on GitHub · 214 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. 2mo ago Changed 1a159380570b
  2. 3mo ago First seen · 214 lines · 25 tokens per session scan A 63f3905a5ec2

Subscribe to this mod's changes

agent-protocol is a skill published in the GitHub repository myths-labs/muse (39 stars, last pushed 24d ago), licensed MIT. It adds 25 tokens to every session and 2,014 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

agent-protocol compared with skills from other repositories

agent-protocol next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
agent-protocolmyths-labs/museSkill3924d agoMITA25Claude Code, Codex
mex-statechartmex-memory/mexSkill1.8kyesterdayMITA73Codex
contextstream-coachcontextstream/mcp-serverSkill49todayMITA103Claude Code, Codex
agent-coachcontextstream/mcp-serverSkill49todayMITA106Claude Code, Codex
engramPatdolitse/piia-engramSkill1663d agoAGPL-3.0A175Claude Code
context-receiptscaioribeiroclw-pixel/pluribusSkill154mo agoMITA33Claude Code, Codex
evidence-attestationcaioribeiroclw-pixel/pluribusSkill154mo agoMITA32Claude Code, Codex