Skip to content
Back to skills

Agents Md Protocol

ASecurity

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.

  • 583 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added May 28, 2026
ai-agentstestingapisecurity

Works with

  • api

Security analysis

A100/100

Scanned May 28, 2026

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

Installs into .claude/skills of the current project.

Are you the author of Agents Md Protocol?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Agents Md Protocol
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/stevesolun-agents-md-protocol/badge)](https://www.skillsdirectory.com/skills/stevesolun-agents-md-protocol)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
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.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.