agentleFS
MSiccDevMSiccDev/ai-context-kit/skills/create-agents-md/SKILL.md

create-agents-md

Skill12 starsChanged 4 months agoMITView on GitHub

Create concise, repository-specific AGENTS.md files with operational contract, precedence rules, and drift-control guidance.

3 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

8 rules. About 0 are common, 7 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈7

    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 this skill when adding or refreshing repository AGENTS.md.

    line 17
  2. Distinctive:

    Use this skill when repository map, precedence, and session controls must be documented concisely.

    line 18
  3. Distinctive:

    Do not use this skill for project/user instruction file generation.

    line 19
  4. Very specific:

    Run seven-phase discovery using references/discovery-phases.md.

    line 28
  5. Distinctive:

    Ensure links/paths remain relative and repository-accurate.

    line 33
  6. Distinctive:

    Do not duplicate full normative specs in AGENTS.

    line 51
  7. Distinctive:

    Keep guidance deterministic and testable.

    line 53
  8. Distinctive:

    Use relative path references only.

    line 54

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill 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
SKILL.md

Create AGENTS.md

Purpose

Generate a complete root AGENTS.md file that acts as an operational entrypoint while preserving source-of-truth and repository governance rules.

When To Use

  • Use this skill when adding or refreshing repository AGENTS.md.
  • Use this skill when repository map, precedence, and session controls must be documented concisely.
  • Do not use this skill for project/user instruction file generation.

Required Inputs

  • Repository purpose and canonical paths.
  • Source precedence and key references.
  • Session-state defaults and command namespace rules.
  • Drift-control requirements.

Workflow

  1. Run seven-phase discovery using references/discovery-phases.md.
  2. Apply required element contract from references/required-elements.md.
  3. Generate artifact using references/output-format.md.
  4. Stamp <!-- spec_version: 1.5.0 --> as an HTML comment at the top of the generated AGENTS.md.
  5. Validate result against references/quality-checklist.md.
  6. Ensure links/paths remain relative and repository-accurate.

Output Expectations

  • One complete root AGENTS.md file.
  • Includes purpose, precedence, repo map, command policy, and drift-control.
  • Uses provider-neutral wording and valid relative links.
  • Remains scannable and operationally actionable.
  • Output contract and summary format follow references/output-format.md.

Resources

  • Discovery workflow: references/discovery-phases.md
  • Required element contract: references/required-elements.md
  • Output contract: references/output-format.md
  • Quality checklist: references/quality-checklist.md
  • Canonical template: ../../templates/AGENTS_template.md
  • Repository example: ../../AGENTS.md

Constraints And Safety

  • Do not duplicate full normative specs in AGENTS.
  • Preserve canonical path stability.
  • Keep guidance deterministic and testable.
  • Use relative path references only.

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.