create-agentsmd
Skill0 starsChanged 3 months agoMITView on GitHub
Create, revise, or audit repository AGENTS.md files using codebase evidence, verified commands, and correctly scoped monorepo instructions.
5 other projects use a version of this.
Adopted by
Most recently taken up by
- zz-zhi54/skillstheir own version, first seen Oct 5, 2026
- github/awesome-copilottheir own version, first seen Sep 23, 2026
- DarkRader/agentstheir own version, first seen Aug 23, 2026
- xeroc/skillstheir own version, first seen Jul 17, 2026
- ukeSJTU/agentstheir own version, first seen Jul 14, 2026
Used with
Projects with it also use skill-creator.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
MicrosoftSkillskill-creator
Guide for creating effective GitHub Copilot skills (.github/skills/) in this repository. Use when creating a new skill, updating an existing skill, or when asked about skill structure, format, or best practices for the vscode-documentdb project.
Also in 3 projects that use this
Other versions5 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 5
- github/awesome-copilot★ 40ksame name
- xeroc/skills★ 1same name
- zz-zhi54/skills★ 1same name
- DarkRader/agents★ 0same name
- ukeSJTU/agents★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository3 other files it gives its agents.
- AGENTS.mdAGENTS.md
- bridges/CLAUDE.mdCLAUDE.md
- scan-agent-instructionsSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
14 rules. 0 are common, 11 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 5 edited versions we read keep these.
11
Distinctive
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 14
Treat the user's request as the editing scope.
- Very specific: line 16
Read existing AGENTS.md, CLAUDE.md, GEMINI.md, .github/copilot-instructions.md, and relevant .github/instructions/*.instructions.md files …
- Distinctive: line 19
If an AGENTS.md exists, improve it in place.
- Distinctive: line 21
Do not silently resolve conflicting instructions.
- Very specific: line 29
Read the project overview and contribution guidance (README*, CONTRIBUTING*, and relevant documentation).
- Distinctive: line 31
Read package and workspace manifests, lockfiles, task runners, and build configuration to identify the supported package manager and exact …
- Distinctive: line 33
Read CI workflows to learn the checks maintainers require.
- Distinctive: line 37
Check for generated files, migrations, vendored code, large fixtures, secrets boundaries, and deployment-only operations that an agent …
- Very specific: line 41
Prefer rg and rg --files for discovery when available.
- Distinctive: line 47
Use a root AGENTS.md for repository-wide instructions.
- Distinctive: line 51
Keep shared rules at the root and put only differences in nested files.
- Distinctive: line 58
Use headings that fit the repository instead of forcing a fixed template.
- Distinctive: line 73
Write direct, testable statements.
- Distinctive: line 114
If nested files were added, confirm each contains only rules needed for its subtree and does not accidentally conflict with the root.
“Common” is measured: kept by at least 6 in 10 of the 5 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Create or improve AGENTS.md
Produce an AGENTS.md that helps a coding agent make correct changes without
rediscovering the repository workflow. Base every repository-specific claim on
files or safe checks in the current checkout.
Preserve intent
- Treat the user's request as the editing scope. Do not add unrelated policy or reorganize the repository.
- Read existing
AGENTS.md,CLAUDE.md,GEMINI.md,.github/copilot-instructions.md, and relevant.github/instructions/*.instructions.mdfiles before writing. - If an
AGENTS.mdexists, improve it in place. Preserve accurate maintainer-authored rules and make a focused diff. - Do not silently resolve conflicting instructions. Preserve the higher-priority rule or ask when repository evidence cannot establish the intended behavior.
Build an evidence map
Inspect only the files needed to establish how the repository works:
- Read the project overview and contribution guidance (
README*,CONTRIBUTING*, and relevant documentation). - Read package and workspace manifests, lockfiles, task runners, and build configuration to identify the supported package manager and exact commands.
- Read CI workflows to learn the checks maintainers require. Do not assume every CI job is appropriate to run locally.
- Inspect representative source and test files for naming, layout, and testing conventions. Avoid exhaustive scans when a few files establish the pattern.
- Check for generated files, migrations, vendored code, large fixtures, secrets boundaries, and deployment-only operations that an agent should not modify or run casually.
Prefer rg and rg --files for discovery when available. Keep track of the
source for each command, path, or non-obvious rule so unsupported claims do not
enter the final file.
Choose the right scope
Use a root AGENTS.md for repository-wide instructions. Add or revise a nested
AGENTS.md only when a subproject has materially different commands,
architecture, safety boundaries, or conventions.
Keep shared rules at the root and put only differences in nested files. When
multiple files apply, the nearest AGENTS.md in the directory tree takes
precedence for implementations that follow the public AGENTS.md convention. Do
not duplicate the complete root file in every package.
Write high-signal instructions
Use headings that fit the repository instead of forcing a fixed template. When the evidence exists, cover:
- Repository map: the few directories and boundaries an agent must know.
- Setup and commands: exact install, development, build, lint, type-check, and test commands, including working directory and targeted-test forms.
- Change rules: generated-file ownership, migrations, API or schema contracts, dependency policy, and cross-package coordination.
- Validation: the smallest relevant check for a focused change and broader checks required before handoff.
- Safety: secrets, production data, destructive commands, deployment, and operations that require explicit authorization.
- Contribution conventions: repository-specific naming, formatting, pull-request, or commit rules that affect implementation or handoff.
Write direct, testable statements. Prefer:
- Run `npm test -- path/to/file.test.ts` for a focused test from the repository root.over:
- Make sure the tests pass and follow best practices.State where each command runs when that is not obvious. Distinguish required
checks from optional or expensive checks. Link to maintained documentation
instead of copying it into AGENTS.md.
Exclude low-value or unsafe content
Do not include:
- placeholder commands, guessed paths, or claims inferred only from a tool's popularity;
- long project descriptions already maintained in the README;
- style advice already enforced by a formatter or linter unless an agent needs a non-obvious invocation or exception;
- secrets, credentials, internal URLs, personal data, or environment values;
- instructions to deploy, publish, delete data, rewrite history, or run other consequential operations without the authorization they require;
- blanket mandates such as "fix every failing test" when failures may be pre-existing or unrelated.
Validate the result
Before finishing:
- Re-read every changed
AGENTS.mdcompletely and remove duplication, contradictions, placeholders, and stale claims. - Confirm every mentioned file and directory exists.
- Cross-check commands against manifests or CI. Run safe, proportionate checks when useful; do not run deployments or destructive commands merely to validate documentation.
- If nested files were added, confirm each contains only rules needed for its subtree and does not accidentally conflict with the root.
- Review the diff as a maintainer would: each added line should change an agent's decision or prevent a realistic mistake.
Report the files changed, repository evidence used, checks performed, and any unresolved uncertainty. Never claim a command was tested when it was only read from configuration.
Optional independent check
For a browser-local second opinion, paste the finished file into the free Repo Agent Kit checker. This is optional and must not replace repository evidence or local validation.
Primary format guidance: agents.md. GitHub Copilot support and precedence details: GitHub Docs.
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.

