/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.
$ npx -y skills add stevesolun/ctx --skill agents-md-protocol --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
- You can call itInvoke it directly when you want it.
- Slash command
/agents-md-protocol
Context preview
The summary Claude sees to decide when to auto-load this skill.
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.
SKILL.md
agents-md-protocol.SKILL.mdname: 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
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.
ctx is a Python CLI and library that recommends a small, relevant set of skills, agents, and MCP servers for a repository or task. It can use your organization's local/private knowledge or the shipped graph.
Repo: stevesolun/ctx
Other skills on stevesolun-ctx.
- /ctx-dispatch
Coordinate nontrivial work in the ctx repository when a task has independent investigation, implementation, or test lanes; compute-heavy checks; or repetitive changes suited to scripts or codemods. Use for decomposition and concurrency decisions, not simple edits or questions.
Open skill - /ctx-verify
Select proportional validation for changes or reviews in the ctx repository. Use before handing off material code, workflow, migration, documentation, security, packaging, or release changes; before a PR; or when asked whether a change is adequately tested. Do not use for pure
Open skill - /cavecrew
Decision guide for delegating to caveman-style subagents. Tells the main thread WHEN to spawn `cavecrew-investigator` (locate code), `cavecrew-builder` (1-2 file edit), or `cavecrew-reviewer` (diff review) instead of doing the work inline or using vanilla `Explore`. Subagent
Open skill - /caveman-commit
Ultra-compressed commit message generator. Cuts noise from commit messages while preserving intent and reasoning. Conventional Commits format. Subject ≤50 chars, body only when "why" isn't obvious. Use when user says "write a commit", "commit message", "generate commit",
Open skill - /caveman-compress
Compress natural language memory files (CLAUDE.md, todos, preferences) into caveman format to save input tokens. Preserves all technical substance, code, URLs, and structure. Compressed version overwrites the original file. Human-readable backup saved as FILE.original.md.
Open skill - /caveman-help
Quick-reference card for all caveman modes, skills, and commands. One-shot display, not a persistent mode. Trigger: /caveman-help, "caveman help", "what caveman commands", "how do I use caveman".
Open skill

