Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
akunzai avatar

Agents Md

  • 15 installs
  • Updated August 4, 2026
  • akunzai/agent-skills

agents-md is a skill that creates, audits and maintains AGENTS.md files to give agentic assistants persistent project context.

About

This skill audits, creates and maintains AGENTS.md files that give AI assistants persistent project context. It scans for existing AGENTS.md and CLAUDE.md, evaluates quality against a rubric, and generates or improves the file with build/test/run commands, code style and workflows. It can optionally symlink CLAUDE.md to AGENTS.md for Claude Code compatibility and writes back durable learnings only with user approval.

  • Creates, audits and maintains AGENTS.md files for persistent agent context
  • Optionally symlinks CLAUDE.md to AGENTS.md for Claude Code compatibility
  • Writes back non-obvious learnings into AGENTS.md only after user approval

Agents Md by the numbers

  • 15 all-time installs (skills.sh)
  • Ranked #1,080 of 1,879 Documentation skills by installs in the Skillselion catalog
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
At a glance

agents-md capabilities & compatibility

Capabilities
documentation
Use cases
documentation
From the docs

What agents-md says it does

Audit, evaluate, create, and maintain AGENTS.md files across a repository to optimize project memory and context for AI assistants.
SKILL.md
Write on approval only
SKILL.md
npx skills add https://github.com/akunzai/agent-skills --skill agents-md

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs15
Last updatedAugust 4, 2026
Repositoryakunzai/agent-skills

What it does

Create, audit and maintain AGENTS.md files that give AI assistants persistent project context, with optional CLAUDE.md symlinking.

Who is it for?

Standing up or improving a repository's AGENTS.md with commands, code style and workflows for AI assistants.

Skip if: Projects that need no persistent agent context file or that reject AGENTS.md conventions.

When should I use this skill?

You want to create, check, audit, update or improve an AGENTS.md (or maintain CLAUDE.md compatibility).

What you get

A quality-assessed AGENTS.md with commands, styles and workflows, optionally linked to CLAUDE.md.

  • A created or improved AGENTS.md
  • A quality report
  • Optional CLAUDE.md symlink

By the numbers

  • 4-step quick start
  • Discovery find command scans AGENTS.md/CLAUDE.md/.claude.md

Files

SKILL.mdMarkdownGitHub ↗

AGENTS.md

Audit, evaluate, create, and maintain AGENTS.md files across a repository to optimize project memory and context for AI assistants.

Use the open AGENTS.md format reference at https://agents.md/ for baseline conventions: AGENTS.md is plain Markdown with no required fields. Nested files can scope instructions by directory but are optional (root file is sufficient). Repo evidence and explicit user instructions still govern the concrete content you write.

Quick start

Run this flow to check or create AGENTS.md: 1. Scan for existing AGENTS.md and CLAUDE.md files, and check if CLAUDE.md is already a symbolic link pointing to AGENTS.md. 2. Ask the user (via interactive prompts or user questions) if they want to maintain Claude Code compatibility. If `CLAUDE.md` is already a symbolic link pointing to `AGENTS.md`, skip this step and automatically proceed under the assumption that compatibility is desired. 3. Choose the target AGENTS.md explicitly before editing. 4. Generate or improve AGENTS.md with build/test/run commands, code styles, and workflows. 5. If Claude compatibility is active or selected, establish/verify the symbolic link from CLAUDE.md to AGENTS.md and explain it in AGENTS.md.

Workflows

1. Discovery & Quality Assessment

Check for file locations:

find . -name "AGENTS.md" -o -name "CLAUDE.md" -o -name ".claude.md" 2>/dev/null | head -50

Evaluate existing files using references/quality-criteria.md rubrics. Output a Quality Report before editing.

Choose the target AGENTS.md explicitly:

  • If exactly one AGENTS.md exists, use it.
  • If multiple files exist, prefer the nearest AGENTS.md that governs the user's requested path or current working directory; otherwise ask before editing.
  • In nested repositories or monorepos, the closest AGENTS.md to the edited files has precedence for that subtree (nested files are optional).
  • If none exists, create the root AGENTS.md unless the user requested a narrower package/module path.

2. Interactive Compatibility Check

Before writing:

  • Check if `CLAUDE.md` is already a symbolic link to `AGENTS.md` (e.g., using ls -la CLAUDE.md or checking file properties).
  • If already a symbolic link: Skip the confirmation prompt entirely and automatically proceed under the assumption that compatibility is desired.
  • If `CLAUDE.md` already exists and is not the intended symlink: Do not replace it blindly. Read it, summarize any unique instructions, propose how to migrate them into AGENTS.md, and ask for explicit approval before moving or replacing the file.
  • Otherwise: Prompt the user:

"Do you want to maintain Claude Code compatibility? (This will symlink CLAUDE.md to AGENTS.md and add an explanation block)"

3. Creation & Updates

  • Build/update AGENTS.md following templates in references/templates.md.
  • If compatibility is active or selected:
  • Create the symlink only when CLAUDE.md is absent or already the intended symlink.
  • If a regular CLAUDE.md exists, preserve its contents until the user approves migration and replacement.
  • Add the explanation block to AGENTS.md.
  • Add CLAUDE.md overrides (if any) to AGENTS.md or as separate imports.

4. Knowledge Writeback (on problem-solving)

When solving a problem reveals non-obvious knowledge (e.g. a gotcha, hidden config, env var quirk, non-intuitive framework behavior), the agent MUST: 1. Extract reusable insight: Distill the raw finding into a concise, durable rule (not a bug-fix transcript). 2. Propose the writeback: Present the candidate snippet to the user and ask:

"This insight may be worth preserving. Shall I add it to AGENTS.md?"

3. Write on approval only: Update the most relevant AGENTS.md only after explicit user confirmation. 4. Apply quality filters before writing (see references/quality-criteria.md):

  • Must be non-derivable from the codebase alone.
  • Must not be a drifting metric or overly generic rule.
  • Must be concise (prefer one bullet point).

Advanced features

For quality assessment rubrics, detailed grading criteria, and red flags, see references/quality-criteria.md. For complete AGENTS.md starter templates and imports guide, see references/templates.md. For step-by-step mock execution cases and interactive prompts, see references/examples.md.

Related skills

FAQ

Does it support Claude Code?

Yes, optionally, by symlinking CLAUDE.md to AGENTS.md and adding an explanation block when the user opts in.

Does it overwrite an existing CLAUDE.md?

No. If a real CLAUDE.md exists it preserves the contents and asks for approval before migrating and replacing it.

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.