1. Habit
  2. Skills
  3. AGENTS.md skill
getsentry · 7K installs

AGENTS.md skill
Runs by itself, once a month.

Your agent rules stay short and true.

Install the AGENTS.md skill and make it a habit: follow https://gethabit.dev/skills/getsentry/agents-md.md

  1. 1Copy
  2. 2Paste into Claude Code, Codex or Cursor
  3. 3It runs by itself

7K installs1K starsApache-2.0 licenceSource on GitHub ↗

AGENTS.md

by getsentry · 7K installs

The skill

Writes short rule files that your coding agent can follow.

Only when you ask.

Fewer mistakes

Your agent rules stay short and true. Fewer wrong moves and less time lost.

↻ Runs by itselfonce a month

How the habit works.
You don't have to.

Three questionsWhen does it start? How does it check its work? What does it remember?

One run, step by step.
Then it stops.

Stop ruleStops after one root file and up to 3 nested files per run.

  1. 01

    Inspect the repo

    Your agent reads lock files, package.json, Makefile, CI workflows and docs such as CONTRIBUTING.md.

  2. 02

    Choose scope

    It keeps root AGENTS.md for defaults and nested files only where rules differ.

  3. 03

    Write small

    It updates only sections that add non-obvious value, in tables and bullets.

  4. 04

    Verify

    It checks each path and command really exists.

  5. 05

    Commit

    It commits the change so the history shows what moved.

What it may do.
Nothing more.

Safe by defaultIt writes only in its own folder and asks you before anything goes out.

Is it for you?
Use it when it fits.

Quick checkRead both lists. If the left one sounds like you, the AGENTS.md skill helps.

Use it when

  • ✓ You set up a new repo for agents
  • ✓ AGENTS.md is long or stale
  • ✓ You want CLAUDE.md and AGENTS.md in sync

Skip it when

  • – You need full contributor docs
  • – The repo has no build or test commands

Questions

AGENTS.md skill, answered.

Does it keep two copies?

No. CLAUDE.md is a symlink to AGENTS.md, never a second copy.

How long should the file be?

The target is under 60 lines, never more than 100.

How do I install the AGENTS.md skill?

Copy the prompt at the top into your agent. It installs the skill from getsentry/skills and sets up the habit. Or run npx skills add getsentry/skills --skill agents-md.

Is the AGENTS.md skill free?

Yes. It is published under Apache-2.0. Habit is free too.

AGENTS.md. Now as a habit.

Install the AGENTS.md skill and make it a habit: follow https://gethabit.dev/skills/getsentry/agents-md.md

  • Free
  • No account
  • Undo in one line

All getsentry skills →More docs skills →

Works in

  • Claude Code
  • Codex
  • Cursor
  • ChatGPT
  • Claude app

Made by getsentry, published under Apache-2.0. Habit links to the original and never changes it. Is this your skill?

Copying didn't work here. Select the line and copy it by hand.