Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
R

rulesync

> AI 编程
Open source

A Utility CLI for AI Coding Agents

1.3K stars0 likes1 views
WebsiteGitHub

About

A Utility CLI for AI Coding Agents

Rulesync

Documentation | npm

A Node.js CLI tool that automatically generates configuration files for various AI development tools from unified AI rule files. Features selective generation, comprehensive import/export capabilities, and supports major AI development tools with rules, commands, MCP, ignore files, subagents and skills.

[!NOTE] If you are interested in Rulesync latest news, please follow the maintainer's X(Twitter) account: @dyoshikawa1993

Installation

bash
npm install -g rulesync

Or install from our Homebrew tap (macOS and Linux):

bash
brew tap dyoshikawa/rulesync https://github.com/dyoshikawa/rulesync
brew install rulesync

The tap lives inside this repository, so it does not have a homebrew- prefix. The two-argument brew tap form is therefore required — the shorthand brew install dyoshikawa/rulesync/rulesync without tapping first does not work.

Single Binary

bash
curl -fsSL https://github.com/dyoshikawa/rulesync/releases/latest/download/install.sh | bash

See Installation docs for manual install and platform-specific instructions.

Getting Started

bash
# Create necessary directories, sample rule files, and configuration file
rulesync init

# Install official skills (recommended)
rulesync fetch dyoshikawa/rulesync

# Generate unified configurations with all features
rulesync generate --targets "*" --features "*"

If you already have AI tool configurations:

bash
# Import existing files (to .rulesync/**/*)
rulesync import --targets claudecode    # From CLAUDE.md
rulesync import --targets cursor        # From .cursorrules
rulesync import --targets copilot       # From .github/copilot-instructions.md

Want to convert configuration from one AI tool to another directly, without adopting the .rulesync/ source-of-truth workflow?

bash
# Convert Cursor rules to Copilot and Claude Code in one shot (no .rulesync/ files written)
rulesync convert --from cursor --to copilot,claudecode

See Quick Start guide for more details.

Supported Tools and Features

The tables below show whether each tool supports a given feature (✅ = supported, blank = not supported). A ✅ means the feature is supported in at least one mode (project, global, or simulated) — for example, Codex CLI commands is global-only. For each tool's --targets value and full mode breakdown (project / global / simulated / MCP tool config), see the Supported Tools reference.

AI Coding Tools

Tool rules ignore mcp commands subagents skills hooks permissions checks
Amp ✅ ✅ ✅ ✅ ✅ ✅
IBM Bob ✅ ✅ ✅ ✅ ✅ ✅
Claude Code ✅ ✅ ✅ ✅ ✅ ✅ ✅ ✅
Claude Code plugin ✅ ✅ ✅ ✅ ✅
CodeBuddy Code ✅
Codex CLI ✅ ✅ ✅ ✅ ✅ ✅ ✅
Command Code ✅ ✅ ✅ ✅ ✅ ✅ ✅
GitHub Copilot ✅ ✅ ✅ ✅ ✅ ✅ ✅
GitHub Copilot CLI ✅ ✅ ✅ ✅ ✅ ✅
Crush ✅ ✅ ✅ ✅ ✅ ✅
Goose ✅ ✅ ✅ ✅ ✅ ✅ ✅
Hermes Agent ✅ ✅ ✅ ✅ ✅ ✅ ✅ ✅ ✅
Grok CLI ✅ ✅ ✅ ✅ ✅ ✅ ✅
Cursor ✅ ✅ ✅ ✅ ✅ ✅ ✅ ✅ ✅
deepagents-cli ✅ ✅ ✅ ✅ ✅ ✅
Factory Droid ✅ ✅ ✅ ✅ ✅ ✅ ✅ ✅
OpenCode ✅ ✅ ✅ ✅ ✅ ✅ ✅
Cline ✅ ✅ ✅ ✅ ✅ ✅ ✅ ✅
Kilo Code ✅ ✅ ✅ ✅ ✅ ✅ ✅ ✅
Kimi Code ✅ ✅ ✅ ✅ ✅ ✅
Roo Code ⚠️ ✅ ✅ ✅ ✅ ✅ ✅ ✅
Zoo Code ✅ ✅ ✅ ✅ ✅ ✅ ✅
Rovodev (Atlassian) ✅ ✅ ✅ ✅ ✅ ✅ ✅
Takt ✅ ✅ ✅ ✅ ✅ ✅ ✅
Tabnine CLI ⚠️ ✅ ✅ ✅ ✅ ✅ ✅ ✅ ✅
Continue ⚠️ ✅ ✅ ✅ ✅ ✅ ✅ ✅
Snowflake Cortex Code ✅ ✅ ✅ ✅ ✅
Vibe Code ✅ ✅ ✅ ✅ ✅ ✅ ✅
Qwen Code ✅ ✅ ✅ ✅ ✅ ✅ ✅ ✅
Meta Muse Code ✅ ✅ ✅
Reasonix ✅ ✅ ✅ ✅ ✅ ✅ ✅ ✅
Kiro ⚠️ ✅ ✅ ✅ ✅ ✅ ✅ ✅ ✅
Kiro CLI ✅ ✅ ✅ ✅ ✅ ✅ ✅ ✅
Kiro IDE ✅ ✅ ✅ ✅ ✅ ✅ ✅ ✅
Google Antigravity IDE ✅ ✅ ✅ ✅ ✅ ✅ ✅
Google Antigravity CLI ✅ ✅ ✅ ✅ ✅ ✅ ✅ ✅
Google Antigravity plugin ✅ ✅ ✅ ✅ ✅
JetBrains AI Assistant ✅ ✅ ✅ ✅
JetBrains Junie ✅ ✅ ✅ ✅ ✅ ✅ ✅ ✅
AugmentCode ✅ ✅ ✅ ✅ ✅ ✅ ✅ ✅ ✅
Devin Desktop ✅ ✅ ✅ ✅ ✅ ✅ ✅ ✅
Warp ✅ ✅ ✅ ✅ ✅ ✅
Replit ✅ ✅
Pi Coding Agent ✅ ✅ ✅ ✅ ✅
Zed ✅ ✅ ✅ ✅ ✅
ZCode (Z.ai) ✅ ✅ ✅ ✅ ✅ ✅
Pool (Poolside) ✅ ✅
DeepSeek Harness ✅ ✅

