agent-skills
AGENTS.md3 starsChanged 8 days agoMITView on GitHub
This repository authors and distributes the coding collection of portable Agent Skills. The Skills are semantic guidance usable by any compatible agent environment; this repository does not provide or require a workflow engine.
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 repository34 other files it gives its agents.
- docs/AGENTS.mdAGENTS.md
- analyze-projectSkill
- api-contract-strategySkill
- architecture-patternsSkill
- close-changeSkill
- design-changeSkill
- development-standardsSkill
- docker-multiarch-buildSkill
- error-patternsSkill
- go-guidelinesSkill
- herdr-implementSkill
- implement-changeSkill
- logging-standardsSkill
- lua-guidelinesSkill
- organize-docsSkill
- output-stylesSkill
- plan-changeSkill
- powershell-guidelinesSkill
- python-guidelinesSkill
- review-changeSkill
- review-designSkill
- review-implementationSkill
- review-planSkill
- routeros-scripting-guidelinesSkill
- runtime-diagnosisSkill
- security-guardrailsSkill
- shell-guidelinesSkill
- skill-authoringSkill
- skill-minerSkill
- skills-routingSkill
- smart-commitSkill
- sops-age-guardrailsSkill
- sync-truthSkill
- testing-strategySkill
The file
We split this AGENTS.md into the rules it gives an agent
5 rules. About 0 are common, 2 are distinctive, and 3 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.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 25
Keep this ownership split when changing guidance here.
- Distinctive: line 37
Keep Skills provider-neutral and self-contained under the standard Agent Skills directory shape.
- Very specific: line 38
Keep frontmatter descriptions precise enough for native discovery.
- Very specific: line 41
Use an existing installation manager, preferably npx skills, for cross-platform installation and explicit refresh.
- Very specific: line 42
Use apply_patch for source edits and preserve unrelated working-tree changes.
≈ “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
Project
This repository authors and distributes the coding collection of portable Agent Skills. The Skills are semantic guidance usable by any compatible agent environment; this repository does not provide or require a workflow engine.
Truth And Installation
skills/<public-id>/is the single authored and installable Skill tree. Edit its instructions, resources, scripts, and provider metadata directly.contracts/skills.tomlowns public IDs, activation, roles, permissions, and optional semantic dependencies; each ID resolves to its directory underskills/.- The installed routing references own the scope contract between neighboring Skills (clusters and handoffs in
routing.toml) and the session selection rules inrouting.md, including direct-match bypass and one-primary-response composition; they define no runtime mode or lifecycle. tests/fixtures/selection-probes.tomlholds uninstalled paired selection probes for discovery audits; checks validate its identifiers, not model behavior.docs/architecture/contains stable architecture truth.- Shared boundaries, all new designs/plans and retained evaluations belong to
$AGENT_ARCHITECTURE_DIR/docs/; historical commands belong to itsarchived/agent-skills/commands/tree. Do not create product-local evolution records. - Resolve the three source roots and
TMPDIRfrom this repository's mise configuration; retained runtime and temporary artifacts belong under$TMPDIR/skills/, and cross-repository maintenance must not guess checkout layout. Standalone product checks and runtime never require the architecture checkout. - Use the project environment and supported entrypoints described in
README.md#project-environment;mise.tomlowns ordinary development context, while the standalone check remains usable without mise or personal global configuration. Re-establish target context when crossing projects and preserve caller-owned run isolation; do not duplicate environment values in this file. - Global discovery uses an independent installed copy, directly or through host links to that copy. Source edits, Git updates, and checks must not update installed Skills; an explicitly authorized install/update owns that mutation.
- Provider plugin manifests are optional packaging surfaces. Their installed content follows the same source/installation separation and grants no workflow authority.
Instruction Scope
- Harness-global instructions own persistent user preferences and thin compaction/recovery reminders. Do not rely only on a task-loaded Skill to retain those preferences, and do not put task-specific permissions or lifecycle procedures in global instructions.
- Project
AGENTS.mdowns repository policy. The project's current design, plan, or approval summary records the task's effective objective, delivery endpoint, authorized actions and targets, exclusions, and unresolved decisions; those records document explicit approval rather than grant it. - Skills own portable workflow and domain methods, including how to maintain and reconcile those project records. Session summaries are recall, not another approval source or a parallel live plan.
- Keep this ownership split when changing guidance here. A Skill edit does not authorize editing harness-global files; update those files only within separately approved scope. Keep superseded task restrictions in history rather than as contradictory current gates.
Skill Composition
- Directly matched Skills do not require the optional
skills-routingentry. Its method references may be read independently for a relevant unresolved choice. - The active coding agent owns request interpretation, Skill selection, sequencing, evidence judgment, optional review, finding adjudication, and the final response.
- Review is conditional on an explicit request, an applicable repository or approved-scope rule, or an evidence-backed risk or uncertainty judgment. A standalone
review-changestarts from the supplied bounded target and does not synthesize upstream work. - Review evaluators are read-only. The calling design, planning, or implementing agent adjudicates findings and authorizes accepted repairs; bounded implementation, verification execution, diagnosis, and repair labor may be delegated when the host and applicable policy permit it. Final acceptance and continuation decisions remain with the calling agent.
- Skills preserve user and repository authorization boundaries. They never imply commit, push, publication, deployment, destructive history changes, or external mutation.
Working Rules
- Keep Skills provider-neutral and self-contained under the standard Agent Skills directory shape.
- Keep frontmatter descriptions precise enough for native discovery. For a change to a description, admission boundary, or neighboring handoff, apply
skills/skill-authoring/and update the scope contract before the summaries that restate it. - Store only real semantic dependencies in
semantic_requires; do not add executable workflow contracts, artifact validators, task graph compilers, mutable ledgers, replay logic, provider adapters, or prompt-space lifecycle gates. - Keep the public inventory in
contracts/skills.toml; change IDs only as part of an authorized rename, consolidation, or retirement, updating discovery, the scope contract, probes, and references together, and report installed copies or host global entries that still name the old ID. Maintain portable resource closure within each Skill directory. - Use an existing installation manager, preferably
npx skills, for cross-platform installation and explicit refresh. Preserve unrelated installed Skills, verify ownership before replacing existing paths, and remove retired owned IDs explicitly; never mirror-delete the shared discovery root. - Use
apply_patchfor source edits and preserve unrelated working-tree changes.
Validation
Choose checks for the changed surface after a cohesive group of edits:
- Skill instructions, references, or inventory:
mise exec -- python3 scripts/check-contracts.pyandmise exec -- python3 scripts/check-install-surface.pycover discovery, contracts, and resource closure. Use applicable prose/link checks for changed documentation. - Executable scripts or validators: run their focused tests and relevant syntax, lint, or type checks. Keep unchanged evidence after a repair unless its inputs or behavior were affected.
- Diagram sources or rendering: regenerate affected projections with their owned renderer and check those outputs; ordinary prose changes do not require diagram generation.
mise run checkis the full product check for relevant broad impact or explicit delivery acceptance. The main agent coordinates it and any standalone check at integration or delivery; workers normally return their relevant local results.
For optional Codex plugin metadata changes, also run the repository-independent plugin validator. No install, version bump, commit, push, publication, or consumer-state mutation is implied by validation.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
Reviews can't be read right now.
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.

