agentskills.codes
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.zip

Installs 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.md carries the full shared set (§1-11, §13-16) plus §12.
  • Confirm rules/CLAUDE.md and rules/CODEX.md carry no ## bodies for §1-11 or §14-16, and each points to AGENTS.md. Flag any reappearance as drift toward duplication.
  • Compare root AGENTS.md and CLAUDE.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.md sections 15-16.
  • If no drift is found, print exactly: Rule sync: AGENTS.md canonical, agent files pointer-only, root entrypoints aligned.

Search skills

Search the agent skills registry