agent-protocols

agent-protocols is a skill for Claude Code, Codex from irahardianto/awesome-agv. It costs 56 tokens per session (1,552 once invoked), scanned A, original, MIT.

A shared set of working rules for teams of coding agents. It explains how agents split work, restate requests, create smaller sub-agents, report progress, and hand results back.

In plain words
What is it for?
Use it to organise nested agent work, parallel assignments, completion reports, handoffs, and scope limits.
Why use it?
It helps multiple agents coordinate consistently when a task is too large or needs several kinds of expertise.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents; installed under .agents/ (shared by several agents).

Good fit Use it to organise nested agent work, parallel assignments, completion reports, handoffs, and scope limits.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/irahardianto/awesome-agv/agent-protocols
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 irahardianto/awesome-agv --skill agent-protocols
Clone the repo
git clone --depth 1 https://github.com/irahardianto/awesome-agv

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-protocols

README.md
[![agentmods](https://agentmods.dev/badge/skills/irahardianto/awesome-agv/agent-protocols/github.svg)](https://agentmods.dev/skills/irahardianto/awesome-agv/agent-protocols)
Your own site
<a href="https://agentmods.dev/skills/irahardianto/awesome-agv/agent-protocols"><img src="https://agentmods.dev/badge/skills/irahardianto/awesome-agv/agent-protocols/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-protocols

Your own site · 80×15
<a href="https://agentmods.dev/skills/irahardianto/awesome-agv/agent-protocols"><img src="https://agentmods.dev/badge/skills/irahardianto/awesome-agv/agent-protocols.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 56 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,552 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.00056 $0.01552
Opus 5.5 $0.00022 $0.00621
Sonnet 5.5 $0.00011 $0.00310
Haiku 4.5 $0.00006 $0.00155

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

Security

Grade A, and why

agent-protocols 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 3mo 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.

.agents/skills/agent-protocols/SKILL.md · 116 lines

How it starts

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

Agent Protocols

Shared behavioral protocols for all agents in the workflow-team pipeline.

1. Recursive Nesting Protocol

When your scope card is too broad for a single context:

  1. Further decompose using parallel-dispatch skill (§1 Decomposition, §5 Hierarchical Decomposition)
  2. Spawn sub-agents with narrower scope cards using TypeName="self" with dedicated Role designations (see §3 Agent Spawn Protocol)
  3. Your scope becomes the ceiling — children cannot operate outside it
  4. Track sub-agent progress; merge results when all complete
  5. Write .agentwork/handoff.md for your parent coordinator

Triggers for nesting:

  • Task edits >3 unrelated files
  • Scope card contains >2 features
  • Context approaching 50% capacity
  • Secondary expertise needed (delegate to specialist)

2. Pre-Implementation Restatement

Before writing code, restate in your own words:

  1. What the .agentwork/brief.md / scope card asks you to build
  2. What files you will create or modify
  3. What assumptions you are making

If any assumption is uncertain, document it in your handoff and proceed with the conservative interpretation.

3. Agent Spawn Protocol (Universal TypeName="self" Pattern)

In the Antigravity subagent platform, TypeName="self" is the universal spawn mechanism that ensures subagents inherit their parent's full tool capabilities (file modification, command execution, and subagent dispatch for multi-tier nesting). Discovered named types default to read-only tool sets.

When spawning ANY agent type with a role file in .agents/agents/:

  1. Always use TypeName="self" in invoke_subagent calls. This guarantees the subagent inherits write, execution, and subagent tools from the parent.
  2. Differentiate roles via the Role field (e.g., Role: "Tech-Lead (Auth API)", Role: "Backend Engineer (Payments)", Role: "Test Automation Engineer").
  3. Reference the role file in the system prompt — never paraphrase:
    "Your role, domain, skills, boundaries, and protocols are defined in
     file://{workspace}/.agents/agents/{agent-type}.md.
    Read this file FIRST before beginning any work."
    
  4. The child agent MUST read the role file as its first action. Boundaries, domain rules, and workflow expectations are strictly defined by the role file.
  5. Propagate this protocol recursively — Tech-Leads spawn specialized builders using TypeName="self" with builder role files, enabling deep parallel execution.
  6. Subagent Monitoring & Reactivity: Parents receive automatic notifications when subagents send messages. Wait reactively or use manage_subagents to list active subagents. Do NOT use manage_task (which is exclusively for background commands/processes) for subagent lifecycle operations.

Read the full file on GitHub · 116 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. 3mo ago First seen · 116 lines · 56 tokens per session scan A 538a4e35fb82

Subscribe to this mod's changes

agent-protocols is a skill published in the GitHub repository irahardianto/awesome-agv (163 stars, last pushed 1mo ago), licensed MIT. It adds 56 tokens to every session and 1,552 once invoked, about $0.0002 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-protocols compared with skills from other repositories

agent-protocols next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
agent-protocolsirahardianto/awesome-agvSkill1631mo agoMITA56Claude Code, Codex
android-finance-specbrycegao/android-finance-specSkill45mo agoMITA48Codex
om-system-extensionopen-mercato/open-mercatoSkill2.0ktodayMITA73Claude Code, Codex
om-build-workflowopen-mercato/open-mercatoSkill2.0ktodayMITA63Claude Code, Codex
om-evolve-harnessopen-mercato/open-mercatoSkill2.0ktodayMITA66Claude Code, Codex
om-troubleshooteropen-mercato/open-mercatoSkill2.0ktodayMITA73Claude Code, Codex
brainstorm-featureHoangNguyen0403/agent-skills-standardSkill598todayMITA46Codex