PanisHandsome/ai-rules-sync

116 stars · Last commit 2026-06-03

Keep one source of truth for your AI coding-agent rules. Convert and sync between AGENTS.md, CLAUDE.md, .cursorrules, Copilot, Windsurf, Cline, Aider & Gemini — or scaffold a fresh AGENTS.md. Zero dependencies.

README preview

# agentsync

[![npm version](https://img.shields.io/npm/v/@panishandsome/agentsync)](https://www.npmjs.com/package/@panishandsome/agentsync)
[![npm downloads](https://img.shields.io/npm/dm/@panishandsome/agentsync)](https://www.npmjs.com/package/@panishandsome/agentsync)
[![CI](https://github.com/PanisHandsome/ai-rules-sync/actions/workflows/ci.yml/badge.svg)](https://github.com/PanisHandsome/ai-rules-sync/actions/workflows/ci.yml)
[![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](LICENSE)
[![Node](https://img.shields.io/badge/node-%3E%3D18-brightgreen)](package.json)

**One source of truth for your AI coding-agent rules.**

🔗 **Live playground: https://panishandsome.github.io/ai-rules-sync/**

![agentsync playground](docs/playground.png)

Codex reads `AGENTS.md`. Claude Code reads `CLAUDE.md`. Cursor reads `.cursorrules`.
Copilot reads `.github/copilot-instructions.md`. Keeping them in sync by hand is
tedious and they drift. `agentsync` **converts between all of them** — or
**generates a clean `AGENTS.md`** from a short spec.

Zero dependencies. The exact same engine (`src/core/agentsync.js`) powers both the

View full repository on GitHub →