dot
AGENTS.md10 starsChanged 55 days agoMITView on GitHub
This is fmind/dot — chezmoi + mise dotfiles for AI-CLI-first, Python-first development on Linux and macOS. Setup, usage, and common tasks live in README.md. See common tasks; mise tasks lists all tasks and aliases. Tasks run via mise run <task> (if mise is not in $PATH, call ~/.local/bin/mise directly). Invoking tasks from dot/ resolves to the same root definitions. Key routines:
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,773 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 repository101 other files it gives its agents.
- dot_agents/AGENTS.mdAGENTS.md
- skills/agent-project/templates/AGENTS.mdAGENTS.md
- skills/repository-docs/references/agents.mdAGENTS.md
- chezmoiSkill
- dot-developmentSkill
- dot-releaseSkill
- dot-skillsSkill
- dot-verifySkill
- acliSkill
- agent-evaluationSkill
- agent-frameworksSkill
- agent-harnessesSkill
- agent-loopsSkill
- agent-projectSkill
- agent-protocolsSkill
- agent-usageSkill
- agySkill
- airflowSkill
- ai-security-assessmentSkill
- api-clientSkill
- ast-grepSkill
- auth-statusSkill
- awsSkill
- benchmarkSkill
- bfSkill
- chrome-devtoolsSkill
- cli-developmentSkill
- clipboardSkill
- cloud-runSkill
- code-securitySkill
- colabSkill
- containerizeSkill
- course-developmentSkill
- databricksSkill
- data-migrationSkill
- delegate-tasksSkill
- diagrams-as-codeSkill
- dockerSkill
- documentation-siteSkill
- dot-cliSkill
- dprintSkill
- draft-mailSkill
- duckdbSkill
- fact-checkSkill
- fmind-visualsSkill
- full-reviewSkill
- gcloudSkill
- ghSkill
- git-deliverySkill
- github-actionsSkill
- github-issuesSkill
- github-pull-requestSkill
- github-repositorySkill
- git-worktreeSkill
- google-developerSkill
- gwsSkill
- handoffSkill
- hfSkill
- implementation-planSkill
- incident-responseSkill
- The first 60 shown.
The file
We split this AGENTS.md into the rules it gives an agent
4 rules. About 0 are common, 1 is distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
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
- Distinctive: line 13
Keep README for users; workflows go in skills: keep setup, auth, everyday usage, and a short task reference in README.md.
- Very specific: line 31
CLI (
dot): Follow dot-development for implementation, tests, and installation proof. - Very specific: line 33
Completions: Run mise run check:completions before release on the configured workstation.
- Very specific: line 49
Every root dot_* or private_dot_* source maps to its home target (dot_config/ holds application configuration).
≈ “Common” is an estimate: at least 1 in 5 of the 16,595 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 (Project)
This is fmind/dot — chezmoi + mise dotfiles for AI-CLI-first, Python-first development on Linux and macOS. Setup, usage, and common tasks live in README.md.
House rules
- Edit chezmoi sources, never deployed copies: change this repository, not files under
$HOME; automation always runschezmoi apply --force. Naming, templates, and secrets: chezmoi skill. - Match validation to the task: read-only reviews need only evidence checks; documentation and instruction edits need relevant formatting, links, and contract checks; behavior changes need focused regression tests and affected static checks. Run
mise run allfor cross-cutting changes, dependencies, packaging, releases, or explicit full qualification. Reuse passing results while relevant inputs remain unchanged. - Never commit decrypted secrets:
*.agefiles are encrypted; never modify or commit decrypted versions. Native credentials are create-only seeds; scoped keys usedot secret run. Preserve account overrides and keep values out of diff/log output; Secret Management owns setup and migration. - Never use sudo: stay user-space; install via
mise. - Track
latesthere, pin elsewhere: this repository trackslatestby default, including Python;dot_config/mise/config.tomlanddot_config/mise/mise.lockown the workstation baseline. Other repositories under~/fmind,~/fmind-ai, and~/mlops-coursespin exact versions from it. Mise owns selection and exceptions; upgrade-tools owns validated propagation. - Lock tools with mise, never edit generated locks: use mise lockfile revision 3 for reproducible tool installs. Keep the global lockfile and its referenced native dependency files together; do not edit or format generated files. Preserve the pgcli
withrequirement.mise run lockresolves the portable source baseline in isolation and captures its complete bundle;mise run toolsinstalls with--locked. Python application dependencies remain locked indot/uv.lock. - Keep README for users; workflows go in skills: keep setup, auth, everyday usage, and a short task reference in
README.md; keep detailed contributor workflows in skills. - Pin themes to fmind/theme: fmind/theme owns the palette and native app files. Fetch standalone themes via chezmoi externals pinned to one upstream commit with SHA-256 checksums (
mise run upgradeadvances the pin); when tools require merged styles, copy only the native theme block with an upstream source comment. Terminal tools follow the Ghostty ANSI palette or select terminal-aligned themes. - Inherit terminal fonts from Ghostty: terminal apps inherit GoogleSansCode Nerd Font Mono from Ghostty.
- Enable Vim mode in every TUI that supports it.
Workflows
See common tasks; mise tasks lists all tasks and aliases. Tasks run via mise run <task> (if mise is not in $PATH, call ~/.local/bin/mise directly). Invoking tasks from dot/ resolves to the same root definitions.
Key routines:
- Iterate: Edit source → run the relevant checks above → preview the affected chezmoi diff → apply when deployment is in scope. Apply executes eligible installation hooks as well as writing managed files. Lefthook runs commit/push checks; pre-run them only to diagnose a failure. CI retains the full gate.
- Documentation:
mise run check:skillschecks both skill catalogs, their context budgets, and local links in skills and root documentation. repository-docs owns documentation synchronization. - Workstation vs Gate:
mise run verifyandmise run doctorinspect local workstation health;mise run check,test, andallvalidate the repository.allalso formats files; isolate it when unrelated edits are present. - Add tool: Insert into
[tools]indot_config/mise/config.toml, alphabetically within its group (backend-prefixed entries, registry names, then per-platform tables) →chezmoi apply --force ~/.config/mise→mise run lock→mise run tools. - Upgrade tools:
mise run upgradeupdates this workstation's tools and lockfiles; upgrade-tools also inventories and aligns the other local repositories. The task alone does not perform that cross-repository migration. - Workstation commands:
dot login,setup,cache, andpruneown native provider operations; mise owns repository installation and validation. Authentication and cleanup are explicit commands, not apply hooks. - Usage statistics: agent-usage owns reports and subscription configuration. Token totals, API equivalents, recorded cost, and subscription charges are separate measurements; never let a failed extraction replace an archived measurement.
- CLI (
dot): Follow dot-development for implementation, tests, and installation proof; dot-cli owns command operation. - Manage skills: dot-skills owns catalog changes and validation; skillify owns authoring and admission. dot-skills owns the 5,000-token scope budget and its checks;
mise run format:skillsregenerates parent indexes. Never nestSKILL.md. - Completions: Run
mise run check:completionsbefore release on the configured workstation; it validates active generators and Fish syntax in temporary directories. This host-dependent check is separate fromall; inactive optional tools are skipped.mise run completionsinstalls the scripts using the deployed CLI. - Verify: dot-verify qualifies the checkout (review, docs sync, all gates, CLI smoke tests) without committing.
- Release:
/dot-releaseruns dot-verify, commits, pushes, then follows dot-release formise run release, recovery, and publication verification.
Agents
- Subagents:
dot_agents/supagents/owns shared roles;mise run format:agents(part offormat) compiles native files usingsupagents.yaml. Never edit generated profiles directly.check:agentsrejects drift; see cross-harness agents. - Persona:
dot_agents/AGENTS.mddeploys to~/.agents/AGENTS.md, consumed by all agent harnesses. - Skills: Global packages live in
skills/;dot_agents/skills/symlink_<name>.tmpllinks each into the real~/.agents/skills/directory. Other packages use the same directory and remain independently managed. Never useexact_for the shared catalog.
Layout
.agents/skills/holds local skills;.claude/skillslinks to it. Other host state is gitignored..github/owns CI, release, security, audit, and dependency-update automation;.github/assets/holds the README's SVG illustrations, outside chezmoi deployment.dot/contains the runtime package, repository-onlydot_tasks/, uv lock, and pytest suite.dot_agents/is the shared persona source;dot_claude/,dot_codex/,dot_copilot/,dot_gemini/, anddot_grok/adapt it to each host (with OpenCode indot_config/opencode/).- Every root
dot_*orprivate_dot_*source maps to its home target (dot_config/holds application configuration);.chezmoitemplates/holds the shared JSON/TOML merge, shell managed-block, skill-catalog, and hookdot-path helpers used by modify, hook, and ignore templates. modify_dot_bashrcand darwin-onlymodify_dot_zprofileadd PATH and mise activation to existing shell files, andmodify_dot_profileadds the mise shims to PATH once;run_once_after_*install Grok and Antigravity;run_after_bat-themerebuilds the bat theme cache when the theme or bat changes..chezmoiignoregates platform-specific targets, including Crostini-only notification and garcon drop-in files.run_after_dot-trustrunsdot trust allanddot trust <sourceDir>so every harness trusts the configured workspaces, their owner-allowlisted repositories, and this checkout. Mise trust is machine-local (mise trustor unmanaged~/.config/mise/conf.d/trust.toml)..chezmoiexternal.toml.tmplfetches commit-pinned theme files fromfmind/themeand font archives, all SHA-256-checked, during apply, while style blocks that must be merged are copied into managed sources.skills/is the global Agent Skill catalog shared by every supported host.
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.

