Skip to main content
ClaudeWave
Slash Command86 repo starsupdated 15d ago

sync

Manually sync current session to GitHub now

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

sync.md

# Sync Session Now

Push the current session state to GitHub immediately.

## Sync

```bash
if [ -f ".claude/scripts/push-session.sh" ]; then
    bash .claude/scripts/push-session.sh
else
    echo "Session sync not installed. Run /sync-enable first."
fi
```

## What Gets Synced

- Current tasks (completed, in-progress, pending)
- Files accessed this session
- Discoveries logged
- Session duration and metadata

## Notes

- Safe to run multiple times (updates existing session)
- Requires sync to be enabled first (`/sync-enable`)
- Sessions also sync automatically on exit