agent-skills
AGENTS.md189 starsChanged 2 months agoMITView on GitHub
Installs all skills at user level via the skills CLI (see the deploy chain below). Without -g the CLI installs into the current project instead. Works with Claude Code, Codex, Cursor, and OpenCode. Install a single skill: For editing skills in place without reinstalling: Changes to the repo files take effect immediately, with no re-install needed. Unlink with unlink ~/.claude/skills/<name> when done. The deploy chain: skills add writes the content once to ~/.agents/skills/<name>/. Agents that read that canonical path directly,…
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.
Of the AGENTS.md files we read, the 31,774 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository28 other files it gives its agents.
- agent-readySkill
- agent-skills-creatorSkill
- agents-mdSkill
- app-verificationSkill
- autoshipSkill
- ax-auditSkill
- chat-historySkill
- ci-speedupSkill
- codebase-architectureSkill
- dx-auditSkill
- eli5Skill
- ghostwriterSkill
- multi-tenant-architectureSkill
- planningSkill
- pr-babysitterSkill
- pr-creatorSkill
- presentation-creatorSkill
- product-designSkill
- save-mdSkill
- scaffold-cliSkill
- scaffold-nextjsSkill
- seoSkill
- test-auditSkill
- tidySkill
- typography-auditSkill
- ui-animationSkill
- ui-designSkill
- ui-verificationSkill
The file
We split this AGENTS.md into the rules it gives an agent
8 rules. About 0 are common, 4 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 58
No em dashes anywhere (skill bodies, descriptions, READMEs, commits).
- Very specific: line 59
When detail is needed, add a focused reference file rather than expanding SKILL.md.
- Distinctive: line 63
Every mechanical constraint (frontmatter limits, body length, reference chains, TOCs, kebab-case, rule-count reconciliation, README …
- Distinctive: line 83
Commit messages: short, imperative, sentence case (e.g., "Add tidy skill").
- Very specific: line 85
When adding reference files, note how they are used by the corresponding SKILL.md.
- Distinctive: line 89
When adding or removing a skill, add or remove its bullet under the matching category heading in README.md.
- Very specific: line 90
When renaming folders or reference files, grep all SKILL.md files for stale paths.
- Very specific: line 91
Verify counts and bullets with skills/agent-skills-creator/scripts/validate.sh --all.
≈ “Common” is an estimate: at least 1 in 5 of the 40,246 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Repository Guidelines
Project Structure & Module Organization
skills/holds each skill in its own folder (kebab-case). Each skill has aSKILL.mdfile with YAML frontmatter (name,description) and Markdown guidance.- Some skills include reference files alongside the
SKILL.md(e.g.skills/agents-md/references/). - Top-level files:
README.md(overview and install docs).
Install / Development Commands
Primary install (recommended)
npx skills add mblode/agent-skills -gInstalls all skills at user level via the skills CLI (see the deploy chain below). Without -g the CLI installs into the current project instead. Works with Claude Code, Codex, Cursor, and OpenCode.
Install a single skill:
npx skills add mblode/agent-skills -g --skill tidy -yLocal dev: symlink hot-swap
For editing skills in place without reinstalling:
# One-time: symlink the repo's skills folder into the deploy target
ln -s /path/to/agent-skills/skills/<name> ~/.claude/skills/<name>Changes to the repo files take effect immediately, with no re-install needed. Unlink with unlink ~/.claude/skills/<name> when done.
The deploy chain: skills add writes the content once to ~/.agents/skills/<name>/. Agents that read that canonical path directly, which is every agent whose skillsDir is .agents/skills (Codex, Cursor, and most others), need nothing further; the CLI calls them universal and installs there rather than into ~/.codex/skills or ~/.cursor/skills. Claude Code reads .claude/skills, so it alone gets a relative symlink, ~/.claude/skills/<name> -> ../../.agents/skills/<name>. Editing this repo changes none of them until you reinstall or symlink the folder directly.
Smoke-test
Confirm files landed correctly after install:
ls ~/.claude/skills/tidy/
# Expected: SKILL.md (plus any references/ folder)For a full install smoke-check:
ls ~/.claude/skills/ | sortOther repositories may contribute installed skills. Compare each owned folder recursively with its source; a directory listing alone does not establish parity.
Coding Style & Naming Conventions
- Files are Markdown-first, with supporting scripts and evaluation fixtures.
- No em dashes anywhere (skill bodies, descriptions, READMEs, commits). Restructure with commas, colons, periods, or parentheses; don't substitute a spaced hyphen.
- When detail is needed, add a focused reference file rather than expanding
SKILL.md.
Skill Authoring
Every mechanical constraint (frontmatter limits, body length, reference chains, TOCs, kebab-case, rule-count reconciliation, README bullets) is enforced by the validator and stated nowhere else:
skills/agent-skills-creator/scripts/validate.sh skills/<name>
skills/agent-skills-creator/scripts/validate.sh --allFor the judgement a script cannot make (what to include, how prescriptive to be, when an absolute earns its place), run the agent-skills-creator skill.
Verification
Run the validator on every skill you touch, and python3 -m unittest discover -s maintenance/tests when changing the validation protocol. CI (.github/workflows/validate.yml) runs validate.sh --all and the unit tests on every pull request and push to main. Authored scenarios validate structurally only; behavioral evidence (with and without the skill) requires separate isolated runs, as agent-skills-creator describes. Compare the full installed skill folder when install behavior changes. There is no doctor command or feature map; the validator is the only automated proof, so a prose change is unverified until someone runs its scenarios.
Gotchas
- Reference files are only loaded when explicitly listed in the
SKILL.md; dropping a file in the folder is not enough. - The
cp -R skills/* ~/.claude/skills/approach bypasses the~/.agents/skillssymlink chain. Usenpx skills addinstead.
Commit & Pull Request Guidelines
- Commit messages: short, imperative, sentence case (e.g., "Add tidy skill").
- PRs: brief summary, list of skills changed/added, README updates (especially when adding a new skill).
- When adding reference files, note how they are used by the corresponding
SKILL.md.
Maintenance
- When adding or removing a skill, add or remove its bullet under the matching category heading in
README.md. - When renaming folders or reference files, grep all
SKILL.mdfiles for stale paths. - Verify counts and bullets with
skills/agent-skills-creator/scripts/validate.sh --all. Don't count withls skills/ | wc -l: git leaves empty directories behind when a skill moves out, which inflates it.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

