agent-dotfiles

open source cli

Write rules once,
sync everywhere.

Your AGENTS.md and CLAUDE.md rules, propagated to every coding agent on your machine. Zero config. Zero lock-in.

Try it now

$ npx agent-dotfiles

Supported agents

Command Code Claude Code Cursor GitHub Copilot Codex OpenCode

$ npx agent-dotfiles

Detected agents:
  Command Code ~/.commandcode
  Claude Code ~/.claude
  Cursor ~/.cursor

Rules found:
  AGENTS.md → Command Code, Cursor, Copilot, Codex, OpenCode

$ npx agent-dotfiles sync rules --from AGENTS.md --to all
  ~ syncing AGENTS.md
  + Claude Code CLAUDE.md created

  Done. 1 file synced

Options

--from <source>Source rules file or skills directoryrequired
--to <agents>Target agents (comma-separated or "all")all
--strategy <s>skip, overwrite, or mergeskip
--method <m>copy or symlinkcopy
--globalSync global rules and skillsfalse
--dry-runPreview without writing any filesfalse