agentleFS
urmzdurmzd/dotfiles/dot_agents/AGENTS.md

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.

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

    If you maintain agents/skills outside chezmoi (different dotfile manager, no manager at all, or another git repo), ~/.agents/ is still the …

    line 54
  2. Very specific:

    After chezmoi apply (or however you populate ~/.agents/), the agents and skills are available globally.

    line 58
  3. Distinctive:

    After agents are deployed, link them to specific AI tools:

    line 72

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

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

[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 tools

Agents vs Skills

AspectAgents (agents/)Skills (skills/)
Format<name>.md with agent frontmatter<name>/SKILL.md with skill frontmatter
PurposeDefine HOW to think and communicateDefine WHAT to do and WHEN
UsageSubagent types, persona activationTool invocation, domain knowledge
Managed byagentspec (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 inventory

Editing 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 link

If 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 --fast

This 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 profile

This creates the appropriate symlinks (e.g., ~/.claude/agents/architect.md).

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.