sync-setup

Installation
SKILL.md

sync-setup

Checks whether this machine matches the rules-of-engagement repo (core/ and skills/) and fixes the differences the user approves. Work through the steps in order, then report.

Only change things the steps below cover. Before replacing or overwriting any file, show what's there (diff against the repo version) and back it up as <file>.bak-<yyyyMMdd>. Never commit or push. Ask first wherever a step says so.

1. Repo

Find the local clone ($REPO below), stopping at the first hit:

  1. The current directory, if its origin remote is mister-gnommer/rules-of-engagement.
  2. The target of an existing core symlink (~/.claude/CLAUDE.md, ~/.config/opencode/AGENTS.md, ~/.codex/AGENTS.md), up two levels.
  3. The path in the @ import of ~/.claude/CLAUDE.md, up two levels.

If none of these works, ask the user where the clone is. Don't search the disk or clone it on your own.

Installs
2
First Seen
Oct 7, 2026