agentleFS
typeweavertypeweaver/skills/AGENTS.md

skills

AGENTS.md2 starsChanged 53 days agoMITView on GitHub

This repository owns reusable agent skills and thin agent adapters. Keep it small, explicit, and portable across supported agent harnesses. - Put stable software-engineering skills under skills/engineering/<name>/. - Every skill directory requires SKILL.md and agents/openai.yaml. - Define each agent once in agents/<name>/agent.yaml plus instructions.md. The harness adapters (claude.md, opencode.md, codex.toml, codex-profile.toml) are generated from that source with equip-it generate and stay committed; never edit them by hand. - Keep the installer CLI in cli/; it bundles skills/ and agents/ into…

The file

Show its rules and text

We split this AGENTS.md into the rules it gives an agent

18 rules. About 0 are common, 10 are distinctive, and 8 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈10

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 8

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Put stable software-engineering skills under skills/engineering/<name>/.

    line 8
  2. Very specific:

    Every skill directory requires SKILL.md and agents/openai.yaml.

    line 9
  3. Very specific:

    Keep the installer CLI in cli/.

    line 14
  4. Distinctive:

    Keep optional scripts, references, and assets inside the skill that owns them.

    line 16
  5. Distinctive:

    Keep CLAUDE.md as a symlink to AGENTS.md.

    line 17
  6. Distinctive:

    Keep the top-level README.md and the relevant bucket README.md in sync with every added, renamed, moved, or removed skill.

    line 19
  7. Very specific:

    Keep agents/README.md and the top-level README.md in sync with agent changes.

    line 21
  8. Very specific:

    Use scripts/ only for repository-wide maintenance helpers.

    line 23
  9. Distinctive:

    Write reusable instructions and repository documentation in English.

    line 34
  10. Very specific:

    Write Markdown prose as one sentence or clause per line.

    line 35
  11. Distinctive:

    Use model invocation when the agent can usefully discover the skill from the task context.

    line 38
  12. Very specific:

    Use agents for execution context, role, tool boundaries, or context isolation.

    line 48
  13. Very specific:

    Keep adapters thin. Route to skills by name instead of copying their rules.

    line 50
  14. Distinctive:

    Prefer a small set of durable roles over overlapping specialist agents.

    line 53
  15. Distinctive:

    Do not commit, push, publish, request external review, or merge unless the user explicitly asks for that action.

    line 68
  16. Distinctive:

    Do not weaken approval gates while adapting a skill to another harness.

    line 70
  17. Distinctive:

    Treat existing skill behavior as deliberate until a requested revision says otherwise.

    line 71
  18. Distinctive:

    Run these checks after changing the repository:

    line 76

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

Repository Guidelines

This repository owns reusable agent skills and thin agent adapters. Keep it small, explicit, and portable across supported agent harnesses.

Structure

  • Put stable software-engineering skills under skills/engineering/<name>/.
  • Every skill directory requires SKILL.md and agents/openai.yaml.
  • Define each agent once in agents/<name>/agent.yaml plus instructions.md. The harness adapters (claude.md, opencode.md, codex.toml, codex-profile.toml) are generated from that source with equip-it generate and stay committed; never edit them by hand.
  • Keep the installer CLI in cli/; it bundles skills/ and agents/ into the published package at pack time.
  • Keep optional scripts, references, and assets inside the skill that owns them.
  • Keep CLAUDE.md as a symlink to AGENTS.md; do not duplicate repository instructions by harness.
  • Keep the top-level README.md and the relevant bucket README.md in sync with every added, renamed, moved, or removed skill.
  • Keep agents/README.md and the top-level README.md in sync with agent changes.
  • Use scripts/ only for repository-wide maintenance helpers.

GLOSSARY.md at the repository root is the canonical domain language. Use those terms exactly. Do not invent synonyms for a defined term.

Writing skills

Read and apply the skill philosophy before adding, revising, or reviewing a skill. It defines the repository's rules for skill scope, triggering, structure, writing, safety, and validation.

  • Write reusable instructions and repository documentation in English.
  • Write Markdown prose as one sentence or clause per line. Keep every line under 120 characters; check-skills.sh fails on longer ones.
  • Match the directory name and the name field in SKILL.md exactly.
  • Use model invocation when the agent can usefully discover the skill from the task context. Use user-only invocation only for workflows that should start exclusively by an explicit human command, and encode that choice for every supported harness.
  • Give every agents/openai.yaml a display_name, short_description, and default_prompt. Declare invocation policy only when it deviates from the harness default of model invocation, mirroring the frontmatter convention.

Writing agents

  • Use agents for execution context, role, tool boundaries, or context isolation; keep reusable knowledge and procedures in skills.
  • Keep adapters thin. Route to skills by name instead of copying their rules.
  • Preserve the same role and safety boundary across harnesses while using each harness's native format.
  • Prefer a small set of durable roles over overlapping specialist agents.

Releases

  • The npm package equip-it is versioned with Changesets: add a changeset (pnpm changeset) to every release-worthy change. The release workflow opens a version PR on main; merging it publishes to npm.
  • Publishing happens only from release.yml through npm trusted publishing (OIDC). Never publish manually: publishConfig.provenance rejects publishes outside a supported CI, and pnpm release refuses to run outside GitHub Actions. Keep both guards in place.

Safety

  • Preserve unrelated working-tree changes.
  • Do not commit, push, publish, request external review, or merge unless the user explicitly asks for that action.
  • Do not weaken approval gates while adapting a skill to another harness.
  • Treat existing skill behavior as deliberate until a requested revision says otherwise.

Verification

Run these checks after changing the repository:

bash -n scripts/*.sh
./scripts/check-skills.sh
./scripts/check-agents.sh
node ./scripts/check-relative-links.mjs
./scripts/link-skills.sh --dry-run
./scripts/link-agents.sh --dry-run
pnpm check
git diff --check

Inspect the final diff and Git status before handing work back.

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.