agentleFS
curvedinfcurvedinf/dev-skills/AGENTS.md

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…

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
  1. Distinctive:

    Use design-skill for creation and refine-skill for evidence-backed maintenance.

    line 55
  2. Distinctive:

    Prefer precise verbs and established terms over explanatory padding.

    line 59
  3. Distinctive:

    Remove tutorials, micromanagement, repeated policy, obvious advice, and speculative edge cases.

    line 60
  4. Distinctive:

    Prefer consolidation over rule accumulation.

    line 61
  5. Distinctive:

    Keep skills portable and self-contained.

    line 62
  6. Distinctive:

    Check format and links; use behavioral evaluation when a consequential uncertainty warrants it.

    line 63
  7. Very specific:

    Use ./agents/tmp/ for disposable files.

    line 71
  8. Distinctive:

    Use relevant examples as inspiration, not requirements.

    line 99
  9. Distinctive:

    Use the Agent Skills specification for portable packaging.

    line 108

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

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-doctrine governs test cadence and coverage; design-validation designs the checks; diagnose-and-repair investigates a failing behavior.
  • Improvement: run-experiment answers a bounded comparison; indefinite-loop repeats experiment batches only when continuous work is requested.
  • Documentation: documentation-style shapes ordinary edits; polish-docs redesigns the first-use experience.
  • Delivery: git-discipline governs repository changes; operate-workflow handles external operations; audit-and-resolve assesses findings; coordinate-work manages 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 termsRead
install dev-skills, project-wide, agent-wideinstall-dev-skills
claims, citations, uncertaintyevidence-discipline
scope, requirements, ownershipcontract-discipline
pre-commit, PID/PII, secrets, privacy leakssecurity-hygiene-check
commit, push, merge, branchesgit-discipline
test cadence, nightly, release gatestesting-doctrine
wording, terminology, examplesdocumentation-style
checkpoint, resume, historyscratch-space
context paging, page out, page in, offload contextcontext-paging
compaction, compact, handoff summarycontext-compaction-procedure
periodic workflow, timed skill, shared timersdesign-time-triggered-skill
fresh session, weekly compactionmaintain-scratch
create skill, author workflowdesign-skill
correction, workflow gap, refine, self-improvementrefine-skill
README, onboarding, quickstartpolish-docs
debug, crash, regressiondiagnose-and-repair
test plan, acceptance, coverage gapsdesign-validation
benchmark, compare, feasibilityrun-experiment
continuous optimization, metricsindefinite-loop
delegate, parallelize, handoffcoordinate-work
review, audit, PR findingsaudit-and-resolve
deploy, migrate, resume joboperate-workflow

Authoring

Use design-skill for creation and refine-skill for evidence-backed maintenance.

  • README.md is for humans and is marketing-centric: communicate concrete value, credible proof, and a clear path to adoption. AGENTS.md is 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:

  1. python3 skills/activated/context-paging/scripts/cp_subscribed.py exits 0 — this project is subscribed and the harness plugin is active. Skip silently.
  2. agents/tmp/context-paging.json records {"harness_install": "declined"}. Skip silently.
  3. 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"} to agents/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.

LibraryUseful ideas to examine
Anthropic skillsSelf-contained packaging, concise entrypoints, and supporting resources for substantial workflows.
Obra SuperpowersComposable development processes, explicit workflow transitions, and skill validation practices. Adapt individual ideas without importing the entire methodology.
Vercel agent-skillsClear use conditions, impact-based prioritization, and separation of collections into focused skills. Generalize relevant process ideas from stack-specific examples.
Hermes Agent bundled skillsDefault 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.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.