Skip to content
Agent Orchestration
Skill

/agents-md

Create, revise, or audit AGENTS.md files from repository evidence, verified commands, and correctly scoped instructions without overwriting maintainer intent.

From plugin
sickn33-agentic-awesome-skills-2
49k200 skills

Claude Code

$ npx -y skills add sickn33/agentic-awesome-skills --skill agents-md --agent claude-code

SKILL.md

agents-md.SKILL.md
name: agents-md
description: Create, revise, or audit AGENTS.md files from repository evidence, verified commands, and correctly scoped instructions without overwriting maintainer intent.
category: development
risk: critical
source: community
date_added: "2026-03-06"

Maintain AGENTS.md from repository evidence

Overview

Create or improve agent instructions that help a coding agent change the repository correctly without rediscovering its workflow. Base every repository-specific command, path, and rule on evidence in the current checkout.

Prefer a focused diff over a wholesale rewrite. There is no universal line limit, required section list, symlink layout, or commit-attribution policy; follow the repository's own needs and maintainer intent.

When to Use

  • The user asks to create, update, shorten, or audit `AGENTS.md`.
  • A monorepo needs root instructions plus narrower package-level overrides.
  • Existing agent instructions contain stale commands, duplicated policy, or

unsupported claims.

  • The user wants to reconcile `AGENTS.md` with `CLAUDE.md`,

`.github/copilot-instructions.md`, or other repository instruction files.

Use `@agents-generator` instead when the task specifically calls for its packaged generation modes, assets, or backup workflow. Use this skill when a maintainer-readable, evidence-first edit is the primary goal.

How It Works

1. Preserve existing intent

Before writing, read every instruction file that applies to the target path, including existing `AGENTS.md` files and relevant tool-specific files such as `CLAUDE.md`, `GEMINI.md`, `.github/copilot-instructions.md`, and `.github/instructions/*.instructions.md`.

  • Improve an existing `AGENTS.md` in place when possible.
  • Preserve accurate maintainer-authored rules and repository-specific policy.
  • Do not replace another tool's instruction file with a symlink unless the

user requests it and repository evidence shows identical content is desired.

  • Do not silently choose between conflicting instructions. Follow the

higher-priority applicable rule, or ask when the intended policy cannot be established from the repository.

2. Build a bounded evidence map

Inspect only enough of the repository to establish how work is actually done:

1. Read the project overview and contribution guidance, such as `README*`, `CONTRIBUTING*`, and relevant docs. 2. Read manifests, lockfiles, workspace files, task runners, and build config to identify supported tools and exact commands. 3. Read CI workflows to learn required checks. Do not assume every CI or deployment job is safe or appropriate to run locally. 4. Inspect representative source and test files for naming, layout, and test conventions. 5. Identify generated files, migrations, vendored code, large fixtures, secrets boundaries, and production-only operations.

Prefer `rg --files` and `rg` for discovery when available. Track the source of each non-obvious command or rule so unsupported claims do not enter the final file.

3. Choose the instruction scope

Use the root `AGENTS.md` for repository-wide guidance. Add or revise a nested `AGENTS.md` only when a subtree has materially different commands, architecture, conventions, or safety boundaries.

Keep shared rules at the root and only differences in nested files. For tools that implement the public AGENTS.md convention, apply root/ancestor guidance and narrower subtree instructions according to the target host's precedence. The nearest file does not silently erase unrelated ancestor rules. Do not copy the full root file into every package.

4. Write high-signal guidance

Choose headings that fit the repository instead of forcing a fixed template. Include the following only when supported by evidence:

  • **Repository map:** the few directories and boundaries an agent must know.
  • **Setup and commands:** exact install, development, build, lint, type-check,

and test commands, with the working directory when it is not obvious.

  • **Focused validation:** targeted checks for a small change and broader checks

required before handoff.

  • **Change rules:** generated-file ownership, migrations, schemas, APIs,

dependencies, and cross-package coordination.

  • **Safety boundaries:** secrets, production data, destructive commands,

deployments, and operations that require explicit authorization.

  • **Contribution rules:** repository-specific naming, formatting, commit, or

pull-request requirements that affect implementation or handoff.

Write direct, testable statements. Prefer:

- From the repository root, run `npm test -- path/to/file.test.ts` for a focused test.

over:

- Make sure tests pass and follow best practices.

Link to maintained documentation instead of copying it. Distinguish required checks from optional, slow, privileged, or deployment-only checks.

5. Validate before handoff

1. Re-read each changed `AGENTS.md` completely. 2. Remove contradictions, duplicate rules, placeholders, and stale claims. 3. Confirm every mentioned file and directory exists. 4. Cross-check commands against manifests or CI, and run safe, proportionate checks when useful. 5. If nested files changed, confirm each contains only subtree-specific rules and does not conflict accidentally with the root. 6. Review the diff as a maintainer: every added line should change an agent's decision or prevent a realistic mistake.

Report the files changed, evidence used, checks actually run, and unresolved uncertainty. Never say a command was tested when it was only read from config.

Examples

Create a focused root file

Evidence found:

  • `package-lock.json` selects npm.
  • `package.json` defines `lint`, `typecheck`, and `test` scripts.
  • CI runs those three checks from the repository root.
  • `src/generated/` is produced by `npm run generate`.

A useful result might include:

# Agent instructions

## Commands
- Run commands from the repository
Read more
@sickn33
Ships withsickn33-agentic-awesome-skills-2

Find reusable instructions for your project, inspect their complete files, and keep an exact skill set you can review and reuse.

Stars on GitHub

Momentum

stars in total
48.9k
Star history of sickn33/agentic-awesome-skills on GitHub, a chart by star-history.com

More skills from other plugins.

1password

1password

Set up and use 1Password CLI for sign-in, desktop integration, and reading or injecting secrets.

clawdis10d393k
@steipete@steipeteInstall Skill
computer-use

computer-use

Drives the GUI of a visible local app window through `orca computer`: accessibility tree, clicks, typing, menus, dialogs, and…

orca10d111k
@stablyai@stablyaiInstall Skill
agentmail

agentmail

Use your assigned AgentMail inbox to read email tasks, explicitly send or reply, and check delivery. Provided automatically by…

paperclip10d109k
@paperclipai@paperclipaiInstall Skill
adr-create

adr-create

Create a new Architecture Decision Record with sequential numbering and AgentDB registration

@ruvnet@ruvnetInstall Skill

Questions about agents-md.

Which coding agents can use agents-md?
agents-md 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.