prime-sync

Sync Claude configuration between a central prime repository and target project repositories.

113|15|Updated Mar 3, 2026
One-click install
npx skills add https://github.com/avibebuilder/claude-prime --skill prime-sync
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: prime-sync
Source: https://github.com/avibebuilder/claude-prime/tree/main/.claude/skills/prime-sync
Command: npx skills add https://github.com/avibebuilder/claude-prime --skill prime-sync

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Keeps Claude configuration, skills, hooks, and starter-skills consistent between a central prime repository and one or more target projects to prevent version drift, duplicated effort, and inconsistent AI workflows.

Core Features & Use Cases

  • Detects operating mode automatically (push from prime or pull into a target) and resolves source and target locations.
  • Builds a sync plan by detecting changed files, categorizing NEW/UPDATE/IDENTICAL/CONFLICT, and gating changes behind user approval.
  • Performs safe conflict handling with overwrite, skip, or merge options, updates target version state, and cleans up temporary clones in pull mode.
  • Use case: maintain consistent Claude skills and project rules across many repos by pushing prime updates or letting a target import prime updates during onboarding.

Quick Start

Ask the assistant to push prime repo changes to the target project path to update the target's .claude directory and write the new .prime-version.

Frequently Asked Questions about prime-sync

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

FAQPage Schema
How do I sync Claude configuration across multiple project repositories?

Claude configuration sync works by detecting changed files between a prime repository and target projects, categorizing them as NEW, UPDATE, IDENTICAL, or CONFLICT. This prevents version drift and ensures consistent AI workflows across repositories.

How does conflict resolution work when syncing Claude skills between repositories?

Yes, you can pull prime repository updates into a target project during onboarding or upgrades. The pull mode uses temporary cloning and state tracking to safely import Claude configuration, skills, and hooks while cleaning up afterward.

What's the best way to maintain consistent Claude project rules across many repos?

You need a central prime repository containing your Claude configuration and one or more target project repositories. The sync process requires explicit user approval before applying any detected file changes to target .claude directories.

Can I import Claude config updates into a single project during onboarding?

Syncing Claude configuration categorizes all detected files as NEW, UPDATE, IDENTICAL, or CONFLICT. The sync plan gates every change behind explicit user approval, ensuring no modifications happen without review.