Open Standards

Tool rules ignore mcp commands subagents skills hooks permissions checks
AGENTS.md ✅ ✅ ✅ ✅
AgentsSkills ✅
  • ⚠️: Deprecated — still supported, but see the note below

Target and deprecation notes

  • Ignore feature — The ignore feature is deprecated in favor of the more expressive permissions feature. Existing ignore configurations remain supported throughout Rulesync 14.x; removal, if any, will be decided separately and will not occur before a future major release. New rulesync init projects scaffold permissions without enabling or creating ignore files. See the migration guide.
  • Google Antigravity (antigravity-ide / antigravity-cli) — Antigravity 2.0 splits into two products with separate global config trees: the desktop antigravity-ide and the antigravity-cli (agy). For project-scope rules, both antigravity-ide and antigravity-cli emit the root rule as a plain cross-tool AGENTS.md at the project root (the Gemini-lineage discovery order is AGENTS.md, CONTEXT.md, GEMINI.md; the IDE has read AGENTS.md since v1.20.3) and non-root rules under .agents/rules/.
  • Plugin packaging (claudecode-plugin / antigravity-plugin) — These project-only targets generate and import Rulesync-managed components inside an existing plugin directory selected with --output-roots (generate) or --output-root (import). They are excluded from --targets "*" to avoid writing package-level skills/, rules/, or commands/ directories into ordinary projects. Rulesync preserves plugin manifests, marketplace metadata, scripts, and other non-component assets. See the Plugin Packaging guide.
  • Continue (continue) — Continue is end of life: it joined Cursor on 2026-06-18, the continuedev/continue repository is read-only with a final v2.0.0 release (2026-06-19), and its last commit is from 2026-07-21. The continue target stays supported as a frozen-compatibility target verified against that final source tree, so existing output keeps working — it just will not track anything new. See Supported tools > Deprecation notes.
  • Kiro (kiro) — Kiro's IDE and CLI use diverging config formats (IDE: Markdown subagents .kiro/agents/*.md; CLI: JSON agent-config subagents .kiro/agents/*.json), so kiro is split into kiro-cli and kiro-ide. The legacy kiro target remains as a deprecated alias with its current behavior unchanged. The two targets share every surface except subagents (Markdown vs JSON); both emit hooks as a single .kiro/hooks/rulesync.json ({ "version": "v1", "hooks": [ ... ] }) in project (.kiro/hooks/) and global (~/.kiro/hooks/) scope, the format Kiro CLI 3.0 migrated to. Only the deprecated kiro alias still writes hooks into .kiro/agents/default.json, which the CLI no longer reads. Global skills (~/.kiro/skills/), global ignore (~/.kiro/settings/kiroignore), and global Kiro IDE subagents (~/.kiro/agents/) are supported too, as are global Kiro CLI commands (~/.kiro/prompts/) and subagents (~/.kiro/agents/). K

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

TypeScriptaiai-agentsai-codingllm

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
CategoryAI 编程
PricingOpen source

> Related tools

G
GitHub Copilot
GitHub 官方 AI 编程助手,覆盖补全、Chat 与 Agent 模式。
C
Cursor
AI 原生代码编辑器,对话改代码、多文件 Agent 与规则体系是其核心。
S
skills
Skills for Real Engineers. Straight from my .agents directory.