Skip to content
CLI Tools
Command

/sync-reset

Reset claude-sync configuration and optionally clear data

From plugin
claude-sync
3269 skills9 commands
> /plugin marketplace add tawanorg/claude-sync
> /plugin install claude-sync@claude-sync

Command definition

sync-reset.md
name: sync-reset
description: Reset claude-sync configuration and optionally clear data

Sync Reset

Reset claude-sync configuration. Use this if you forgot your passphrase or want to start fresh.

Check Current State

First check if claude-sync is configured:

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

Confirm with User

Use `AskUserQuestion` to confirm the reset and ask what to clear:

**Options:** 1. **Config only** - Just delete local config and key (can reconfigure) 2. **Config + remote** - Also delete all files from cloud storage 3. **Full reset** - Clear config, remote, AND local sync state

**Warning the user:**

  • If clearing remote, all synced files will be deleted from cloud storage
  • They'll need to run `/sync-init` again after reset
  • If they forgot passphrase, their encrypted remote files cannot be recovered

Execute Reset

Based on user choice:

**Config only:**

claude-sync reset --force

**Config + remote:**

claude-sync reset --remote --force

**Full reset (nuclear option):**

claude-sync reset --remote --local --force

After Reset

Inform the user:

  • Configuration has been cleared
  • Run `/sync-init` to set up again
  • If they cleared remote, they can push from current device with new passphrase
@tawanorg
Ships withclaude-sync

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

Stars on GitHub

Momentum

stars in total
326
Star history of tawanorg/claude-sync on GitHub, a chart by star-history.com

Other commands on claude-sync.

More commands from other plugins.

canvas

canvas

Command

Spawn interactive terminal canvases for calendars, documents, and flight booking

@dvdsgl@dvdsglInstall Command
debug-logs

debug-logs

Command

Analyze claudish debug logs from a failed model run. Extracts SSE fixtures, diagnoses failures, adds regression tests.

@madappgang@madappgangInstall Command