On startup, skills and plugin sync now skip a full sync round if one finished recently, controlled by CLAUDE_CODE_SYNC_REUSE_WITHIN_MS
What
Both the skills-sync and plugin-sync processes now accept a { startup } option. When Claude Code starts up (and isn't in cloud/XD mode, and no sync was force-requested), each of these now checks a saved timestamp to see whether a sync round already completed recently.
- If the last skills sync finished within
CLAUDE_CODE_SYNC_REUSE_WITHIN_MSmilliseconds and the rate-limit "bucket" guard hasn't refused it, the sync round is skipped entirely and askills_sync_round_reusedevent is logged. - Plugin sync gained an equivalent freshness check; if a recent round is found, it reuses that round instead of re-downloading and re-listing plugins, logging a
plugins_sync_round_reusedevent.
Why
This avoids doing redundant sync work (downloading and re-listing skills or plugins) every time Claude Code starts, when a sync already happened moments ago, making startup faster and cheaper without affecting freshness.
New in this build: CLAUDE_CODE_SYNC_REUSE_WITHIN_MS