Skip to main content
ClaudeWave
Slash Command86 repo starsupdated 2mo ago

sync-disable

The sync-disable command disables automatic session synchronization to GitHub by setting the enabled flag to false in the local sync configuration file. Use this when you want to temporarily stop uploading Claude sessions to your GitHub repository while preserving your existing synced data and configuration settings.

Install in Claude Code
Copy
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/arpitnath/claude-capsule-kit/HEAD/commands/sync-disable.md -o ~/.claude/commands/sync-disable.md
Then start a new Claude Code session; the slash command loads automatically.

sync-disable.md

# Disable Session Sync

Turn off automatic session syncing to GitHub.

## Disable Sync

```bash
python3 -c "
import json
import os

config_file = '.claude/sync-config.json'
if os.path.exists(config_file):
    with open(config_file) as f:
        config = json.load(f)
    config['enabled'] = False
    with open(config_file, 'w') as f:
        json.dump(config, f, indent=2)
    print('✓ Session sync disabled')
    print('  Re-enable anytime with /sync-enable')
else:
    print('Session sync was not configured')
"
```

## Notes

- Your existing synced sessions remain on GitHub
- The sync config is preserved (just disabled)
- Re-enable anytime with `/sync-enable`