The lazy release — get set up in one command.
Upgrade
npm install -g @panishandsome/agentsync
npx @panishandsome/agentsync@latest setupLive playground: https://panishandsome.github.io/ai-rules-sync/
New since 0.2.0
agentsync setup— one command that generatesAGENTS.md, writesagentsync.json, runs the first sync, and installs a zero-dependency git pre-commit hook. After that you just editAGENTS.mdand commit; the rest regenerates automatically.--automakes the hook accept edits to any rule file;--no-hookskips the hook.
agentsync sync --init— scaffoldagentsync.json, auto-detecting which rule files you already have (no hand-writing).sync --stage— git-add the regenerated files (used by the hook so it stages only what it changed).- Fix — converting e.g. CLAUDE.md → AGENTS.md no longer carries the source filename across as the title (
# CLAUDE); the target's own title is used, while real project titles are kept.
Everything from 0.2.0 still here
sync / sync --auto, merge, 8 formats (AGENTS.md, CLAUDE.md, .cursorrules, Copilot, Windsurf, Cline, Aider, Gemini), --json, semantic parsing, lint + reusable Action.
64 tests, CI on Node 18/20/22. MIT licensed.