Agent skill

Agents Md Protocol

by stevesolun in stevesolun/ctx

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.

MITAuto-check passedAgent Workflows

Install Agents Md Protocol

skills CLI
$ npx skills add stevesolun/ctx --skill agents-md-protocol -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install stevesolun/ctx agents-md-protocol --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/stevesolun/ctx.git skills-src && mkdir -p .claude/skills && cp -r skills-src/imported-skills/agents-md/skills/agents-md-protocol .claude/skills/agents-md-protocol && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
agents-md-protocol
GitHub stars
588
Token cost
~447 tokens
SKILL.md length
198 words
Files
1
Skills in repo
26
Repo updated
First seen
Licence
MIT

At a glance

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.

  • Works in 6 steps: Inspect repo layout, package managers,… → Capture only durable facts and team rules. → Keep commands exact and runnable from… → …
  • A repo lacks durable agent guidance
  • SKILL.md covers Purpose, When to Use, Procedure and Recommended Sections, plus 2 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Agents Md Protocol is an agent skill from stevesolun/ctx. 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.

Its SKILL.md is about 450 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Agent Workflows, covering Agent instruction files. The repository describes itself as: CTX Fit finds the cheapest AI coding setup that reliably works on your repository, then applies the winner as a reviewable change. The licence is MIT.

When your agent uses it

  • A repo lacks durable agent guidance
  • A custom harness needs a predictable context file

Example prompts

  • “/agents-md-protocol”

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  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.

What it can do on your machine

Read from SKILL.md and the folder at commit 11b582a. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Agents Md Protocol loads about 447 tokens when it runs. Until then it costs about 74 tokens; SKILL.md has 198 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~74
When it runs · the whole SKILL.md, loaded when a task matches
~447

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from stevesolun/ctx at commit 11b582a, republished under its MIT licence (© stevesolun). 198 words, ~447 tokens.

