maintaining-trinary-sync

Synchronize Claude Code configurations across three directories with sync scripts.

Updated Mar 1, 2026
One-click install
npx skills add https://github.com/pelchers/SessionSaver --skill maintaining-trinary-sync
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: maintaining-trinary-sync
Source: https://github.com/pelchers/SessionSaver/tree/main/.codex/skills/maintaining-trinary-sync
Command: npx skills add https://github.com/pelchers/SessionSaver --skill maintaining-trinary-sync

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

Maintains synchronized copies of Claude Code configurations across three directories to prevent drift and ensure consistency when adding new skills, agents, or MCP configurations.

Core Features & Use Cases

  • Synchronized artifacts: skills, agents, MCP configurations, subagents, and hooks across main, template, and do-over.
  • Quick start and use cases: run sync-all.js to align all three locations, or sync-skill.js for a specific skill.
  • Use cases include onboarding new skills, deploying templates, and restoring from do-over after disruption.

Quick Start

Run a full sync with node scripts/sync-all.js to synchronize all three Claude Code locations.

Frequently Asked Questions about maintaining-trinary-sync

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

FAQPage Schema
How do I keep Claude Code configurations synchronized across multiple project directories?

To keep Claude Code configurations synchronized across multiple directories, you can run node scripts/sync-all.js to align skills, agents, and MCP configurations across all three locations automatically.

Why does my Claude Code setup drift when I update skills or MCP configurations?

Configuration drift happens when updates are applied to one directory but not others. This Skill prevents drift by synchronizing artifacts like SKILL.md frontmatter, scripts, and references across main, template, and do-over directories.

Can I synchronize a specific Claude Code skill instead of syncing everything?

Yes, you can synchronize a specific skill by running node scripts/sync-skill.js, which targets individual skill updates while ensuring alignment of scripts, references, and assets as defined by the skill.

What is the best way to restore Claude Code configurations after a disruption?

The best way to restore Claude Code configurations after a disruption is to use the do-over-files directory. Running a full sync restores and aligns your skills, agents, and MCP setups across all locations.

Does this synchronization approach require aligning SKILL.md frontmatter?

Yes, alignment of SKILL.md frontmatter is required. The synchronization process ensures that frontmatter and coordinated assets like scripts and references remain consistent across the main, template, and do-over directories.