Skip to content
CLI Tools
Command

/sync-diff

Show differences between local and remote Claude Code sessions

BOOST
From plugin
claude-sync
2999 skills9 commands
Install
> /plugin marketplace add tawanorg/claude-sync
> /plugin install claude-sync@claude-sync

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/sync-diff

Context preview

What this command does when you run it.

Show differences between local and remote Claude Code sessions

Command definition

sync-diff.md
name: sync-diff
description: Show differences between local and remote Claude Code sessions

Sync Diff

Show detailed differences between local and remote files.

Check Configuration

First verify claude-sync is configured:

test -f ~/.claude-sync/config.yaml && echo "configured" || echo "not configured"

If not configured, tell the user to run `/sync-init` first.

Show Differences

Get the diff:

claude-sync diff

Report Results

Summarize the differences:

  • Files only on local (would be uploaded)
  • Files only on remote (would be downloaded)
  • Files with different content (show which is newer if possible)

Suggest next actions based on what was found:

  • `/sync-push` to upload local changes
  • `/sync-pull` to download remote changes
  • `/sync-status` for a quick summary
Ships withclaude-sync

Sync Claude Code sessions across devices using Cloudflare R2 with end-to-end encryption

Get the whole plugin

Other commands on claude-sync.