template-sync

Detect upstream template changes and apply approved updates selectively.

8|6|Updated Mar 3, 2026
One-click install
npx skills add https://github.com/nomoory/brain-in-a-vat --skill template-sync-nomoory
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: template-sync
Source: https://github.com/nomoory/brain-in-a-vat/tree/main/.claude/skills/template/sync
Command: npx skills add https://github.com/nomoory/brain-in-a-vat --skill template-sync-nomoory

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Checking for upstream brain-in-a-vat template updates and applying chosen changes to keep your workspace aligned with the latest best practices, while avoiding overwriting customized work.

Core Features & Use Cases

  • Upstream change detection: Scan for new commits in the upstream template and present them for review.
  • Selective application: Categorize changes and apply only user-approved items to your local setup.
  • Baseline tracking: Update and persist a baseline record to streamline future syncs.
  • Dry-run support: Preview changes without applying them to the working tree.

Quick Start

To begin, ask the agent to run the sync workflow to check for upstream changes and selectively apply them.

Frequently Asked Questions about template-sync

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

FAQPage Schema
How do I sync upstream template changes without overwriting local edits?

To sync upstream template changes safely, you can detect new commits in the upstream template, categorize them, and selectively apply only the approved updates to your local workspace. This preserves your customized work while maintaining alignment.

What is the best way to track template baselines in a multi-repo setup?

Template baseline tracking in a multi-repo setup involves updating and persisting a baseline record after each sync. This streamlines future syncs by providing a deterministic reference point for measuring new upstream template changes.

Can I preview upstream git changes before applying them to my working tree?

Yes, you can preview upstream git changes using the dry-run support feature. It allows you to review categorized template updates without actually applying them to your working tree, ensuring you only merge desired modifications.

How do I apply only specific upstream changes across different categories?

You can apply specific upstream changes across different categories by requesting selective application during the sync workflow. The agent categorizes template updates and applies them only when explicitly requested by the user.

What do I need to perform deterministic template sync operations?

Deterministic template sync operations require a local baseline, the upstream main branch, and a defined process to categorize, review, and merge changes. These elements ensure consistent and predictable template alignment outcomes.