agents-md-protocol

agents-md-protocol is a skill for Claude Code, Codex from stevesolun/ctx. It costs 59 tokens per session (383 once invoked), scanned A, original, MIT.

A guide for creating or reviewing an AGENTS.md file, which stores lasting instructions for coding agents inside a code repository.

In plain words
What is it for?
Use it to document environment setup, test and build commands, coding rules, security limits, pull-request expectations, and handoff steps.
Why use it?
It prevents agents from repeatedly guessing how to set up, test, review, and safely change the project. It also keeps instructions consistent across sessions and team members.

Skill for Claude CodeCodex

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

Good fit Use it to document environment setup, test and build commands, coding rules, security limits, pull-request expectations, and handoff steps.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/stevesolun/ctx/agents-md-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 stevesolun/ctx --skill agents-md-protocol
Clone the repo
git clone --depth 1 https://github.com/stevesolun/ctx

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 agents-md-protocol

README.md
[![agentmods](https://agentmods.dev/badge/skills/stevesolun/ctx/agents-md-protocol/github.svg)](https://agentmods.dev/skills/stevesolun/ctx/agents-md-protocol)
Your own site
<a href="https://agentmods.dev/skills/stevesolun/ctx/agents-md-protocol"><img src="https://agentmods.dev/badge/skills/stevesolun/ctx/agents-md-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 agents-md-protocol

Your own site · 80×15
<a href="https://agentmods.dev/skills/stevesolun/ctx/agents-md-protocol"><img src="https://agentmods.dev/badge/skills/stevesolun/ctx/agents-md-protocol.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 59 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 383 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.00059 $0.00383
Opus 5.5 $0.00024 $0.00153
Sonnet 5.5 $0.00012 $0.00077
Haiku 4.5 $0.00006 $0.00038

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

Security

Grade A, and why

agents-md-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 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.

imported-skills/agents-md/skills/agents-md-protocol/SKILL.md · 55 lines

What it actually says

AGENTS.md Protocol

Purpose

Create or tighten a repository-level AGENTS.md contract for coding agents. Treat it as durable operating context, not a chat prompt.

When to Use

  • Repo has no AGENTS.md, CLAUDE.md, or equivalent agent instructions.
  • Existing instructions are stale, vague, or missing test commands.
  • A custom/API/local harness needs stable context it can load every run.
  • A multi-agent workflow needs explicit handoff and review rules.

Procedure

  1. Inspect repo layout, package managers, CI files, and test commands.
  2. Capture only durable facts and team rules.
  3. Keep commands exact and runnable from the documented directory.
  4. Add security and destructive-operation boundaries.
  5. Add PR/review expectations and required verification.
  6. Keep the file short enough to load every session.
  • Dev environment tips
  • Testing instructions
  • Build and lint
  • Code style
  • Security boundaries
  • PR instructions
  • Agent handoff notes

Quality Bar

  • Every command has a working directory or clear scope.
  • No secrets, tokens, or private URLs.
  • No vague rules such as "be careful" without a concrete check.
  • No roadmap or marketing text.
  • Instructions match current CI and package metadata.

Harness Attachment

For non-Claude-Code harnesses, load AGENTS.md as outer-loop project context. The harness should also keep explicit task state outside conversation history.

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 · 55 lines · 59 tokens per session scan A a75b8733d1c2

Subscribe to this mod's changes

agents-md-protocol is a skill published in the GitHub repository stevesolun/ctx (593 stars, last pushed 1mo ago), licensed MIT. It adds 59 tokens to every session and 383 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

agents-md-protocol compared with skills from other repositories

agents-md-protocol next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
agents-md-protocolstevesolun/ctxSkill5931mo agoMITA59Claude Code, Codex
fork-fleetaeonfun/aeonSkill800yesterdayMITA45Claude Code, Codex
shiplogaeonfun/aeonSkill800yesterdayMITA46Claude Code, Codex
pack-submitaeonfun/aeonSkill800yesterdayMITA27Claude Code, Codex
token-pickaeonfun/aeonSkill800yesterdayMITA25Claude Code, Codex
autoresearchaeonfun/aeonSkill800yesterdayMITA19Claude Code, Codex
taskmarket-delegateaeonfun/aeonSkill800yesterdayMITA47Claude Code, Codex