hrih-skills
AGENTS.md6 starsChanged 26 days agoMITView on GitHub
A collection of Agent Skills (the open SKILL.md format). Read this before adding or changing a skill. When a skill changes, bump its version in .claude-plugin/marketplace.json. Claude Code users only receive an update when that version changes. The marketplace name hrih-skills is what users type in install commands, so don't rename it casually. Names like agent-skills and anthropic-* are reserved. For claude.ai users, attach the dist/*.skill files to a GitHub Release.
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,439 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 repository6 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- copywriterSkill
- design-inspirationSkill
- review-apprenticeSkill
- review-routerSkill
- spec-reviewSkill
The file
We split this AGENTS.md into the rules it gives an agent
7 rules. About 0 are common, 0 are distinctive, and 7 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 24
If the description contains : (colon-space), wrap it in double quotes.
- Very specific: line 43
When a skill changes, bump its version in .claude-plugin/marketplace.json.
- Very specific: line 49
Run each prompt in evals/<name>/evals.json twice: once with the skill and once without, as fresh agents.
- Very specific: line 51
Keep runs in a <name>-workspace/ folder outside skills/.
- Very specific: line 58
Create skills/<name>/SKILL.md (copy an existing skill's structure).
- Very specific: line 59
Add evals/<name>/evals.json with 2–3 realistic prompts.
- Very specific: line 60
Add the skill to .claude-plugin/marketplace.json and to the table in README.md.
≈ “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
Working in this repo
A collection of Agent Skills (the open SKILL.md format). Read this before adding or changing a skill.
Layout
skills/<name>/ one folder per skill; this is exactly what gets installed
SKILL.md frontmatter (name, description, ...) + instructions
references/ docs the skill tells the agent to read when needed
scripts/ helper scripts the skill runs
evals/<name>/ test prompts; kept outside the skill so installs stay lean
evals.json task prompts + assertions for with/without-skill runs
trigger-eval-set.json should/shouldn't-trigger queries for tuning the description
tools/validate.py checks every SKILL.md (run before committing)
tools/package.py builds dist/<name>.skill for claude.ai / desktop upload
.claude-plugin/ Claude Code plugin marketplace manifestRules for a skill
- Folder name =
name: kebab-case, at most 64 characters. - Description (at most 1024 chars, no
<or>) is the only thing an agent sees before deciding to load the skill. It says what the skill does and when to use it, including phrasings that don't name the skill, and ends with when not to use it.- If the description contains
:(colon-space), wrap it in double quotes. Unquoted, it breaks the YAML and the skill silently fails to load.
- If the description contains
- Allowed frontmatter keys:
name,description,license,allowed-tools,metadata,compatibility(at most 500 chars: runtime needs such as Python or browser tools). Claude Code reads extra keys (when_to_use,argument-hint, ...), but a claude.ai upload rejects them, so keep skills to the standard keys. - Keep
SKILL.mdunder about 500 lines. Push detail intoreferences/and point to it fromSKILL.md, saying when to read it. - Explain why, not just what. Agents follow reasoning better than all-caps rules.
- Scripts:
- Portable (Windows, macOS, Linux), standard library only where possible.
- Runnable as
python scripts/x.pyand underpython -I. - They print where their outputs went.
- No secrets, personal paths or machine-specific values anywhere in
skills/. - Shared files are copies. Each skill installs on its own, so the review skills each carry
scripts/lessons.py,scripts/diff_facts.pyandreferences/lessons.md. Edit one copy, then copy it to the others;tools/validate.pyfails when they drift.
Before committing
python tools/validate.py
claude plugin validate . # checks .claude-plugin/marketplace.json
python tools/package.py # optional, output is gitignoredWhen a skill changes, bump its version in .claude-plugin/marketplace.json. Claude Code users only receive an update when that version changes. The marketplace name hrih-skills is what users type in install commands, so don't rename it casually. Names like agent-skills and anthropic-* are reserved.
For claude.ai users, attach the dist/*.skill files to a GitHub Release.
Testing a skill
- Run each prompt in
evals/<name>/evals.jsontwice: once with the skill and once without, as fresh agents. - Grade the outputs against the assertions and look at them yourself. Design and writing quality need human eyes.
- Keep runs in a
<name>-workspace/folder outsideskills/; it's gitignored. - For the description, use
trigger-eval-set.jsonwith skill-creator'srun_loop, choosing by held-out score, not train score.- On Windows, its
run_eval.pyneeds a non-select()pipe reader. - Its parallel workers can pick each other's temporary command, so count any copy of the skill as a trigger.
- On Windows, its
Adding a skill
- Create
skills/<name>/SKILL.md(copy an existing skill's structure). - Add
evals/<name>/evals.jsonwith 2–3 realistic prompts. - Add the skill to
.claude-plugin/marketplace.jsonand to the table inREADME.md. - Run
tools/validate.py.
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.

