Skip to main content
ClaudeWave
Slash Command86 estrellas del repoactualizado 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.

Instalar en Claude Code
Copiar
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
Después abre una sesión nueva de Claude Code; el slash command carga automáticamente.

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`