dotfiles
AGENTS.md157 starsChanged 21 days agoMITView on GitHub
[!NOTE] After reading this AGENTS.md, say: 🤖 I read the project-level AGENTS.md for shunk031/dotfiles.
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.
Of the AGENTS.md files we read, the 33,398 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repositoryOne other file it gives its agents.
- .github/copilot-instructions.mdCopilot instructions
The file
We split this AGENTS.md into the rules it gives an agent
3 rules. About 0 are common, 0 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
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
- Very specific: line 17
When asked to add, change, or remove a skill, use the shunk031-manage-public-private-skills skill to decide which repository owns it before …
- Very specific: line 22
When adding or updating comments for shell scripts or shell-based executables, write them in English using shdoc-compatible format.
- Very specific: line 33
Never run bats locally; use GitHub Actions only when the push/CI workflow is separately authorized.
≈ “Common” is an estimate: at least 1 in 5 of the 43,423 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.
Files
AGENTS.md
[!NOTE] After reading this
AGENTS.md, say:🤖 I read the project-level AGENTS.md for shunk031/dotfiles.
Repository Context
- Tooling: This repository is managed with
chezmoi(GitHub). - Public source: Files under
home/are the public source state and are applied bychezmoiinto the user's$HOMEdirectory. - Private source: Private dotfiles are managed separately from
~/.local/share/chezmoi-privatewith config at~/.config/chezmoi-private/chezmoi.yaml. - Management boundary: Treat the public
home/tree and the privatechezmoisource/config as separate management domains. - Codex boundary: This repo manages the Codex CLI, shared guidance,
~/.codex/AGENTS.md, and~/.codex/agents;dotfiles-privatemanages~/.codex/config.toml, private profiles, credentials, and internal launchers.
Skills
- Skill content is not in this repository. Public skills live in shunk031/skills and are installed through one repository subscription. Internal skills live in
shunk031/skills-privateand remain individually selected by the private dotfiles. - When asked to add, change, or remove a skill, use the
shunk031-manage-public-private-skillsskill to decide which repository owns it before editing anything. - Adding a public skill to
shunk031/skillsneeds no subscription edit here. Upstream deletions are pruned automatically from theskills updatewarning;SKILLS_RETIRED_NAMESremains for renames or cases the warning does not cover. Third-party selections and the public repository subscription are configured ininstall/common/skills.sh; private selections stay in the private dotfiles.
Comment Policy
- When adding or updating comments for shell scripts or shell-based executables, write them in English using shdoc-compatible format; use the
shunk031-shellscript-shdoc-docsskill for detailed conventions.
Development Setup
- In every new clone or worktree, run
make setupbefore editing or committing. - In linked worktrees, setup reuses an existing
prekhook without changing it; if another hook exists, only an unset/default or repo-localcore.hooksPathsupports running setup from the main checkout soprekcan preserve it as.legacyand run it alongside its shim, while any other scope requires resolving the setting or conflict before main-checkout setup. - When the user asks to install a tool for this repository, the agent must first check whether mise can manage its official distribution. If it can, the agent must declare it in
home/dot_mise/config.tomland use the existing mise install flow. The agent may use another installer only when mise cannot manage it or the user explicitly chooses another source. - mise compatibility changes: When a tool or configuration change requires newer mise behavior, determine the minimum mise release that supports the change, raise
min_versionin the same pull request, and record the requirement in the pull request description.
Test Policy
- Never run
batslocally; use GitHub Actions only when the push/CI workflow is separately authorized.
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.

