← 返回 Skills 市场
singggggyee

Agent Rule Pilot

作者 SingYee · GitHub ↗ · v1.0.0 · MIT-0
macoslinux ✓ 安全检测通过
102
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install agent-rule-pilot
功能描述
Say 'sync my agent configs' to write coding rules once and sync to Claude Code, Cursor, Copilot, Windsurf, and 4 more agents.
使用说明 (SKILL.md)

Rule Pilot

You use Claude Code, Cursor, Copilot, and other AI agents — but each has its own config file. Edit one, the others go stale. This skill keeps them all in sync from a single RULES.md.

Quick start

Just say:

  • "sync my agent configs" — sync RULES.md to all your AI agents
  • "check config drift" — see which configs have gone out of sync
  • "create RULES.md" — generate a starter rules file for your project
  • "convert CLAUDE.md to cursorrules" — one-off format conversion

Supported agents (8)

Agent Config file
Claude Code CLAUDE.md
Cursor .cursorrules
GitHub Copilot .github/copilot-instructions.md
Windsurf .windsurfrules
Aider .aider.conf.yml
Codex CLI AGENTS.md
Cody .sourcegraph/cody.json
Continue.dev .continuerc.json

Links


Below are instructions for Claude Code. You can ignore this section.

Instructions

Detect which agent configs exist, then pick the right mode:

RULES.md exists → Sync to all agent configs. Each agent gets common rules + agent-specific extensions (e.g., Claude Code gets "use Read not cat"). Show diff before writing.

No RULES.md, but configs exist → Reverse-extract common rules into a new RULES.md. Flag conflicts. Ask user to resolve.

Nothing exists → Detect language from package.json/Cargo.toml/pyproject.toml/go.mod, generate opinionated RULES.md.

Drift check → Compare configs against RULES.md or each other. Report which are in sync, which diverged.

Per-agent overrides: RULES.md supports \x3C!-- agent:xxx --> / \x3C!-- /agent:xxx --> markers for agent-specific rules.

Rules: Always show diffs before writing. Preserve agent-specific sections not in RULES.md. Only generate configs for agents the user actually uses. Validate output format (JSON, YAML).

安全使用建议
This skill will read and write multiple local configuration files and project manifests (RULES.md, CLAUDE.md, .cursorrules, .github/copilot-instructions.md, .sourcegraph/cody.json, etc.). That behavior is coherent with its purpose, but before using it: (1) review the linked GitHub repo to verify the code/author if you plan to trust it; (2) keep backups or make a git commit before running the sync so you can revert unintended edits; (3) confirm the agent actually shows diffs and asks for confirmation before writing (the SKILL.md says it will); (4) prefer running it in a safe/test repository first; and (5) be mindful that, while it asks for no credentials or network access, the agent will still modify files on your system—only proceed if you trust the skill and monitor the first run.
功能分析
Type: OpenClaw Skill Name: agent-rule-pilot Version: 1.0.0 The Agent Rule Pilot skill is a utility designed to synchronize project-specific coding rules across multiple AI agent configuration files (e.g., .cursorrules, CLAUDE.md, .windsurfrules). The instructions in SKILL.md focus on file management and format conversion, including safety measures such as requiring the agent to show diffs before writing changes and preserving existing sections. No indicators of data exfiltration, malicious execution, or harmful prompt injection were found.
能力评估
Purpose & Capability
The skill's name and description promise syncing agent rules across multiple AI agent config files; the SKILL.md explicitly describes detecting existing configs, reading package manifests (package.json, Cargo.toml, etc.), generating RULES.md, and writing per-agent config files. All of those capabilities are directly relevant to the stated purpose.
Instruction Scope
Instructions require reading and writing multiple local config files and project manifests, and performing diffs and format validation. This is expected for a sync tool, but it does mean the agent will access many repository/dotfile paths and modify them. The SKILL.md states 'show diffs before writing' and 'ask user to resolve' conflicts, which mitigates risk as long as the agent actually prompts before changes. The SKILL.md does not instruct any network exfiltration or access to unrelated secrets.
Install Mechanism
There is no install spec and no code files—this is an instruction-only skill. That is the lowest-risk install posture and matches the content of the SKILL.md.
Credentials
The skill requests no environment variables, credentials, or installs. However, it will access a number of well-known config paths (agent dotfiles and project manifests). The registry metadata does not enumerate required config paths; users should be aware the skill will read and write those files in the workspace/home directories.
Persistence & Privilege
The skill is not marked always:true and does not request system-wide or other-skills' configuration changes. Autonomous invocation is allowed (normal default); this means the agent could run the sync flow on request or potentially autonomously, but that is expected for a tool that manipulates local files.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install agent-rule-pilot
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /agent-rule-pilot 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release
元数据
Slug agent-rule-pilot
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Agent Rule Pilot 是什么?

Say 'sync my agent configs' to write coding rules once and sync to Claude Code, Cursor, Copilot, Windsurf, and 4 more agents. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 102 次。

如何安装 Agent Rule Pilot?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install agent-rule-pilot」即可一键安装,无需额外配置。

Agent Rule Pilot 是免费的吗?

是的,Agent Rule Pilot 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Agent Rule Pilot 支持哪些平台?

Agent Rule Pilot 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(macos, linux)。

谁开发了 Agent Rule Pilot?

由 SingYee(@singggggyee)开发并维护,当前版本 v1.0.0。

💬 留言讨论