Files
claudetools/.grok/skills/sync/SKILL.md
Mike Swanson 446a6c1b1c sync: auto-sync from GURU-5070 at 2026-06-02 20:40:54
Author: Mike Swanson
Machine: GURU-5070
Timestamp: 2026-06-02 20:40:54
2026-06-02 20:40:58 -07:00

1.3 KiB

name, description
name description
sync Sync the ClaudeTools and vault repos with Gitea. Use when the user says /sync, "sync now", "push the changes", "sync repos", after offline work, before switching machines, or to check queue status.

/sync — Cross-Machine Context Sync

Synchronize queued contexts across machines (and the vault repo).

Grok note: Native Grok skill for the shared command. Authoritative details in .claude/commands/sync.md.

When this skill activates:

  • First, check for uncommitted session-logs (as described in the source).
  • If uncommitted logs exist, warn the user and recommend /save first.
  • Then run the sync logic (typically bash .claude/scripts/sync.sh).
  • Use run_terminal_command for the git / sync operations.
  • Follow any pre/post steps in the command doc.

Key logic (see full source)

  • Phase 0: Check git status --porcelain for uncommitted session-logs/*.md . If present, emit warning and suggest /save.
  • Then delegate to the sync script for staging, committing with conventional messages, pushing to Gitea, and handling the vault repo sync.

The command also covers offline mode, queue handling, and conflict resolution.

Read .claude/commands/sync.md (and related sync.sh) for the complete implementation and safeguards.

This is often used after /save or as part of /scc.