claude-code-skills / workflows
AGENTS.md1 starsChanged 46 days agoMITView on GitHub
CI for the repo: one GitHub Actions workflow that structurally validates every skill, example, and agent file. It is the only automated gate — a single inline Bash step on ubuntu-latest after actions/checkout@v4, with no external tooling. - Run the step locally from the repo root before pushing: awk '/^ run: \|/{f=1;next} f' .github/workflows/validate-skills.yml | sed 's/^ //' | bash The extraction assumes run: | at 8-space and the script body at 10-space indentation — adjust it if the YAML…
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 repository16 other files it gives its agents.
- agents/AGENTS.mdAGENTS.md
- AGENTS.mdAGENTS.md
- examples/AGENTS.mdAGENTS.md
- .github/AGENTS.mdAGENTS.md
- scripts/AGENTS.mdAGENTS.md
- skills/AGENTS.mdAGENTS.md
- skills/figma-handoff/AGENTS.mdAGENTS.md
- skills/github-pr-review/AGENTS.mdAGENTS.md
- skills/gmail-workflow/AGENTS.mdAGENTS.md
- skills/skill-compliance-checklist/AGENTS.mdAGENTS.md
- skills/skill-compliance-checklist/references/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- figma-handoffSkill
- github-pr-reviewSkill
- gmail-workflowSkill
- skill-compliance-checklistSkill
The file
We split this AGENTS.md into the rules it gives an agent
4 rules. About 0 are common, 2 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 25
Only agents/*.md can match a non-agent file.
- Very specific: line 30
Run the step locally from the repo root before pushing: awk '/^ run: \|/{f=1;next} f' .github/workflows/validate-skills.yml | sed 's/^ //' …
- Distinctive: line 33
After changing a check, prove it fails a deliberately bad file in a scratch copy before relying on it.
- Distinctive: line 38
Add new rules inside the existing loops rather than new jobs — the whole check is one shell step.
≈ “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
<!-- Parent: ../AGENTS.md --><!-- Generated: 2026-09-27 | Updated: 2026-09-27 -->.github/workflows/
Purpose
CI for the repo: one GitHub Actions workflow that structurally validates every skill, example, and agent file. It is the only automated gate — a single inline Bash step on ubuntu-latest after actions/checkout@v4, with no external tooling.
Key Files
| File | Description |
validate-skills.yml | "Validate Skills" — on push/pull_request touching skills/**, agents/**, examples/**, or .github/workflows/**, checks skills/*/SKILL.md, examples/*/SKILL.md, and agents/*.md (minus AGENTS.md); exits 1 on any hard failure |
For AI Agents
Working In This Directory
- Hard checks (increment
errors, exit 1): line 1 exactly---;name:present with no uppercase,_, or spaces (a trailing space counts);description:present, ≤ 1024 chars, no</>;wc -wof the whole file ≤ 5,000. Agents get only the---check and a non-emptyname:. - Warnings only: no
## error/## troubleshootheading, no## exampleheading (case-insensitive substring match). - Parsing is line-based
grep, not YAML:name:/description:are the first matching lines anywhere in the file, and only the description's first line is read —description: >fails the angle-bracket check,description: |escapes the length check. - Globs are one level deep:
references/**and nested files are never validated, and changes to root files,scripts/, orREADME.mddo not trigger the workflow. - The per-file log prints
OK (N words)even after that file'sFAILlines — trust the final summary line and exit code. - Only
agents/*.mdcan match a non-agent file; theAGENTS.mdbasename skip (commit f0911af) exists for the deepinit map there. Any other non-agent.mdinagents/will fail. - GitHub Actions loads only
.yml/.yamlfiles here, so thisAGENTS.mdis inert — but editing it still triggers a run via the path filter.
Testing Requirements
- Run the step locally from the repo root before pushing:
awk '/^ run: \|/{f=1;next} f' .github/workflows/validate-skills.yml | sed 's/^ //' | bashThe extraction assumesrun: |at 8-space and the script body at 10-space indentation — adjust it if the YAML is reindented. - After changing a check, prove it fails a deliberately bad file in a scratch copy before relying on it.
Common Patterns
- Errors print
FAIL: …and incrementerrors; warnings printWARN: …and never affect the exit code. - Add new rules inside the existing loops rather than new jobs — the whole check is one shell step.
Dependencies
External
- GitHub-hosted
ubuntu-latestrunner,actions/checkout@v4, POSIX tools (grep,sed,wc,head)
<!-- MANUAL: -->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.

