agentleFS
shunk031shunk031/dotfiles/AGENTS.md

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.

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
  1. Very specific:

    When asked to add, change, or remove a skill, use the shunk031-manage-public-private-skills skill to decide which repository owns it before …

    line 17
  2. Very specific:

    When adding or updating comments for shell scripts or shell-based executables, write them in English using shdoc-compatible format.

    line 22
  3. Very specific:

    Never run bats locally; use GitHub Actions only when the push/CI workflow is separately authorized.

    line 33

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

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 by chezmoi into the user's $HOME directory.
  • Private source: Private dotfiles are managed separately from ~/.local/share/chezmoi-private with config at ~/.config/chezmoi-private/chezmoi.yaml.
  • Management boundary: Treat the public home/ tree and the private chezmoi source/config as separate management domains.
  • Codex boundary: This repo manages the Codex CLI, shared guidance, ~/.codex/AGENTS.md, and ~/.codex/agents; dotfiles-private manages ~/.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-private and remain individually selected by the private dotfiles.
  • When asked to add, change, or remove a skill, use the shunk031-manage-public-private-skills skill to decide which repository owns it before editing anything.
  • Adding a public skill to shunk031/skills needs no subscription edit here. Upstream deletions are pruned automatically from the skills update warning; SKILLS_RETIRED_NAMES remains for renames or cases the warning does not cover. Third-party selections and the public repository subscription are configured in install/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-docs skill for detailed conventions.

Development Setup

  • In every new clone or worktree, run make setup before editing or committing.
  • In linked worktrees, setup reuses an existing prek hook without changing it; if another hook exists, only an unset/default or repo-local core.hooksPath supports running setup from the main checkout so prek can preserve it as .legacy and 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.toml and 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_version in the same pull request, and record the requirement in the pull request description.

Test Policy

  • Never run bats locally; use GitHub Actions only when the push/CI workflow is separately authorized.

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.