Convert and sync AI coding-agent rule files between formats with zero dependencies.
agentsync is easy to set up with strong trust signals. Check agent compatibility and use-case fit before adding it to your workflow.
gh repo clone PanisHandsome/ai-rules-syncOpen or clone the template repository.
Move the relevant AGENTS.md content into your project root.
Update project-specific commands, environment rules, and sensitive areas.
agentsync is a command-line tool that keeps your AI coding-agent rules in sync. You write rules in one file (like AGENTS.md) and it automatically converts them to other formats like CLAUDE.md, .cursorrules, or Copilot instructions. It also checks for errors and can set up a pre-commit hook so everything stays updated.
agentsync (formerly ai-rules-sync) is a zero-dependency CLI tool that converts between AI coding-agent rule file formats: AGENTS.md (Codex), CLAUDE.md (Claude Code), .cursorrules (Cursor), .github/copilot-instructions.md (Copilot), .windsurfrules (Windsurf), and more. It can also scaffold a fresh AGENTS.md by scanning your project or from explicit fields. The tool supports one-command setup (agentsync setup) that generates a config, runs the first sync, and installs a git pre-commit hook. With --auto mode, you can edit any rule file and agentsync detects the change and regenerates the rest. It also includes linting to check for stale commands or missing paths. The same engine powers both the CLI and a browser playground. It requires Node.js >=18 and is published on npm as @panishandsome/agentsync.
Strong trust signals; still review the README and permissions before production use.
Last commit was about 4 days ago.
112 GitHub stars indicate community interest.
0 open issues signal maintenance load.
MIT license detected.
Keep AGENTS.md, CLAUDE.md, .cursorrules, and Copilot instructions in sync across a team.
Migrate from one AI coding agent to another without rewriting rules.
Set up a new project with a single command to generate and sync all rule files.
Lint existing rule files for stale commands or missing paths.
Merge multiple existing rule files into one AGENTS.md.
Agent instruction templates should be reviewed before use because they can change coding-agent behavior across an entire repository.
Avoid copying rules that grant broad filesystem, shell, network, or secret access without adapting them to your project.
112
Stars
3
Forks
0
Issues
MIT
License
A drop-in AGENTS.md file that makes coding agents behave like senior engineers, eliminating sycophancy and forcing verification.
Generate AGENTS.md from your codebase in one command. Free, instant, no API key.
AGENTS.md rules and skills for AI coding agents, distilled from classic software engineering books.
2 security/trust notes recorded.
Setup difficulty is 2/5.