# agents-md

Drafts, audits, and maintains repository-level AGENTS.md files. Keeps coding agents focused on live project conventions and verified commands.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 1400 installs · ★ 1
- Author: Callicrate
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/Callicrate/skills/tree/HEAD/agents-md/SKILL.md
- Updated: 2026-06-24
- HTML: https://affpapa.org/en/nevibecode/skills/callicrate-agents-md

## What it does

This skill builds scoped behavioral rules for automated assistants directly from repository evidence. It collects active file paths, local execution commands, and common pitfalls, filtering out high-level doc material.

It offers several distinct modes. You can fix minor path drifts with `patch`, draft fresh guidance via `create`, split monorepo files across subdirectories, or run `review` to inspect rules without writing changes. Bundled helper scripts like `analyze_project.py` and `validate_agentsmd.py` handle stack inspection and command checks.

Without a local Python runtime, the built-in validation and analysis scripts will not run. The skill deliberately limits itself to `AGENTS.md` boundaries, avoiding generic README updates or architecture documents.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add Callicrate/skills --skill agents-md -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/agents-md/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/agents-md/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add Callicrate/skills --skill agents-md -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/agents-md/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add Callicrate/skills --skill agents-md -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/agents-md/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install Callicrate/skills agents-md
```

2. **Manually: put the files in place**
- File: `.github/skills/agents-md/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add Callicrate/skills --skill agents-md -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/Callicrate/skills --path agents-md
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/agents-md/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add Callicrate/skills --skill agents-md -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/Callicrate/skills/tree/HEAD/agents-md/SKILL.md

## When to use it
- draft a clean AGENTS.md baseline for an unconfigured repository
- audit existing agent instructions for broken links and invalid commands
- partition monorepo rules into directory-scoped instruction files
- patch specific instruction sections without modifying valid entries

## Example prompts
- Create a minimal AGENTS.md file tailored to our repository structure
- Review the current AGENTS.md and highlight broken commands by risk level
- Update AGENTS.md after moving our test suites to a new directory

## Similar
- [setup-matt-pocock-skills](https://affpapa.org/en/nevibecode/skills/setup-matt-pocock-skills.md) — skill · 1052851 installs
- [ask-matt](https://affpapa.org/en/nevibecode/skills/ask-matt.md) — skill · 766587 installs
- [to-tickets](https://affpapa.org/en/nevibecode/skills/to-tickets.md) — skill · 711230 installs
- [writing-plans](https://affpapa.org/en/nevibecode/skills/writing-plans.md) — skill · 282859 installs
- [caveman-review](https://affpapa.org/en/nevibecode/skills/caveman-review.md) — skill · 411800 installs
- [caveman-compress](https://affpapa.org/en/nevibecode/skills/caveman-compress.md) — skill · 411500 installs

## Other versions with the same name
- [agents-md · getsentry](https://affpapa.org/en/nevibecode/skills/agents-md.md) — 7100 installs
- [agents-md · mblode](https://affpapa.org/en/nevibecode/skills/mblode-agents-md.md) — 803 installs

From the same set: [callicrate/skills](https://affpapa.org/en/nevibecode/by/callicrate/skills.md) — 2 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
