GiulioBrooks

AI Rules Sync — AI skill for Claude Code

AI community

Keep one source of truth for your AI coding-agent rules.

How to install AI Rules Sync

This entry records only its repository, not the path inside it, so there is no exact command to give. Open GiulioBrooks/ai-rules-sync and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What AI Rules Sync does

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.

Alternatives in AI

  • LongHorizon Harness — The long-horizon computer-use harness 1.3k ★
  • Flow Next — Plan-first AI workflow plugin for Claude Code, OpenAI Codex, and Factory Droid 569 ★
  • Skilldock — SkillDock is an AI skill manager and skill management desktop app for Claude Code, Cursor, Codex, Windsurf, Ge 490 ★

README

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 CLI and the browser playground.

Install

npm install -g @panishandsome/agentsync   # installs the `agentsync` command
# or run without installing:
npx @panishandsome/agentsync --help

Or just clone and run from source — there are no dependencies:

git clone https://github.com/PanisHandsome/ai-rules-sync
cd ai-rules-sync
node bin/agentsync.mjs --help

Set it up in one command

agentsync setup

That's the lazy path. In your repo it: generates `AGENTS.md` (by scanning the project), writes an `agentsync.json`, runs the first sync, and installs a git pre-commit hook so every commit keeps the files in sync. From then on you just edit `AGENTS.md` and commit. Use `agentsync setup --auto` to let the hook accept edits to *any* rule file, or `--no-hook` to skip the hook.

Quick start (manual)

# Po