RU
rule-sync
Verify the pointer-model rule structure (AGENTS.md canonical; agent files pointer-only) and root entrypoint sync; report drift without auto-fixing shared rules.
Install
mkdir -p .claude/skills/rule-sync && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/13671" && unzip -o skill.zip -d .claude/skills/rule-sync && rm skill.zipInstalls to .claude/skills/rule-sync
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Verify the pointer-model rule structure (AGENTS.md canonical; agent files pointer-only) and root entrypoint sync; report drift without auto-fixing shared rules.160 charsno explicit “when” trigger
About this skill
Rule Sync
Use the canonical workflow in rules/skills/rule-sync.md.
Model: rules/AGENTS.md is the single canonical source for shared sections §1-11 and §14-16. rules/CLAUDE.md and rules/CODEX.md carry only agent-specific sections (§12 Skills + automation/git/subtree) plus a pointer to AGENTS.md; they do not duplicate shared bodies.
Checks:
- Confirm
rules/AGENTS.mdcarries the full shared set (§1-11, §13-16) plus §12. - Confirm
rules/CLAUDE.mdandrules/CODEX.mdcarry no##bodies for §1-11 or §14-16, and each points toAGENTS.md. Flag any reappearance as drift toward duplication. - Compare root
AGENTS.mdandCLAUDE.md; only the Rule Files table may intentionally diverge. - Report drift with file paths, section numbers, and unified diff snippets when useful.
Rules:
- Report only for shared rules; do not auto-fix
rules/, root entrypoints, or.claude/as part of this skill. - If drift affects
.codex/, fix only Codex-owned translations or docs after the user request allows edits. - Keep cross-agent drift informational per
rules/AGENTS.mdsections 15-16. - If no drift is found, print exactly:
Rule sync: AGENTS.md canonical, agent files pointer-only, root entrypoints aligned.