skills
AGENTS.md0 starsChanged 5 days agoMITView on GitHub
Contributor guide for agents working in this repository. This repo is the single source of truth for portable agent skills. Skills authored here are installed into Jcode, Claude Code, Codex, Windsurf, Cursor, and opencode. All three must pass with zero errors. CI runs the same checks. Before publishing to npm, also run the end-to-end package test. It packs a real tarball and installs it into a sandboxed HOME, so a broken package is caught while the version number can still…
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 35,337 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 repository4 other files it gives its agents.
- .cursor/rules/repo.mdcCursor rule
- address-reviewSkill
- review-prSkill
- skill-nameSkill
The file
We split this AGENTS.md into the rules it gives an agent
10 rules. About 0 are common, 5 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 33
All three must pass with zero errors.
- Very specific: line 35
Before publishing to npm, also run the end-to-end package test.
- Distinctive: line 46
Do not hand-create directories.
- Very specific: line 48
Write description as trigger conditions, not a summary.
- Very specific: line 51
Keep SKILL.md under ~500 lines.
- Distinctive: line 53
Prefer a deterministic script over prose whenever a step is mechanical.
- Very specific: line 61
Never claim capabilities an agent lacks.
- Distinctive: line 62
No vendor or AI attribution anywhere: commit messages, PR text, code comments, docs.
- Distinctive: line 63
Commit as you go. One skill per commit where practical.
- Very specific: line 73
If an agent's install path is wrong, fix AGENT_TARGETS in scripts/skilllib.py rather than special-casing the installer, then mirror it in …
≈ “Common” is an estimate: at least 1 in 5 of the 45,344 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
AGENTS.md
Contributor guide for agents working in this repository.
This repo is the single source of truth for portable agent skills. Skills authored here are installed into Jcode, Claude Code, Codex, Windsurf, Cursor, and opencode.
Repository shape
skills/<skill-name>/SKILL.md # required: frontmatter + instructions
skills/<skill-name>/references/ # optional: detail loaded on demand
skills/<skill-name>/scripts/ # optional: deterministic helpers
templates/SKILL.md # starting point for a new skill
scripts/skilllib.py # shared parsing + target table
scripts/validate.py # schema + lint checks
scripts/install.py # symlink/copy into agent homes
scripts/new_skill.py # scaffold a new skill
scripts/check_cli_parity.py # bin/cli.js vs the Python installer
scripts/test_package.py # end-to-end npm package test in a sandbox HOME
bin/cli.js # dependency-free npm/npx installer
package.json # npm packagingBefore you finish any change
python3 scripts/validate.py
python3 scripts/install.py --all --dry-run
python3 scripts/check_cli_parity.pyAll three must pass with zero errors. CI runs the same checks.
Before publishing to npm, also run the end-to-end package test. It packs a real
tarball and installs it into a sandboxed HOME, so a broken package is caught
while the version number can still be changed:
python3 scripts/test_package.pyAdding or editing a skill
- Scaffold with
python3 scripts/new_skill.py <kebab-name> "When the user wants ...". Do not hand-create directories; the scaffolder keeps the layout consistent. namein frontmatter must exactly match the directory name.- Write
descriptionas trigger conditions, not a summary. It is the only text most agents see when deciding whether to load the skill. Include literal phrases a user would type. - Keep
SKILL.mdunder ~500 lines. Move depth intoreferences/and mention each reference file by name in the body so it is discoverable. - Prefer a deterministic script over prose whenever a step is mechanical.
- One skill, one job. Split rather than growing a catch-all.
Conventions
- Python only in
scripts/, standard library only, no third-party dependencies. - Any script a skill ships must run with no install step, or declare its requirements at the top of the file.
- Never claim capabilities an agent lacks. Declare needed tools in
allowed-tools. - No vendor or AI attribution anywhere: commit messages, PR text, code comments, docs.
- Commit as you go. One skill per commit where practical.
Installer notes
- Symlinks are the default so repo edits take effect immediately.
--copyexists for sandboxed agents that cannot follow links out of their home. - For agents without a native skill loader, the installer maintains an index between
<!-- BEGIN managed skills index -->and<!-- END managed skills index -->in that agent's rules file. Never edit inside those markers by hand; everything outside them is preserved. - If an agent's install path is wrong, fix
AGENT_TARGETSinscripts/skilllib.pyrather than special-casing the installer, then mirror it in the same table inbin/cli.js.scripts/check_cli_parity.pyfails when the two disagree. bin/cli.jsmust stay dependency-free and copy rather than symlink: it runs from an npx cache that npm deletes after the run.
Testing a skill for real
Install it, start a fresh agent session, and give a prompt matching the description without naming the skill. If it does not trigger, the description is the bug.
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.

