agents-md
SKILL.md
Agents.md
Use this skill to manage the workspace-root AGENTS.md file from robinebers/agents.md.
Source Of Truth
- Treat
https://raw.githubusercontent.com/robinebers/agents.md/main/AGENTS.mdas the canonical upstream file. - Work on the workspace-root
AGENTS.mdunless the user explicitly asks for another path. - Preserve intentional local edits during updates, especially repo-specific notes and the
## User Notessection. - If the workspace already has
AGENTS.md, do not overwrite it during install. Switch to the update workflow instead.
Install Workflow
Run this when the user asks to install, add, or bootstrap AGENTS.md.
- Check whether
AGENTS.mdalready exists at the workspace root. - If it does not exist, install it with:
curl -fsSL https://raw.githubusercontent.com/robinebers/agents.md/main/AGENTS.md -o AGENTS.md
- Verify the file exists and report the version line if present.
- If
AGENTS.mdalready exists, do not clobber it. Explain that the file is already installed and use the update workflow if the user wants latest upstream content.
Update Workflow
Run this when the user asks to update AGENTS.md to the latest version.
- Fetch the upstream file into a temporary path, not directly over the local file.
tmpfile="$(mktemp)"
curl -fsSL https://raw.githubusercontent.com/robinebers/agents.md/main/AGENTS.md -o "$tmpfile"
- Compare the upstream file with the local
AGENTS.md. - If there is no effective change, say so and leave the file untouched.
- If upstream changed, merge the latest upstream content into the local file without losing intentional local edits.
- Preserve local notes by default, especially under
## User Notes. - When a rule changed upstream and the local file also changed in the same area, prefer the user's local customization only when it is clearly intentional. Otherwise prefer upstream wording.
- Replace the local file only after the merge result is ready, then verify the final file on disk.
Merge Rules
- Keep the file as a single
AGENTS.md; do not split it into helper docs. - Preserve repo-specific local notes, custom commands, and user-maintained sections.
- Keep the upstream version header current after a successful update unless the user intentionally changed it.
- If the merge is ambiguous, surface the conflict briefly and ask one blocking question instead of guessing.
Typical Triggers
- "Install Robin's AGENTS.md here."
- "Add your AGENTS file to this repo."
- "Update the agents to the latest version."
- "Refresh AGENTS.md without losing our local notes."
Done Criteria
AGENTS.mdexists at the intended root path.- Installs use the upstream raw URL above.
- Updates preserve intentional local content while bringing in upstream changes.
- The final response states whether the operation was install, no-op, or merged update.
Weekly Installs
2
Repository
robinebers/skillsFirst Seen
7 days ago
Security Audits
Installed on
amp2
cline2
opencode2
cursor2
kimi-cli2
codex2