dev-skills
AGENTS.md7 starsChanged 4 days agoMITView on GitHub
Skills standardize capable agents' working conventions across projects. They do not teach expertise or improve the agent. Trust the agent's judgment; specify only the conventions that matter. Store skills in skills/<passive|activated|triggered>/<name>/SKILL.md. Frontmatter requires name, a concise description, and metadata.category. Names are unique across categories. A triggered skill’s description states its trigger conditions so agents can fire it without reading the body; when too complex to state fully, give encompassing initial conditions plus “ and extra conditions.” and specify the full…
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 repository22 other files it gives its agents.
- audit-and-resolveSkill
- context-pagingSkill
- coordinate-workSkill
- design-skillSkill
- design-time-triggered-skillSkill
- design-validationSkill
- diagnose-and-repairSkill
- indefinite-loopSkill
- install-dev-skillsSkill
- operate-workflowSkill
- polish-docsSkill
- run-experimentSkill
- contract-disciplineSkill
- documentation-styleSkill
- evidence-disciplineSkill
- git-disciplineSkill
- scratch-spaceSkill
- testing-doctrineSkill
- context-compaction-procedureSkill
- maintain-scratchSkill
- refine-skillSkill
- security-hygiene-checkSkill
The file
We split this AGENTS.md into the rules it gives an agent
9 rules. About 0 are common, 8 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈8
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 55
Use design-skill for creation and refine-skill for evidence-backed maintenance.
- Distinctive: line 59
Prefer precise verbs and established terms over explanatory padding.
- Distinctive: line 60
Remove tutorials, micromanagement, repeated policy, obvious advice, and speculative edge cases.
- Distinctive: line 61
Prefer consolidation over rule accumulation.
- Distinctive: line 62
Keep skills portable and self-contained.
- Distinctive: line 63
Check format and links; use behavioral evaluation when a consequential uncertainty warrants it.
- Very specific: line 71
Use ./agents/tmp/ for disposable files.
- Distinctive: line 99
Use relevant examples as inspiration, not requirements.
- Distinctive: line 108
Use the Agent Skills specification for portable packaging.
≈ “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
Reusable process skills
Skills standardize capable agents' working conventions across projects. They do not teach expertise or improve the agent. Trust the agent's judgment; specify only the conventions that matter.
Categories
- Passive: scoped, persistent guidance once enabled, like an MTG static ability.
- Triggered: a workflow initiated by a non-user event when its conditions hold, like an MTG triggered ability.
- Activated: an explicitly requested workflow, like an MTG activated ability. It may be finite or explicitly continuous.
Store skills in skills/<passive|activated|triggered>/<name>/SKILL.md. Frontmatter requires name, a concise description, and metadata.category. Names are unique across categories. A triggered skill’s description states its trigger conditions so agents can fire it without reading the body; when too complex to state fully, give encompassing initial conditions plus “ and extra conditions.” and specify the full condition list inside the skill. Activated Codex adapters set policy.allow_implicit_invocation: false in agents/openai.yaml; passive and triggered adapters allow implicit invocation. Directory names and adapters do not implement event dispatch.
Installation
Use install-dev-skills. For an unscoped request, the first response must ask 1. Project-wide or 2. Agent-wide, then stop until answered. Do not infer the choice from the current repository or begin installation while waiting. Install and verify, then ask about self-improvement and save the choice in the applicable AGENTS.md. Authoring this workflow does not execute it.
Skill selection
Scan the request terms below or a skill’s frontmatter description. Load the workflow matching the requested outcome and only the passive conventions enabled for that work. A keyword is a routing hint, not permission to start another task.
- Testing:
testing-doctrinegoverns test cadence and coverage;design-validationdesigns the checks;diagnose-and-repairinvestigates a failing behavior. - Improvement:
run-experimentanswers a bounded comparison;indefinite-looprepeats experiment batches only when continuous work is requested. - Documentation:
documentation-styleshapes ordinary edits;polish-docsredesigns the first-use experience. - Delivery:
git-disciplinegoverns repository changes;operate-workflowhandles external operations;audit-and-resolveassesses findings;coordinate-workmanages assignments.
Switch workflows when the objective changes; preserve the shared goal record. Cross-links provide related guidance; they do not require loading the whole collection or invoking every linked workflow.
| Request terms | Read |
| install dev-skills, project-wide, agent-wide | install-dev-skills |
| claims, citations, uncertainty | evidence-discipline |
| scope, requirements, ownership | contract-discipline |
| pre-commit, PID/PII, secrets, privacy leaks | security-hygiene-check |
| commit, push, merge, branches | git-discipline |
| test cadence, nightly, release gates | testing-doctrine |
| wording, terminology, examples | documentation-style |
| checkpoint, resume, history | scratch-space |
| context paging, page out, page in, offload context | context-paging |
| compaction, compact, handoff summary | context-compaction-procedure |
| periodic workflow, timed skill, shared timers | design-time-triggered-skill |
| fresh session, weekly compaction | maintain-scratch |
| create skill, author workflow | design-skill |
| correction, workflow gap, refine, self-improvement | refine-skill |
| README, onboarding, quickstart | polish-docs |
| debug, crash, regression | diagnose-and-repair |
| test plan, acceptance, coverage gaps | design-validation |
| benchmark, compare, feasibility | run-experiment |
| continuous optimization, metrics | indefinite-loop |
| delegate, parallelize, handoff | coordinate-work |
| review, audit, PR findings | audit-and-resolve |
| deploy, migrate, resume job | operate-workflow |
Authoring
Use design-skill for creation and refine-skill for evidence-backed maintenance.
README.mdis for humans and is marketing-centric: communicate concrete value, credible proof, and a clear path to adoption.AGENTS.mdis for computers and is utility-centric: provide precise routing, constraints, commands, and decision rules. Keep agent operating instructions out of the README and promotional prose out of AGENTS. Marketing remains evidence-driven, without exaggeration.- Specify outcomes and consequential decision criteria; delegate execution mechanics.
- Prefer precise verbs and established terms over explanatory padding; preserve scope and qualifiers.
- Remove tutorials, micromanagement, repeated policy, obvious advice, and speculative edge cases. Every sentence costs attention.
- Prefer consolidation over rule accumulation. Do not hide verbosity in references.
- Keep skills portable and self-contained. Add supporting files only for necessary task-specific material.
- Check format and links; use behavioral evaluation when a consequential uncertainty warrants it.
Scratch space
Fresh-session startup: on the first project-context load after the initial user prompt, read triggered maintain-scratch and check its entry in agents/scratch/timers.json. Run it if due (seven-day default). Check once per project per fresh session, not per task or context-window compaction. Preserve checked state across context handoffs. Shared timer completion advances only after verified maintenance; this is independent of self-improvement enablement.
Use scratch-space for durable, Git-versioned task notes in ./agents/scratch/. Never ignore this directory; include relevant note updates when committing authorized work. Retain only resumption state, costly evidence, and ongoing operational policy not recoverable from canonical files or Git. Scratch is not a changelog: no routine edit summaries, completion receipts, or duplicate skill lessons. All skills’ scratch instructions follow this retention rule; completed tasks usually need no note. Delete obsolete records rather than archiving them by default. Read-only task scope still applies.
Use ./agents/tmp/ for disposable files. Always keep /agents/tmp/ in the root .gitignore; never force-add its contents. Retain reusable evidence in durable storage.
Context paging opt-in
Context-paging stores exact context in agents/context-paging/context.db (gitignored) so compaction and session boundaries do not lose it. Harness capture is per-project opt-in and only runs for subscribed projects. Once per session, before substantive work, check in order and stop at the first that holds:
python3 skills/activated/context-paging/scripts/cp_subscribed.pyexits 0 — this project is subscribed and the harness plugin is active. Skip silently.agents/tmp/context-paging.jsonrecords{"harness_install": "declined"}. Skip silently.- Otherwise ask: "Install context paging in your harness for this project? It captures the full conversation automatically and keeps paged context recoverable." On yes, follow the skill's harness wiring (references/kimi-hooks.md, references/codex-hooks.md) this session, subscribing last. On no, write
{"harness_install": "declined"}toagents/tmp/context-paging.json. Any other answer defers to the next session; ask at most once per session.
Context compaction
Fresh-session startup: on the first project-context load, read triggered context-compaction-procedure once before substantive work, so its procedure is resident when compaction occurs; preserve this across context handoffs. When compaction occurs and context-paging is enabled for this project, that skill's statement replaces harness compaction instructions.
Pre-commit security gate
Before every project commit, including amendments and merges, run security-hygiene-check on the final candidate after all edits. Apply the natural-language disclosure policy in agents/scratch/security-policy.md; findings outside its approved scope require an explicit user disposition before committing, even when commit/push permission already exists. Recheck changed candidates. This gate is independent of self-improvement enablement.
Self-improvement
Self-improvement: enabled.
Always read and consider refine-skill. It is a cross-cutting metaskill, not an optional route selected by task keywords.
When skill use ends, before the final response, evaluate user corrections, recurring friction, workflow gaps, and verified reusable lessons. When self-improvement is enabled, coalesce skills used for the same activity into one evidence-backed refinement pass within the task's write scope, validate any edits, and include them in the authorized task commit. Include blocked or interrupted skill use; rereading a skill does not retrigger the check. No evidence means no edit; refinement does not recursively trigger itself. Set Self-improvement: disabled. to disable automatic edits, not the requirement to read and consider the metaskill. Explicit refinement requests still apply.
Reference skill libraries
Use relevant examples as inspiration, not requirements. Favor this collection's minimalism over a reference library's complexity; check licenses before copying material.
| Library | Useful ideas to examine |
| Anthropic skills | Self-contained packaging, concise entrypoints, and supporting resources for substantial workflows. |
| Obra Superpowers | Composable development processes, explicit workflow transitions, and skill validation practices. Adapt individual ideas without importing the entire methodology. |
| Vercel agent-skills | Clear use conditions, impact-based prioritization, and separation of collections into focused skills. Generalize relevant process ideas from stack-specific examples. |
| Hermes Agent bundled skills | Default skill architecture, capability-focused discovery, progressive disclosure, and evidence-driven refinement. Inspect its skill authoring procedure and distinguish portable principles from Hermes-specific runtime policies. |
Use the Agent Skills specification for portable packaging. It is a format reference, not a skill library. Verify current content when relying on external conventions; avoid preserving star counts or treating popularity as evidence of effectiveness.
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.

