Treasure Sync

Synchronize the jays-treasure-trove configuration repository with bidirectional sync and backups.

1|Updated Aug 5, 2025
One-click install
npx skills add https://github.com/jayleekr/jays-treasure-trove --skill treasure-sync
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Treasure Sync
Source: https://github.com/jayleekr/jays-treasure-trove/tree/main/projects/common/skills/treasure-sync
Command: npx skills add https://github.com/jayleekr/jays-treasure-trove --skill treasure-sync

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps keep your local Claude configuration repository in sync with the central jays-treasure-trove repository, eliminating drift and manual reconciliation.

Core Features & Use Cases

  • Bidirectional Sync: Pull remote changes, push local updates, or perform a full bidirectional sync to keep both sides aligned.
  • Safety & Backups: Automatically back up before risky operations and provide rollback options.
  • Conflict Management: Detect conflicts with a clear resolution workflow and user approval checkpoints.
  • Status & Reporting: Show local vs remote changes and recommended next steps.

Quick Start

To start syncing, run the Treasure Sync command for your project, e.g., treasure sync jays-treasure-trove. Ensure your local clone is at ~/.claude-config/ and in a clean state before initiating a full sync.

Frequently Asked Questions about Treasure Sync

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I sync local config files with a remote git repository?

To sync local configuration files with a remote git repository, you can perform a full bidirectional sync that pulls remote changes and pushes local updates. This eliminates manual reconciliation and configuration drift between local and central repositories.

What is the safest way to resolve git conflicts during config synchronization?

The safest way to resolve git conflicts during config synchronization is using a conflict-aware workflow with user approval checkpoints. It detects conflicts clearly and automatically backs up data before risky operations to provide rollback options and prevent data loss.

Can I push local Claude configuration updates without losing remote changes?

Yes, you can push local Claude configuration updates without losing remote changes by running a bidirectional sync. It fetches and merges remote updates first, managing commits automatically to ensure both local and central repositories stay aligned.

Does config sync require a clean git state before running?

Yes, config sync requires a clean git state before initiating a full synchronization operation. You must ensure your local clone is in a clean state to safely execute git fetch, merge, and commit management without encountering uncommitted working directory errors.

Why does git merge fail when pulling remote configuration changes?

Git merge fails when pulling remote configuration changes due to conflicting local modifications. A conflict-aware sync detects these divergences, pauses for user approval checkpoints, and creates automatic backups to safeguard against data loss during resolution.

What is the best way to back up configuration files before a git push?

The best way to back up configuration files before a git push is using an automated backup strategy integrated into the sync process. It creates backups automatically before risky operations, providing safe rollback options to prevent data loss.