devops-skills
AGENTS.md0 starsChanged 2 months agoApache-2.0View on GitHub
Instructions for AI coding agents working on this repository. This is about maintaining the library. The skills themselves live in skills/ and are instructions for a different purpose. A library of Claude Skills for DevOps, SRE and platform engineering. The content is Markdown; the tooling is one dependency-free Python file and a bash installer. There is no build step and nothing to compile. All three must pass before and after your change. If they fail before you started, say so…
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,700 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 repository26 other files it gives its agents.
- aws-production-debuggingSkill
- github-actions-debuggingSkill
- postgresql-troubleshootingSkill
- container-image-reviewSkill
- docker-debuggingSkill
- incident-triageSkill
- postmortem-analysisSkill
- production-debuggingSkill
- kubernetes-networkingSkill
- kubernetes-production-readinessSkill
- kubernetes-resource-debuggingSkill
- kubernetes-troubleshootingSkill
- linux-network-debuggingSkill
- linux-performanceSkill
- linux-troubleshootingSkill
- dns-troubleshootingSkill
- http-debuggingSkill
- tls-debuggingSkill
- observability-debuggingSkill
- prometheus-troubleshootingSkill
- slo-designSkill
- secrets-management-reviewSkill
- technology-jobSkill
- terraform-reviewSkill
- terraform-safe-changesSkill
- terraform-troubleshootingSkill
The file
We split this AGENTS.md into the rules it gives an agent
8 rules. About 0 are common, 5 are distinctive, and 3 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.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 18
All three must pass before and after your change.
- Very specific: line 27
Never lower a risk tier to make the validator pass: If validate-skills says a skill mentions a destructive operation and the tier is too …
- Distinctive: line 39
Do not invent commands, flags or metric names: Every command in a skill gets copy-pasted into a production terminal by someone under time …
- Distinctive: line 51
Every command needs: what it checks, what signal to look for, what the result means.
- Distinctive: line 55
Keep required sections in order: Purpose, Operating Procedure, Investigation, Safety, Verification, Anti-Patterns.
- Very specific: line 68
Check for overlap first. Two skills that each half-cover a topic is worse than one gap, because Claude will load the wrong one.
- Very specific: line 74
Add a case to tests/run for any new validation rule.
- Distinctive: line 83
Do not add emoji to skill content.
≈ “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
AGENTS.md
Instructions for AI coding agents working on this repository. This is about maintaining the
library. The skills themselves live in skills/ and are instructions for a different purpose.
What this repository is
A library of Claude Skills for DevOps, SRE and platform engineering. The content is Markdown; the tooling is one dependency-free Python file and a bash installer. There is no build step and nothing to compile.
Before you change anything
./scripts/validate-skills && ./scripts/lint-skills && ./scripts/check-linksAll three must pass before and after your change. If they fail before you started, say so rather than fixing unrelated failures silently.
Hard rules
- Directory name must equal
name:in the frontmatter. Claude resolves a skill by its directory name. A mismatch produces a skill that can never load. The validator catches it; do not work around it. - Never lower a risk tier to make the validator pass. If
validate-skillssays a skill mentions a destructive operation and the tier is too low, the correct fix is to raise the tier and write the### Destructivesection — not to remove the command or reword it to dodge the pattern. The rule exists to force the guard rails to be written. - Do not add dependencies.
scripts/skillkit.pyis standard library only, andinstall.shis bash 3.2 compatible (the macOS default — nomapfile, no${arr[@]}on an empty array underset -u). If something seems to need a dependency, it probably needs to be simpler. - Regenerate the index after touching skill metadata.
./scripts/generate-index. CI runsgenerate-index --checkand fails on a stale index. - Do not invent commands, flags or metric names. Every command in a skill gets copy-pasted into a production terminal by someone under time pressure. If you are not certain a flag exists in the versions the skill claims to support, either verify it or write that it must be verified. An unmarked wrong flag is the worst defect this repository can ship.
- Do not soften the safety sections. The Destructive subsections are deliberately blunt and repetitive. That is the point.
When editing a skill
SKILL.mdis loaded in full whenever the skill triggers. Every line costs context. Cut anything that does not change what someone does next.- Every command needs: what it checks, what signal to look for, what the result means. The linter warns when a command block has no explanation on either side.
- The
descriptionis the routing mechanism — it is all Claude sees when deciding whether to load the skill. It must name concrete symptoms, including error strings someone would actually type. - Keep required sections in order: Purpose, Operating Procedure, Investigation, Safety, Verification, Anti-Patterns. The validator enforces both presence and order.
- Bump
metadata.versionwhen the content changes materially.
When adding a skill
cp -r skills/_template skills/<category>/<technology>-<job>Then read docs/skill-authoring.md. Do not skip it — it is short, and the validator implements most of it, so guessing wastes more time than reading.
Check for overlap first. Two skills that each half-cover a topic is worse than one gap, because
Claude will load the wrong one. ./scripts/list-skills is the inventory.
When changing the tooling
scripts/skillkit.pyholds every subcommand; the five scripts beside it are one-line wrappers.- Add a case to
tests/runfor any new validation rule. Fixtures are built inline there as throwaway repositories, so a new rule is oneexpect_errorcall. A rule without a test that proves it fires is not a rule. ./tests/runmust pass.
Style
- British-neutral technical English. Direct, specific, no marketing language.
- Tables, decision trees and concrete numbers over paragraphs.
- Do not add emoji to skill content. The generated index uses three maturity markers; that is all.
What not to do
| Do not | Instead |
| Add a skill for every tool you can think of | 25 good skills beat 200 thin ones |
| Generate skill prose in bulk | Generated prose reads like generated prose and nobody trusts it |
Edit skills/INDEX.md or the README table by hand | ./scripts/generate-index |
| Reword a command to get past a validator pattern | Fix the metadata |
| Claim a skill was tested in production when it was not | Mark it maturity: beta |
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.

