rn plan sync
Push all local plans to rockstar.ninja. Discovers plans and pushes any that are new or have changed since the last push.
rn plan sync
Alias: rn p sync
Behavior
- Discovers all plans in
~/.claude/plans/ - Fetches your remote plan list to identify what's already pushed
- Skips plans that are already synced and unchanged
- Pushes new and locally-changed plans sequentially
- Prints a summary when complete
Plans are considered "changed" when the local file's modification time is newer than the remote version's last update. Plans with identical content won't create a new version on the server even if re-pushed.
Flags
| Flag | Short | Type | Description |
|---|---|---|---|
--dry-run |
bool | Show what would be synced without pushing | |
--expires |
string | Expiry duration (e.g., 24h, 7d) |
|
--public |
bool | Make plans publicly visible | |
--secret |
bool | Make plans secret (unlisted) | |
--private |
bool | Make plans private (only you can view) | |
--project |
string | Associate synced plans with a project (nanoid or label) | |
--redact |
-R |
string | Literal string to redact (repeatable) |
Privacy and expiration
Same defaults as rn plan push — flags override config, config overrides the global default of secret. See Plan Push for details.
Examples
Preview what would be synced:
rn plan sync --dry-run
Sync all plans publicly:
rn plan sync --public
Sync with expiration:
rn plan sync --expires 7d --secret