Creates and maintains concise AGENTS.md and CLAUDE.md project instruction files. Use when asked to create AGENTS.md, update AGENTS.md, maintain agent docs, set up CLAUDE.md, document repository agent conventions, or keep coding-agent instructions minimal and reference-backed.
Written by Sentry and published in getsentry/skills under the Apache-2.0 license. Treq shows it unchanged except for heading levels and links to files on GitHub.
Goal: concise, actionable agent instructions. Target under 60 lines; never exceed 100.
package.json, Makefile, task runners, CI workflowsREADME.md, CONTRIBUTING.md, docs/, specs/, policies/, SECURITY.md, .github/AGENTS.md: repo-wide defaultsAGENTS.md: only when a subtree has different commands or rulesAGENTS.md at the repository root.CLAUDE.md to AGENTS.md.AGENTS.md and CLAUDE.md copies.Use only sections that add non-obvious value.
# Agent Instructions
## Package Manager
- Use **pnpm**: `pnpm install`
## Commands
| Task | Command |
|------|---------|
| Test file | `pnpm vitest run path/to/file.test.ts` |
| Lint file | `pnpm eslint path/to/file.ts` |
## External References
| Need | File |
|------|------|
| Setup | `CONTRIBUTING.md` |
| Architecture | `docs/architecture.md` |
| Security policy | `SECURITY.md` |
## Key Conventions
- Generated files: update with `pnpm generate`; do not edit by hand.
## Commit Attribution
AI commits MUST include:
```
Co-Authored-By: (the agent's name and attribution byline)
```
Good:
## External References
| Need | File |
|------|------|
| API contract | `docs/api.md` |
| Release process | `docs/releasing.md` |
README.md, CONTRIBUTING.md, or policy docsAGENTS.md files that repeat root instructionsClaude Code and Codex keep each installed skill's name and description in context. When a request matches the description, the agent loads the full SKILL.md. You can also run it yourself: type /agents-md in Claude Code or $agents-md in Codex.
The description says when to use it:
Use when asked to create AGENTS.md, update AGENTS.md, maintain agent docs, set up CLAUDE.md, document repository agent conventions, or keep coding-agent instructions minimal and reference-backed.
Copy the agents-md folder into .claude/skills/ in your project. To use it in every project, copy it into ~/.claude/skills/ instead.
git clone --depth 1 https://github.com/getsentry/skills.git /tmp/getsentry-skills
mkdir -p .claude/skills
cp -r /tmp/getsentry-skills/skills/agents-md .claude/skills/
Codex reads skills from .agents/skills/ in your repository, and from ~/.agents/skills/ for every repository. It detects new skills on its own. Restart Codex if agents-md does not appear.
git clone --depth 1 https://github.com/getsentry/skills.git /tmp/getsentry-skills
mkdir -p .agents/skills
cp -r /tmp/getsentry-skills/skills/agents-md .agents/skills/
Open Settings and select the Skills tab. The tab appears when Skills installation is on under Settings → Feature Preview. Search for agents-md and choose Install….
Install for repository writes the skill under .treq/skills/ in the current repository. Install for application makes it available to every repository on this machine. Each new workspace gets a copy in .claude/skills/ and .agents/skills/, so Claude Code and Codex both find it. See Installing Skills from the Library.
agents-md ships 3 files, 11.4 KB in total. Select a file to load it from GitHub.