# Agents md

> Agents md is an open-source agent skill for developer tools. Proposes short, durable additions to AGENTS.md and CLAUDE.md files after a lesson is. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/richardgill/nix/tree/main/built/ai-agents/ampcode/skills/agents-md
- **Repository:** https://github.com/richardgill/nix
- **GitHub stars:** 39
- **License:** MIT
- **Skill name:** agents-md
- **Collection:** https://github.com/richardgill/nix
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-03

## About

This skill reviews the agent instruction files in a project, including AGENTS.md, CLAUDE.md and local variants, and suggests small additions that capture lessons a future agent would be unlikely to infer on its own. It is meant to be used right after a non-obvious discovery, so the lesson can be recorded for later sessions.

The workflow starts by reading the applicable instruction files. The agent then filters for guidance that is specific and reusable, and defaults to proposing a single line, with up to five lines only when a larger addition is really needed. The output names the target file and shows the proposed text. The skill does not edit files unless the user asks it to, and it reports when nothing qualifies.

The skill is a single SKILL.md with no scripts or reference files. It works from the repository's existing instruction files and needs no external tools or services.

## When your agent uses it

> Reviews AGENTS.md, CLAUDE.md, and local variants and proposes tiny, durable additions. Use after discovering a non-obvious lesson a future agent should know.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/richardgill/nix/tree/HEAD/built/ai-agents/ampcode/skills/agents-md)
- [License: MIT](https://github.com/richardgill/nix/tree/HEAD/built/ai-agents/ampcode/skills/agents-md)

## Features

- **Instruction file review:** Reads AGENTS.md, CLAUDE.md and local variants before suggesting any change.
- **Minimal additions:** Favors one added line and allows up to five only when necessary.
- **Filtering for reusable lessons:** Keeps only non-obvious guidance that a future agent could not infer.
- **Proposal without edits:** Shows the target file and proposed text, and leaves files untouched unless asked.
- **No-change outcome:** States clearly when no addition qualifies.

## Good for

- Record a non-obvious build or test quirk in AGENTS.md
- Add a project convention that an agent got wrong during a session
- Update CLAUDE.md with a lesson learned from a debugging session
- Check whether existing agent instructions already cover a new finding

## Install

### Claude Code

Copy the skill folder to `~/.claude/skills/agents-md` to use it in all your projects:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/richardgill/nix.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/agents-md &&
cp -R "$tmp/built/ai-agents/ampcode/skills/agents-md" ~/.claude/skills/agents-md &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/agents-md` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/agents-md` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/richardgill/nix.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/agents-md &&
cp -R "$tmp/built/ai-agents/ampcode/skills/agents-md" ~/.agents/skills/agents-md &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/agents-md` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/agents-md` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/richardgill/nix.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/agents-md &&
cp -R "$tmp/built/ai-agents/ampcode/skills/agents-md" ~/.cursor/skills/agents-md &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/agents-md` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/richardgill/nix.git --path built/ai-agents/ampcode/skills/agents-md
```

Or copy the folder to `~/.gemini/skills/agents-md` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/agents-md`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/richardgill/nix.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/agents-md &&
cp -R "$tmp/built/ai-agents/ampcode/skills/agents-md" ~/.copilot/skills/agents-md &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/agents-md` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/richardgill/nix.git
```

Then copy `nix/built/ai-agents/ampcode/skills/agents-md` into your agent's skills folder as `agents-md`. Agents that support SKILL.md read one folder per skill.

## FAQ

### Does Agents md edit my instruction files automatically?

No. It shows the target file and proposed text and only edits when you ask it to.

### How much text does Agents md add?

It defaults to one line and uses up to five lines only when necessary.

### Which files does Agents md look at?

AGENTS.md, CLAUDE.md and their local variants.

### Does Agents md need any scripts or external tools?

No scripts or reference files are included; it is a single SKILL.md.

### How do I install Agents md in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/agents-md to use it in all your projects, or to .claude/skills/agents-md in one project.

### Does Agents md run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Agents md?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Agents md?

The closest alternatives to Agents md are Agents md, Agents md improver, Writing agents, Wiki agents md and Agents md.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Agents md](https://ai-powered.com/skills/agents-md-scaledockhq): Agents md is an open-source agent skill for developer tools.
- [Agents md improver](https://ai-powered.com/skills/agents-md-improver): Agents md improver is an open-source agent skill for developer tools.
- [Writing agents](https://ai-powered.com/skills/writing-agents-xiaolai): Writing agents is an open-source agent skill for developer tools.
- [Wiki agents md](https://ai-powered.com/skills/wiki-agents-md): Wiki agents md is an open-source agent skill for knowledge and memory.
- [Agents md](https://ai-powered.com/skills/agents-md): Agents md is an open-source agent skill for files and documents.
- [Create agentsmd](https://ai-powered.com/skills/create-agentsmd): Create agentsmd is an open-source agent skill for developer tools.
- [Agent skills](https://ai-powered.com/skills/agent-skills): Agent skills is an open-source agent skill for developer tools.
- [Skill update](https://ai-powered.com/skills/skill-update): Skill update is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/agents-md-richardgill
