Claude Code config

Agent Dotfiles

Write AI coding rules once, sync to every agent. Claude, CommandCode, Cursor, Copilot, Codex. https://x.com/saqibameen

14 stars 2 forksConfig & memory Source

Install

Install
npx agent-dotfiles

Found in the project README. Check it for setup steps after installing.

From source
git clone https://github.com/saqibameen/agent-dotfiles.git

From the README

agent-dotfiles

Write AI coding rules once, sync to every agent.

Most developers already have an AGENTS.md or CLAUDE.md in their projects. agent-dotfiles reads your existing rules and propagates them to every coding agent you use. No new directories, no config files, no lock-in.

Supported Agents

Install

Usage

Detect & Status

Run without arguments to see detected agents, found rules, and available commands:

Sync Rules

Sync your rules file to all agents:

Sync to specific agents:

Sync Skills

Global Rules

Sync global rules across agents:

Dry Run

Preview what would happen without writing files:

Options

Strategies

- skip (default) — never overwrites existing files
- overwrite — replaces existing files with source content
- merge — appends source content to existing files

Config

Optional config at ~/.agents/agent-dotfiles.json:

How It Works

agent-dotfiles is a propagator, not a creator. It reads your existing rules files and syncs them to agent-specific locations. Smart enough to skip agents that already natively read your source file.

For example, syncing from AGENTS.md:
- Skips Command Code, Cursor, Codex, OpenCode (they already read AGENTS.md)
- Creates CLAUDE.md for Claude Code (it only reads CLAUDE.md)

Contributing

We welcome contributions — especially adding support for new coding agents! Check out the Contributing Guide for a step-by-step walkthrough.

License

MIT

Built by Saqib with Command Code
Read the full README on GitHub

Details

Language
TypeScript
License
MIT
Last updated
8 March 2026
Topics
agents-mdaiclaude-codeclaude-mdclicodexcoding-agentcommandcodecopilotcursordeveloper-toolsdotfiles

FAQ

What is Agent Dotfiles?

Write AI coding rules once, sync to every agent. Claude, CommandCode, Cursor, Copilot, Codex. https://x.com/saqibameen It is a config for Claude Code, from saqibameen/agent-dotfiles on GitHub.

How do I install Agent Dotfiles?

Run npx agent-dotfiles, then follow the setup in the README.

Is Agent Dotfiles popular?

saqibameen/agent-dotfiles has 14 GitHub stars and 2 forks, and is included in 1 curated Claude Code list. It was last updated on 8 March 2026.

More config & memory

Browse the most popular Claude Code mods, all config & memory, or the skills and MCP server directories.