dotfiles / dot_agents
AGENTS.md3 starsChanged 8 months agoApache-2.0View on GitHub
[agents-home] Agent & Skill Registry ~/.agents/ is the user-level resource registry managed by agentspec. It separates agents (personas/subagents that define thinking style) from skills (capabilities that define what to do). The registry is cross-project. Once deployed, agents and skills are usable from any project, by any tool (claude-code, codex, gemini, copilot), via agentspec manage link <name> <tool>. They are not specific to the dotfiles repo. For users of this repo, the source for agents and skills lives in chezmoi at…
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,736 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 repository3 other files it gives its agents.
- AGENTS.mdAGENTS.md
- pack-template/AGENTS.mdAGENTS.md
- llms.txtllms.txt
The file
We split this AGENTS.md into the rules it gives an agent
3 rules. About 0 are common, 1 is distinctive, and 2 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.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 54
If you maintain agents/skills outside chezmoi (different dotfile manager, no manager at all, or another git repo), ~/.agents/ is still the …
- Very specific: line 58
After chezmoi apply (or however you populate ~/.agents/), the agents and skills are available globally.
- Distinctive: line 72
After agents are deployed, link them to specific AI tools:
≈ “Common” is an estimate: at least 1 in 5 of the 16,597 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-home] Agent & Skill Registry
Overview
~/.agents/ is the user-level resource registry managed by agentspec. It separates agents (personas/subagents that define thinking style) from skills (capabilities that define what to do).
The registry is cross-project. Once deployed, agents and skills are usable from any project, by any tool (claude-code, codex, gemini, copilot), via agentspec manage link <name> <tool>. They are not specific to the dotfiles repo.
Structure
~/.agents/
├── AGENTS.md # This file
├── agents/ # Persona and subagent definitions (AGENT.md format)
│ ├── architect.md # Interface-first systems design
│ ├── curator.md # Consistency and polish
│ ├── debugger.md # Root-cause analysis
│ ├── guardian.md # Supervises orchestrated agent fleets (pairs with orchestrate-agents)
│ ├── ideator.md # Creative exploration
│ ├── strategist.md # Multi-system orchestration
│ ├── technical-documentation-architect.md # Structured docs & architecture
│ └── writer.md # Technical documentation
└── skills/ # Capabilities; agentspec links to toolsAgents vs Skills
| Aspect | Agents (agents/) | Skills (skills/) |
| Format | <name>.md with agent frontmatter | <name>/SKILL.md with skill frontmatter |
| Purpose | Define HOW to think and communicate | Define WHAT to do and WHEN |
| Usage | Subagent types, persona activation | Tool invocation, domain knowledge |
| Managed by | agentspec (source typically tracked in a dotfile manager) | agentspec |
Commands
agentspec manage list # List all managed resources
agentspec manage add <source> # Add a skill or agent
agentspec manage link <name> <tool> # Link resource to a tool (claude-code, codex, etc.)
agentspec sync --fast # Sync and discover resources
agentspec status # Show managed vs unmanaged inventoryEditing Agents and Skills
For users of this repo, the source for agents and skills lives in chezmoi at ~/.local/share/chezmoi/dot_agents/. Edit there, then:
chezmoi apply # Deploy to ~/.agents/
agentspec sync # Re-discover, adopt, and linkIf you maintain agents/skills outside chezmoi (different dotfile manager, no manager at all, or another git repo), ~/.agents/ is still the canonical deployed location. Point your own sync mechanism at it, then run agentspec sync.
Using Agents in Other Projects
After chezmoi apply (or however you populate ~/.agents/), the agents and skills are available globally. From inside any other project:
# Inside ~/work/some-other-project
agentspec manage link architect claude-code
agentspec manage link guardian codex
agentspec manage link orchestrate-agents claude-code
agentspec sync --fastThis creates the tool-specific symlinks (e.g., ~/.claude/agents/architect.md, ~/.codex/agents/guardian.md) so the tool sees the resource. Nothing about this is dotfiles-repo-specific.
Linking to Tools
After agents are deployed, link them to specific AI tools:
agentspec manage link architect claude-code
agentspec manage link debugger claude-code
agentspec manage link guardian codex # guardian also ships as a Codex profileThis creates the appropriate symlinks (e.g., ~/.claude/agents/architect.md).
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.

