Snap agents md
SNAP — agent skills for smart models that ship real software.
npx -y skills add sadiksaifi/skills --skill snap-agents-mdAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Create, regenerate, or refine AGENTS.md repo instruction scopes. Use for project agent instructions, monorepo instruction layouts, stale AGENTS.md rewrites, instruction aliases, or bootstrap agent context. Trigger on "/snap-agents-md", "snap agents md", "write AGENTS.md", "fix AGENTS.md", "project AI instructions", or equivalent phrasing.
SKILL.md
1.8 KB, as published. Nobody here has run it
AGENTS.md is canonical: root = repo defaults, nested = subtree deltas; parent applies unless local overrides, nearest wins, user wins. Add scopes for behavior splits, not folder taxonomy; CLAUDE.md is inventory context/optional alias.
Process
-
Inventory
- Find all
AGENTS.md/CLAUDE.mdwith available search tools (fd,find,rg, glob); include symlinks/hidden paths when relevant. - For each path: record link target and resolved realpath.
- Same realpath = aliases; read once. Distinct real files = read both as context.
- Find all
-
Explore
- Read manifests, workspace config, lockfiles, scripts, docs, tests, deploy seams, generated paths, domain seams.
-
Decide files
- Classify: single-root, multi-scope, domain-scoped, divergent monorepo.
- Show before drafting:
path | purpose | template | action. - Ask only for missing intent, conflicts, or risky overwrite.
-
Draft AGENTS.md
references/single-root-template.md— one repo-wide scope.references/multi-scope-root-template.md— root defaults plus nested scopes.references/scoped-template.md— subtree deltas.
-
Apply
- Show draft first; diff before overwrite; write AGENTS.md only.
- After writes, show final AGENTS.md paths.
- Ask: “Do you want cleanup: create CLAUDE.md symlinks beside these AGENTS.md files and remove old AGENTS.md/CLAUDE.md files?”
- Before removing or replacing any real file, show the exact path and require explicit yes.