Skip to content
Development
Skill

/agents-md-protocol

Create or review an AGENTS.md file so coding agents get stable repo-local instructions: environment setup, testing, style, security boundaries, PR policy, and handoff rules. Use when a repo lacks durable agent guidance or when a custom harness needs a predictable context file.

From plugin
ctx
58916 skills3 agents2 hooks

Claude Code

$ npx -y skills add stevesolun/ctx --skill agents-md-protocol --agent claude-code

SKILL.md

agents-md-protocol.SKILL.md
name: agents-md-protocol
description: >
  Create or review an AGENTS.md file so coding agents get stable repo-local
  instructions: environment setup, testing, style, security boundaries, PR
  policy, and handoff rules. Use when a repo lacks durable agent guidance or
  when a custom harness needs a predictable context file.

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.

Recommended Sections

  • `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.

Read more
@stevesolun
Ships withctx

Find the cheapest AI coding setup that actually works on your repo. CTX Fit analyzes your repository, tests promising AI coding configurations against real tasks in it, and produces the winning configuration as a reviewable change — in your working tree with

58916 skills3 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
589
Star history of stevesolun/ctx on GitHub, a chart by star-history.com

Other skills on ctx.

ctx-dispatch

ctx-dispatch

Coordinate nontrivial work in the ctx repository when a task has independent investigation, implementation, or test lanes;…

@stevesolun@stevesolunInstall Skill
ctx-verify

ctx-verify

Select proportional validation for changes or reviews in the ctx repository. Use before handing off material code, workflow,…

@stevesolun@stevesolunInstall Skill
cavecrew

cavecrew

Decision guide for delegating to caveman-style subagents. Tells the main thread WHEN to spawn `cavecrew-investigator` (locate…

@stevesolun@stevesolunInstall Skill
caveman-commit

caveman-commit

Ultra-compressed commit message generator. Cuts noise from commit messages while preserving intent and reasoning. Conventional…

@stevesolun@stevesolunInstall Skill
caveman-compress

caveman-compress

Compress natural language memory files (CLAUDE.md, todos, preferences) into caveman format to save input tokens. Preserves all…

@stevesolun@stevesolunInstall Skill
caveman-help

caveman-help

Quick-reference card for all caveman modes, skills, and commands. One-shot display, not a persistent mode. Trigger:…

@stevesolun@stevesolunInstall Skill

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills11d309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc12d293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react1d252k
@facebook@facebookInstall Skill

Questions about agents-md-protocol.

Which coding agents can use agents-md-protocol?
agents-md-protocol installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.