
Rulesync
CLI以 .rulesync 目录下的统一规则文件为源,为 Claude Code、Cursor、Copilot、Codex 等数十种 AI 编程工具生成规则、MCP、命令、子代理、技能与钩子配置,也能导入已有配置或在工具之间直接互转。
Rulesync
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
npm install -g rulesync
Or install from our Homebrew tap (macOS and Linux):
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 <name> <url> form is therefore required — the
shorthand brew install dyoshikawa/rulesync/rulesync without tapping first does
not work.
Single Binary
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
# 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:
# 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?
# 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 | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ||
| Codewhale | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ||
| Codex CLI | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ||
| Command Code | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ||
| GitHub Copilot | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ||
| GitHub Copilot CLI | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | |||
| Crush | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | |||
| Goose | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | |
| Hermes Agent | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| Grok CLI | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | |
| Cursor | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| deepagents-cli | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | |||
| Factory Droid | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | |
| OpenCode | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ||
| OpenClaw | ✅ | ||||||||
| MiMo Code | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ||
| GitLab Duo CLI | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | |||
| Cline | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | |
| Kilo Code | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| Kimi Code | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ||
| Kimi Code plugin | ✅ | ✅ | ✅ | ✅ | |||||
| Roo Code ⚠️ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ||
| Zoo Code | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ||
| Rovodev (Atlassian) ⚠️ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ||
| Takt | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ||
| Trae | ✅ | ✅ | ✅ | ✅ | ✅ | ||||
| Tabnine CLI ⚠️ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | |
| Continue ⚠️ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ||
| Snowflake Cortex Code | ✅ | ✅ | ✅ | ✅ | ✅ | ||||
| Vibe Code | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ||
| Vibe Code plugin | ✅ | ✅ | ✅ | ✅ | |||||
| Qoder | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | |
| Qwen Code | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| Meta Muse Code | ✅ | ✅ | ✅ | ||||||
| Reasonix | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | |
| Codebuff (Freebuff) | ✅ | ✅ | ✅ | ||||||
| Kiro ⚠️ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | |
| Kiro CLI | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | |
| Kiro IDE | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | |
| Letta Code | ✅ | ✅ | ✅ | ✅ | ✅ | ||||
| Google Antigravity IDE | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ||
| Google Antigravity CLI | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | |
| Google Antigravity plugin | ✅ | ✅ | ✅ | ✅ | ✅ | ||||
| JetBrains AI Assistant | ✅ | ✅ | ✅ | ✅ | |||||
| JetBrains Junie | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | |
| AugmentCode | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| AugmentCode plugin | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | |||
| Devin Desktop | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | |
| Devin plugin | ✅ | ✅ | ✅ | ✅ | ✅ | ||||
| Warp | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | |||
| Warp Agent CLI | ✅ | ✅ | |||||||
| Replit | ✅ | ✅ | |||||||
| Pi Coding Agent | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | |||
| oh-my-pi | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ||
| Zed | ✅ | ✅ | ✅ | ✅ | ✅ | ||||
| ZCode (Z.ai) | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | |||
| ZCode plugin | ✅ | ✅ | ✅ | ✅ | ✅ | ||||
| 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
ignorefeature is deprecated in favor of the more expressivepermissionsfeature. 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. Newrulesync initprojects 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 desktopantigravity-ideand theantigravity-cli(agy). For project-scope rules, bothantigravity-ideandantigravity-cliemit the root rule as a plain cross-toolAGENTS.mdat the project root (the Gemini-lineage discovery order isAGENTS.md,CONTEXT.md,GEMINI.md; the IDE has readAGENTS.mdsince v1.20.3) and non-root rules under.agents/rules/. In--globalmode, both targets write the root rule to~/.gemini/GEMINI.mdand each non-root rule to its own file in the shared~/.gemini/config/rules/(with trigger frontmatter, identical for the two targets), so each rule gets Antigravity's 24,000-byte per-file limit to itself;generate --deletenever removes files from that shared directory. - Plugin packaging (
claudecode-plugin/antigravity-plugin/augmentcode-plugin/zcode-plugin/vibe-plugin/devin-plugin/kimi-code-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-levelskills/,rules/, orcommands/directories into ordinary projects. Rulesync preserves plugin manifests, marketplace metadata, scripts, and other non-component assets; the only manifest it writes is a missing Antigravityplugin.json, which Antigravity needs to load the plugin at all. 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. Thecontinuetarget 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), sokirois split intokiro-cliandkiro-ide. The legacykirotarget 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 deprecatedkiroalias still writes hooks into.kiro/agents/default.json, which the CLI no longer reads. Global skills (~/.kiro/skills/), global ignore (~/.kiro/settings/kiroignore, which only the IDE reads, sokiro-cliskips it), and global Kiro IDE subagents (~/.kiro/agents/) are supported too, as are global Kiro CLI commands (~/.kiro/prompts/) and subagents (~/.kiro/agents/), and global permissions forkiro-cli/kiro-ideas capability rules in~/.kiro/settings/permissions.yaml(project permissions stay in.kiro/agents/default.json). Kiro MCP generation preserves per-serverdisabledTools, and the deprecatedkiroalias's hook caching mapscacheTtltocache_ttl_seconds. - Tabnine CLI (
tabnine) — The file-based Tabnine CLI is in maintenance mode: as of Tabnine 6.6 (2026-09-15) it is "Tabnine CLI (Legacy)" (tabnine-legacy), receiving only critical updates through 2026-12-31. The newtabninecommand is Tabnine's distribution of OpenCode and reads standard OpenCode files, so target it with--targets opencode. Thetabninetarget stays supported for the legacy CLI. See Supported tools > Deprecation notes. - Roo Code (
roo) — Roo Code is end of life: its final release was v3.54.0 (2026-05-15) and its repository is archived. New projects should targetzoocode(Zoo Code), the community continuation named by the Roo shutdown notice. Therootarget stays supported because Zoo Code still reads the same.roo/project tree and~/.rooglobal tree, so existing output keeps working — it just no longer tracks anything Zoo Code added after the fork. Enable one of the two targets per project, not both. See Supported tools > Deprecation notes. - Rovo Dev (
rovodev) — Atlassian has announced that Rovo Dev as a standalone product will reach end of life (date TBA, with at least 60 days' notice) and that Rovo Dev CLI is evolving into the unified Atlassian Rovo CLI. Until migration instructions are shared, therovodevtarget stays supported and keeps emitting the current Rovo Dev CLI files. See Supported tools > Deprecation notes.
Some features accept per-feature options. See Configuration > Per-feature options for details.
Documentation
For full documentation including configuration, CLI reference, file formats, programmatic API, and more, visit the documentation site.
License
MIT License
相關資源

Caveman
Plugin让 agent 用「原始人」式极简措辞回答:只压缩说明文字,代码、命令与报错原样保留,以减少输出 token;另附本地代理,压缩日志、测试输出等读入内容。支持 Claude Code、Codex 等 30 多个 agent。
JuliusBrussee/caveman113k
Context Mode
Plugin把大段工具输出放进沙箱处理,只把结果送回上下文;用 SQLite 与 FTS5 记录会话事件,上下文压缩后也能接着干。支持 Claude Code、Codex 等十多个客户端,ELv2 许可。
mksglu/context-mode30.1k
Task Master
CLI把 PRD 解析成带依赖关系的任务清单,让 Claude Code、Cursor 等 agent 按序领取下一项、拆分子任务、更新进度,同时提供 CLI 与 MCP。需要至少一个模型 API Key,也可复用 Claude Code / Codex 登录。
eyaltoledano/claude-task-master28.2k
ZCF (Zero-Config Code Flow)
CLI零配置一键设置 Claude Code 与 Codex 环境的命令行:用交互式菜单完成安装、导入工作流、配置 API 与 CCR 代理、安装常用 MCP 服务,支持模型服务商预设与中英文双语配置。
UfoMiao/zcf6.1k
mgrep
CLIMixedbread 官方出品的语义 grep:用自然语言检索代码、文本、PDF 和图片,可一键接入 Claude Code、Codex 等编码 agent,减少 token 消耗。需要登录 Mixedbread 账号,文件会同步到它的云端索引。
mixedbread-ai/mgrep4.4k
Episodic Memory
Plugin对 Claude Code、Codex 等工具的历史会话做语义检索:会话结束自动建索引,通过 MCP 工具与子代理找回过去的讨论、决策与取舍。向量化与检索都在本地完成,Superpowers 作者出品。
obra/episodic-memory491