# Agents md checker

> Agents md checker is an open-source agent skill for developer tools. Shows which instruction files each coding agent loads and whether documented commands. 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/RyanAlberts/best-of-Agent-Harnesses/tree/main/skills/agents-md-checker
- **Repository:** https://github.com/ryanalberts/best-of-agent-harnesses
- **GitHub stars:** 1,663
- **License:** MIT
- **Skill name:** agents-md-checker
- **Collection:** https://github.com/RyanAlberts/best-of-Agent-Harnesses
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-03

## About

This skill maps which instruction files (AGENTS.md, CLAUDE.md, GEMINI.md, Cursor rules, Copilot instructions) Claude Code, Codex, Gemini CLI, OpenCode, Cursor, GitHub Copilot and Aider load from a repo, in what order, and what gets cut or skipped because of size limits or file-name precedence. It turns that into a load map table with a headline summary.

The checker reads local files and makes no network calls. It also pulls build, test and lint commands out of those instruction files and checks them statically, confirming that the npm script, Makefile target or program exists and that referenced script paths are present. It flags contradictions such as differing package managers or Node and Python versions, and relative links that point at nothing.

Running the documented commands is opt-in through a --run flag. Only an allowlisted set of test, lint, type check and build steps runs, each with a timeout, and the user is shown the commands first. It requires Python 3.9 or newer, with 3.11 or newer needed to read Codex config.toml.

## When your agent uses it

> Checks which instruction files (AGENTS.md, CLAUDE.md, GEMINI.md, Cursor rules, Copilot instructions) each coding agent loads from a repo, what gets cut or skipped, and whether the commands those files document still work. Use when the user asks whether Claude Code, Codex, Gemini CLI, Cursor, OpenCode, Copilot, or Aider reads their AGENTS.md or CLAUDE.md; why an agent ignores or truncates part of a context file; whether the build, test, or lint commands and paths in AGENTS.md are stale; or wants to audit context files across agents. Reads local files and makes no network calls; runs documented test, lint, and build commands only with --run after the user agrees.

## What it can access

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

- [Runs Python scripts](https://github.com/RyanAlberts/best-of-Agent-Harnesses/tree/HEAD/skills/agents-md-checker)
- [Network calls found in its scripts](https://github.com/RyanAlberts/best-of-Agent-Harnesses/tree/HEAD/skills/agents-md-checker)
- [License: MIT](https://github.com/RyanAlberts/best-of-Agent-Harnesses/tree/HEAD/skills/agents-md-checker)

## Features

- **Per-agent load map:** Shows which instruction files each of seven coding agents reads at session start, with status and size.
- **Size limit detection:** Flags instruction files that Codex or another agent would cut short or drop due to byte budgets.
- **Documented command checks:** Verifies that npm scripts, Make targets and script paths named in instruction files exist.
- **Opt-in command runs:** Runs allowlisted test, lint, type check and build commands only after the user approves.
- **Cross-file contradiction checks:** Compares package manager, test runner and runtime versions across instruction files and lockfiles.
- **Dead path detection:** Finds relative links and code paths in instruction prose that point at nothing.

## Good for

- Check whether Claude Code is ignoring my AGENTS.md because a CLAUDE.md exists
- Find out why Codex seems to truncate my long instructions file
- Verify the build, test and lint commands in AGENTS.md still work
- Audit which context files each coding agent loads from this repo
- Spot contradictions between my lockfile and the package manager named in instructions

## Install

### Claude Code

This skill ships in the `harness-skills` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add RyanAlberts/best-of-Agent-Harnesses
/plugin install harness-skills@agent-harnesses
```

Or copy only this skill to `~/.claude/skills/agents-md-checker`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/RyanAlberts/best-of-Agent-Harnesses.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/agents-md-checker &&
cp -R "$tmp/skills/agents-md-checker" ~/.claude/skills/agents-md-checker &&
rm -rf "$tmp"
```

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

### Codex

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

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/RyanAlberts/best-of-Agent-Harnesses.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/agents-md-checker &&
cp -R "$tmp/skills/agents-md-checker" ~/.agents/skills/agents-md-checker &&
rm -rf "$tmp"
```

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

### Cursor

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

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/RyanAlberts/best-of-Agent-Harnesses.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/agents-md-checker &&
cp -R "$tmp/skills/agents-md-checker" ~/.cursor/skills/agents-md-checker &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/agents-md-checker` 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/RyanAlberts/best-of-Agent-Harnesses.git --path skills/agents-md-checker
```

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

### VS Code

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

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/RyanAlberts/best-of-Agent-Harnesses.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/agents-md-checker &&
cp -R "$tmp/skills/agents-md-checker" ~/.copilot/skills/agents-md-checker &&
rm -rf "$tmp"
```

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

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/RyanAlberts/best-of-Agent-Harnesses.git
```

Then copy `best-of-Agent-Harnesses/skills/agents-md-checker` into your agent's skills folder as `agents-md-checker`. Agents that support SKILL.md read one folder per skill.

## FAQ

### Does the checker send anything over the network?

The checker makes no network calls. Commands run with --run can use the network, for example to download dependencies.

### Will Agents md checker run my tests automatically?

No. Without --run nothing is executed. With --run, only allowlisted test, lint, type check and build commands run, and the user is asked for a clear yes first.

### Does Agents md checker read my home-folder instruction files?

Files outside the repo are measured by size only; their text is never read or printed. From agent settings files it reads only the settings that change loading.

### Which Python version is required?

Python 3.9 or newer. Python 3.11 or newer is needed to also read Codex config.toml trust and size settings.

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

Copy the skill folder from GitHub to ~/.claude/skills/agents-md-checker to use it in all your projects, or to .claude/skills/agents-md-checker in one project. Or install the harness-skills plugin, which includes it: /plugin marketplace add RyanAlberts/best-of-Agent-Harnesses, then /plugin install harness-skills@agent-harnesses.

### Does Agents md checker run scripts?

Yes. It runs Python scripts. Its scripts contain network calls. 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 checker?

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 checker?

The closest alternatives to Agents md checker are Agents md, Agents md, Agents md improver, Rules to guards and Writing agents.

## 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](https://ai-powered.com/skills/agents-md): Agents md is an open-source agent skill for files and documents.
- [Agents md improver](https://ai-powered.com/skills/agents-md-improver): Agents md improver is an open-source agent skill for developer tools.
- [Rules to guards](https://ai-powered.com/skills/rules-to-guards): Rules to guards 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.
- [Guardrail tester](https://ai-powered.com/skills/guardrail-tester): Guardrail tester is an open-source agent skill for security.
- [Wiki agents md](https://ai-powered.com/skills/wiki-agents-md): Wiki agents md is an open-source agent skill for knowledge and memory.
- [Safe execution edho ferdian](https://ai-powered.com/skills/safe-execution-edho-ferdian): Safe execution edho ferdian is an open-source agent skill for developer tools.

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