openspec-sync-specs

Merge delta specs into main specs using ADDED, MODIFIED, REMOVED, and RENAMED rules.

3|1|Updated Feb 1, 2026
One-click install
npx skills add https://github.com/moltbook-experiments/glasshouse-protocol --skill openspec-sync-specs-moltbook-experiments
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: openspec-sync-specs
Source: https://github.com/moltbook-experiments/glasshouse-protocol/tree/main/.github/skills/openspec-sync-specs
Command: npx skills add https://github.com/moltbook-experiments/glasshouse-protocol --skill openspec-sync-specs-moltbook-experiments

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Sync delta specs into main specs by applying delta changes to existing capabilities to keep main specifications up to date without archiving the changes, enabling reproducible, auditable updates.

Core Features & Use Cases

  • Agent-driven delta-merge workflow that reads delta specs and updates main specs.
  • Intelligent merging that respects ADDED, MODIFIED, REMOVED, and RENAMED changes, preserving unrelated content.
  • Automatic creation of missing main specs when a capability is introduced by a delta spec.
  • Generates a concise summary of changes for traceability and review.

Quick Start

Provide a delta change name to apply, or let the system prompt you to select one, and the tool will merge the delta specs into the main specs.

Frequently Asked Questions about openspec-sync-specs

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

FAQPage Schema
How do I merge delta specs into main specs automatically?

To merge delta specs into main specs automatically, provide a delta change name to apply, and the system will read both spec types, apply ADDED, MODIFIED, REMOVED, and RENAMED rules, and update the main specifications while preserving unrelated content. It also creates missing main specs when a capability is newly introduced, outputting a concise summary of changes for traceability.

What is delta spec synchronization in OpenSpec workflows?

Delta spec synchronization in OpenSpec workflows is the process of applying delta changes to existing capabilities to keep main specifications up to date without archiving the changes. It enables reproducible, auditable updates by applying specific rules like ADDED, MODIFIED, REMOVED, and RENAMED to merge changes safely into main specs.

Does merging delta specs preserve unrelated content in the main spec?

Yes, merging delta specs preserves unrelated content in the main spec. The intelligent merging process specifically respects ADDED, MODIFIED, REMOVED, and RENAMED change rules, ensuring that only the targeted delta changes are applied while leaving all other existing content in the main specifications untouched.

Can I automatically create missing main specs from a delta spec?

Yes, you can automatically create missing main specs from a delta spec. When a capability is introduced by a delta spec and the corresponding main spec does not exist, the sync process automatically creates the missing main spec file to ensure the new capability is properly documented.

How do I review changes after syncing delta specs into main specs?

To review changes after syncing delta specs into main specs, you can read the concise summary of changes generated by the tool. This summary provides traceability and documents exactly what ADDED, MODIFIED, REMOVED, and RENAMED rules were applied to the main specifications during the merge.

What are the limitations of idempotent spec management for delta changes?

The idempotent spec management process applies delta changes to existing capabilities but does not archive the original changes. It relies on ADDED, MODIFIED, REMOVED, and RENAMED rules to merge delta specs into main specs, meaning any changes outside these defined rules in the delta spec may not be synced into the main specification.