Download SKILL.mdSave it as .claude/skills/agents-md-protocol/SKILL.md (or your agent's skills folder).
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.
  • 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.

© stevesolun, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in imported-skills/agents-md/skills/agents-md-protocol of stevesolun/ctx.

Open the folder on GitHubat commit 11b582a

Compare with similar skills

Agents Md Protocol next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Agents Md Protocol compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Agents Md Protocol this skillstevesolun/ctx588—~447Automated safety check: PassMIT
Using Agent Skillsaddyosmani/agent-skills103k4 repos~2.4kAutomated safety check: PassMIT
Claude ReflectBayramAnnakov/claude-reflect1.7k2 repos~627Automated safety check: PassMIT
Writing For Agentsbestofjs/bestofjs3.1k19 repos~2.7kAutomated safety check: PassMIT
Neat-Freak Knowledge CloseoutKKKKhazix/khazix-skills21k—~1.9kAutomated safety check: PassMIT
Task Observerrebelytics/one-skill-to-rule-them-all3.2k1 repos~12kAutomated safety check: PassCC-BY-4.0

Similar skills

  • Using Agent Skills

    addyosmani/agent-skills

    Meta-skill for choosing which workflow skill fits the task at hand, plus always-on habits: surface assumptions, stop on confusion, push back, keep it simple and stay in scope.

    103k GitHub starsUsed in 4 repos~2.4k tokens
    Agent WorkflowsAuto-check passed
  • Claude Reflect

    BayramAnnakov/claude-reflect

    Self-learning system that captures corrections during sessions and reminds users to run /reflect to update CLAUDE.md.

    1.7k GitHub starsUsed in 2 repos~627 tokens
    Agent WorkflowsAuto-check passed
  • Writing For Agents

    bestofjs/bestofjs

    Writing documents for agents. An agent skill from bestofjs/bestofjs.

    3.1k GitHub starsUsed in 19 repos~2.7k tokens
    Agent WorkflowsAuto-check passed
  • Neat-Freak Knowledge Closeout

    KKKKhazix/khazix-skills

    Brings project docs, agent rule files, authorized memory and leftover workspace files back in line with what the code and runtime actually do at the end of a work session.

    21k GitHub stars~1.9k tokensUpdated 6 days ago
    Agent WorkflowsAuto-check passed
  • Task Observer

    rebelytics/one-skill-to-rule-them-all

    Monitors task execution for skill improvement opportunities.

    3.2k GitHub starsUsed in 1 repo~12k tokens
    Agent WorkflowsAuto-check passed
  • SkillOpt Sleep Cycle

    microsoft/SkillOpt

    Official

    Runs an on-demand or nightly sleep cycle that reviews past Claude Code sessions and proposes validated updates to CLAUDE.md and skills.

    18k GitHub stars~2.3k tokensUpdated yesterday
    Agent WorkflowsAuto-check passed

More from stevesolun/ctx

All 26 skills in this repo
  • Diagnosing Bugs

    stevesolun/ctx

    Diagnose hard bugs and performance regressions with reproducible evidence, focused hypotheses, and proportional instrumentation.

    588 GitHub stars~596 tokensUpdated 4 days ago
    Auto-check passed
  • Repo Stats Autoupdate

    stevesolun/ctx

    Keeps README badge + inline counts in sync with the real number of skills, agents, graph nodes/edges, communities, converted pipelines, and test inventory.

    588 GitHub stars~724 tokensUpdated 4 days ago
    Auto-check passed
  • Code Review

    stevesolun/ctx

    Review a Git diff against repository standards and its originating requirements.

    588 GitHub stars~466 tokensUpdated 4 days ago
    Auto-check passed
  • No Mistakes

    stevesolun/ctx

    Validate committed feature-branch changes through the no-mistakes pipeline: intent, rebase, review, test, docs, lint, push, PR, and CI.

    588 GitHub stars~458 tokensUpdated 4 days ago
    Auto-check passed
  • Skill Router

    stevesolun/ctx

    Repo-aware recommendation manager for ctx. An agent skill from stevesolun/ctx.

    588 GitHub stars~2.4k tokensUpdated 4 days ago
    Auto-check passed
  • Codebase Design

    stevesolun/ctx

    Design or improve module interfaces using deep-module heuristics.

    588 GitHub stars~662 tokensUpdated 4 days ago
    Auto-check passed

Categories

Questions about Agents Md Protocol

What does Agents Md Protocol do?

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. Agents Md Protocol is an agent skill from stevesolun/ctx.md file so coding agents get stable repo-local instructions: environment setup, testing, style, security boundaries, PR policy, and handoff rules.

When should I use Agents Md Protocol?

Agents Md Protocol fits situations like: A repo lacks durable agent guidance; A custom harness needs a predictable context file.

How do I install Agents Md Protocol in Claude Code?

Run `npx skills add stevesolun/ctx --skill agents-md-protocol -a claude-code`. Or copy the skill folder (imported-skills/agents-md/skills/agents-md-protocol in stevesolun/ctx) into .claude/skills/agents-md-protocol in your project. Claude Code loads it when a task matches its description.

How do I install Agents Md Protocol in Codex?

Run `npx skills add stevesolun/ctx --skill agents-md-protocol -a codex`. Or copy the skill folder (imported-skills/agents-md/skills/agents-md-protocol in stevesolun/ctx) into .agents/skills/agents-md-protocol in your project. Codex loads it when a task matches its description.

Can I use Agents Md Protocol in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add stevesolun/ctx --skill agents-md-protocol -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/agents-md-protocol, .gemini/skills/agents-md-protocol, .github/skills/agents-md-protocol and .opencode/skills/agents-md-protocol in your project.

What does Agents Md Protocol need to run?

SKILL.md names no scripts, command-line tools or credentials: Agents Md Protocol is instructions for the agent only.

Does Agents Md Protocol access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Agents Md Protocol safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Agents Md Protocol use?

Agents Md Protocol is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Agents Md Protocol use?

About 447 tokens (SKILL.md is roughly 1.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Agents Md Protocol?

Skills that share tags, products or a category with Agents Md Protocol: Using Agent Skills (addyosmani/agent-skills, 103k stars), Claude Reflect (BayramAnnakov/claude-reflect, 1.7k stars), Writing For Agents (bestofjs/bestofjs, 3.1k stars) and Neat-Freak Knowledge Closeout (KKKKhazix/khazix-skills, 21k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Agents Md Protocol?

stevesolun (a GitHub user) maintains it in stevesolun/ctx, which has 588 GitHub stars. The repository holds 26 skills in this directory. The repository was last updated on October 4, 2026.

Source: stevesolun/ctx on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.