Adopt

Use adopt to give Claude and Codex shared working rules in a consumer project. Run it again when you want to review updates from the installed Helm package.

Flow

Workflow diagram for Adopt
View full-size diagram

Start the command

Codex → $adopt    Claude → /adopt

Use your client’s command prefix. Normal adoption checks for clean main or master before comparing rules; a blocker is reported and ends the run before proposals. A project without Git history can receive uncommitted files. Request a read-only inspection explicitly if that is your goal.

Adopt cannot run on Helm’s own source checkout or a plugin installation. Those use maintained source rules directly. Try adoption in a separate consumer project.

Available rules

Rule What it guides
Git Local work, commits and publication.
Safety Decisions about consequential actions and preserving work.
Writing Clear prose and useful reference links.
Design Visual composition and responsive, accessible layouts.
Interaction Preference persistence, themes, input feedback, cursors and link/control behavior.

Git and Safety stay paired. The recommended fresh set adds optional Writing. An unscoped fresh installation can also offer all five rules; that choice explicitly includes Design and Interaction. Writing, Design and Interaction can each be adopted independently.

Interaction now owns interface policies extracted from Writing and Design. An update explains which defaults move; installing Interaction is a separate choice. Keeping an existing copy preserves its current policies.

What to expect

You see a plain table with each file, suggested action, reason and local-to-package version. Clear labels distinguish updates, repairs, kept files and optional installations; custom-file replacements and downgrades are explicit. Full rule bodies and diffs are available on request.

When existing rules need maintenance and other rules are available, choose maintenance only or maintenance plus the named missing rules. Required repairs stay in the minimum choice. If only one kind of work applies, only that action is offered alongside the relevant keep/cancel exits. You can select a subset in the same response; an explicitly limited request does not offer unrelated installations.

Matching content stays untouched even if its version marker differs. Keeping a rule preserves its file and pointers; adopt does not merge customizations automatically. Missing files or connections can be repaired as part of the same review.

A CLAUDE.md-only project or independent instruction files may need log’s shared setup first.

Your result

Approved copies live in .claude/rules/, connected through shared project instructions. The report separates installed, kept, skipped and missing rules. Start a fresh agent session after changes; file checks alone do not prove native startup loading.

With auto-commit off, an exact known update can be approved with or without its local commit. Plugin updates do not refresh these copies automatically. Rerun adopt to review them, and use ship separately for publication.