Skip to content
CLI Tools
Command

/sync-pull

Pull Claude Code sessions from cloud storage

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-pull

Context preview

What this command does when you run it.

Pull Claude Code sessions from cloud storage

Command definition

sync-pull.md
name: sync-pull
description: Pull Claude Code sessions from cloud storage

Sync Pull

Download remote changes from cloud storage.

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.

Preview Changes (Recommended)

First show what would change:

claude-sync pull --dry-run

Confirm with User

Use `AskUserQuestion` to ask the user if they want to proceed with the pull.

If there are existing local files that would be overwritten, warn the user that:

  • A backup will be created at `~/.claude.backup.<timestamp>`
  • They can restore from the backup if needed

Pull Changes

Execute the pull:

claude-sync pull

Or with force flag if user confirmed:

claude-sync pull --force

Report Results

After the pull completes:

  • Report how many files were downloaded
  • Note the backup location if one was created
  • Mention any conflicts that need resolution with `/sync-conflicts`
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.