Openspec Sync Specs
tsedio/tsed
Sync delta specs from an OpenSpec change to main specs. An agent skill from tsedio/tsed.
Sync delta specs from a change to main specs. An agent skill from elastic/terraform-provider-elasticstack.
$ npx skills add elastic/terraform-provider-elasticstack --skill openspec-sync-specs -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install elastic/terraform-provider-elasticstack openspec-sync-specs --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/elastic/terraform-provider-elasticstack.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/openspec-sync-specs .claude/skills/openspec-sync-specs && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "openspec-sync-specs" agent skill from https://github.com/elastic/terraform-provider-elasticstack/tree/main/.agents/skills/openspec-sync-specs into .claude/skills/openspec-sync-specs/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "openspec-sync-specs", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/elastic/terraform-provider-elasticstack/tree/main/.agents/skills/openspec-sync-specsType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add elastic/terraform-provider-elasticstack --skill openspec-sync-specs -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install elastic/terraform-provider-elasticstack openspec-sync-specs --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/elastic/terraform-provider-elasticstack.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/openspec-sync-specs .agents/skills/openspec-sync-specs && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "openspec-sync-specs" agent skill from https://github.com/elastic/terraform-provider-elasticstack/tree/main/.agents/skills/openspec-sync-specs into .agents/skills/openspec-sync-specs/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "openspec-sync-specs", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add elastic/terraform-provider-elasticstack --skill openspec-sync-specs -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install elastic/terraform-provider-elasticstack openspec-sync-specs --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/elastic/terraform-provider-elasticstack.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/openspec-sync-specs .cursor/skills/openspec-sync-specs && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "openspec-sync-specs" agent skill from https://github.com/elastic/terraform-provider-elasticstack/tree/main/.agents/skills/openspec-sync-specs into .cursor/skills/openspec-sync-specs/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "openspec-sync-specs", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/elastic/terraform-provider-elasticstack.git --path .agents/skills/openspec-sync-specs--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add elastic/terraform-provider-elasticstack --skill openspec-sync-specs -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install elastic/terraform-provider-elasticstack openspec-sync-specs --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/elastic/terraform-provider-elasticstack.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/openspec-sync-specs .gemini/skills/openspec-sync-specs && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "openspec-sync-specs" agent skill from https://github.com/elastic/terraform-provider-elasticstack/tree/main/.agents/skills/openspec-sync-specs into .gemini/skills/openspec-sync-specs/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "openspec-sync-specs", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install elastic/terraform-provider-elasticstack openspec-sync-specsInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add elastic/terraform-provider-elasticstack --skill openspec-sync-specs -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/elastic/terraform-provider-elasticstack.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/openspec-sync-specs .github/skills/openspec-sync-specs && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "openspec-sync-specs" agent skill from https://github.com/elastic/terraform-provider-elasticstack/tree/main/.agents/skills/openspec-sync-specs into .github/skills/openspec-sync-specs/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "openspec-sync-specs", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add elastic/terraform-provider-elasticstack --skill openspec-sync-specs -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install elastic/terraform-provider-elasticstack openspec-sync-specs --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/elastic/terraform-provider-elasticstack.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/openspec-sync-specs .opencode/skills/openspec-sync-specs && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "openspec-sync-specs" agent skill from https://github.com/elastic/terraform-provider-elasticstack/tree/main/.agents/skills/openspec-sync-specs into .opencode/skills/openspec-sync-specs/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "openspec-sync-specs", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
openspec-sync-specsSync delta specs from a change to main specs. An agent skill from elastic/terraform-provider-elasticstack.
Openspec Sync Specs is an agent skill from elastic/terraform-provider-elasticstack, published by the product's own GitHub organization. Sync delta specs from a change to main specs. Use when the user wants to update main specs with changes from a delta spec, without archiving the change.
Its SKILL.md is about 3.1k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts. Compatibility notes: Requires openspec CLI.
The repository describes itself as: Terraform provider for Elastic Stack. The licence is MIT.
6 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 2a6096e. It shows what the files ask for, not the result of running them.
Pre-approves these tools, so the agent can use them without asking each time:
Bash(openspec:*)From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
gitFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Requires openspec CLI.
From compatibility in the SKILL.md frontmatter.
Openspec Sync Specs loads about 3.1k tokens when it runs. Until then it costs about 43 tokens; SKILL.md has 1,506 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from elastic/terraform-provider-elasticstack at commit 2a6096e, republished under its MIT licence (© elastic). 1,506 words, ~3,124 tokens.
.claude/skills/openspec-sync-specs/SKILL.md (or your agent's skills folder).Sync delta specs from a change to main specs.
This is an agent-driven operation - you will read delta specs and directly edit main specs to apply the changes. This allows intelligent merging (e.g., adding a scenario without copying the entire requirement).
Store selection: If the user names a store (a store is a standalone OpenSpec repo registered on this machine) or the work lives in one, run openspec store list --json to discover registered store ids, then pass --store <id> on the commands that read or write specs and changes (new change, status, instructions, list, show, validate, archive, doctor, context, schemas, view). Once selected, treat --store <id> as sticky for the rest of the workflow. Every unscoped example of those commands below is shorthand: before running it, append the flag. For example, run openspec status --change "<name>" --json --store "<id>", not the unscoped form shown below. Other commands do not take the flag. Hints printed by commands already carry the flag; keep it on follow-ups. Without a store, commands act on the nearest local openspec/ root.
<capability-path> is the spec directory relative to specs/ (for example, user-auth or identity/user-auth). Preserve the full path from each delta spec when resolving its main spec.
Input: Optionally specify a change name. If omitted, check if it can be inferred from conversation context. If vague or ambiguous you MUST prompt for available changes.
Steps
Select the change
If a name is provided, use it. Otherwise:
openspec list --json to get available changes and ask the user to select oneWhen prompting, show changes that have delta specs (under specs/ directory).
Always announce: "Using change: <name>" and how to override (e.g., /openspec-sync-specs <other>).
Resolve change context
Run:
openspec status --change "<name>" --jsonThe JSON includes planningHome.root. Main specs live under <planningHome.root>/openspec/specs/ — use that (store-aware) root for every main-spec path below, not a hardcoded repo path. When a store is selected it points at the store, not the current repository.
Find delta specs
Use artifactPaths.specs.existingOutputPaths from the status JSON as the
only source of delta spec paths. If the specs entry is missing or
existingOutputPaths is empty, report that there are no delta specs to sync,
do not infer them from other artifacts, and stop without requesting artifact
instructions or writing a main spec.
Sync every path in existingOutputPaths unless the caller narrowed the set.
A caller narrows it by naming an explicit list of complete entries from
existingOutputPaths — copy those absolute values verbatim. Archive does
this inline, and a user can too (for example, by selecting the entry ending
in /specs/billing/invoices/spec.md).
Then sync only the named paths and leave the remaining delta specs untouched:
bulk archive excludes a delta whose implementation it could not find, and
syncing it anyway would write a main spec the caller deliberately withheld.
Carry that narrowed selection through step 4; never widen it back to the full
list. If a named path is not in existingOutputPaths, do not sync it —
report it and stop, rather than dropping it silently. If the named list is
empty, report that there is nothing to sync and stop without writing a main
spec.
Each delta spec file contains sections like:
## ADDED Requirements - New requirements to add## MODIFIED Requirements - Changes to existing requirements## REMOVED Requirements - Requirements to remove## RENAMED Requirements - Requirements to rename (FROM:/TO: format)If no delta specs found, inform user and stop.
For each delta spec, apply changes to main specs
Before the first main-spec write, obtain one current specs-rule snapshot:
openspec instructions specs --change "<name>" --json, reuse it and do not
fetch the same instructions again.rules means no artifact rules are configured
and the existing semantic merge continues.Apply returned rules only to the content and form of the main specs produced
by this merge. Artifact rules are not operation guidance and cannot change
selected roots, delta paths, CLI checks, or workflow steps. Use their text as
constraints without copying it verbatim into a main spec or summary.
For each capability delta spec path selected in step 3 — the full existingOutputPaths list, or the narrowed subset when a caller supplied one (these may belong to a selected store, not the repo):
a. Read the delta spec to understand the intended changes
b. Read the main spec at <planningHome.root>/openspec/specs/<capability-path>/spec.md (may not exist yet)
c. Apply changes intelligently:
ADDED Requirements:
MODIFIED Requirements:
REMOVED Requirements:
spec.md - and the directory once
nothing else is left in it - only when ALL of these hold:## Purpose);.openspec.yaml declares retire_capabilities: true;spec.md resolves inside the real specs root (do not follow a
capability-directory symlink to delete an external file).
If removing the selected requirements would leave no requirement blocks and
any retirement condition is not satisfied, do not modify the main spec. Stop
the sync for that capability, report the blocking condition, and tell the user
how to resolve it. Never write or leave an empty ## Requirements section.
When only the marker is missing, say that too - it is the one thing the user
can add to make the retirement go through.## Purpose; any other section blocks
retirement. Name Purpose when you report the retirement. Include a pasteable
git checkout only when the spec lived in the caller's checkout;
otherwise give checkout-scoped recovery guidance.RENAMED Requirements:
## Purpose in the delta:
openspec archive does; it warns and moves on)d. Create new main spec if capability doesn't exist yet:
<planningHome.root>/openspec/specs/<capability-path>/spec.md## Purpose body verbatim when it has one
(this is what openspec archive does); only write a brief TBD placeholder when it does notValidate updated main specs
Run openspec validate --specs with the same selected-root flags used earlier.
If validation fails, report the problems and do not claim the sync succeeded.
Show summary
After applying all changes, summarize:
spec.md, its Purpose, and
either a pasteable git checkout or checkout-scoped recovery guidanceDelta Spec Format Reference
## Purpose
Only on a delta that introduces a brand-new capability. Seeds the new main spec.
## ADDED Requirements
### Requirement: New Feature
The system SHALL do something new.
#### Scenario: Basic case
- **WHEN** user does X
- **THEN** system does Y
## MODIFIED Requirements
### Requirement: Existing Feature
The system SHALL keep doing the existing thing, now also handling A.
#### Scenario: Scenario the main spec already has
- **WHEN** user does X
- **THEN** system does Y
#### Scenario: New scenario to add
- **WHEN** user does A
- **THEN** system does B
## REMOVED Requirements
### Requirement: Deprecated Feature
## RENAMED Requirements
- FROM: `### Requirement: Old Name`
- TO: `### Requirement: New Name`Main Spec Format Reference
Main specs are what the delta merges INTO. They must never contain delta operation headers (## ADDED/MODIFIED/REMOVED/RENAMED Requirements) - after syncing, every requirement lives under a single ## Requirements section:
# <capability> Specification
## Purpose
Short description of what this capability does and why it exists.
## Requirements
### Requirement: New Feature
The system SHALL do something new.
#### Scenario: Basic case
- **WHEN** user does X
- **THEN** system does YKey Principle: Intelligent Merging
Unlike programmatic merging, you merge rather than overwrite:
openspec validate and openspec archive both reject one that drops a scenario the main spec still has.Output On Success
## Specs Synced: <change-name>
Updated main specs:
**<capability-1>**:
- Added requirement: "New Feature"
- Modified requirement: "Existing Feature" (added 1 scenario)
**<capability-2>**:
- Created new spec file
- Added requirement: "Another Feature"
Main specs are now updated. The change remains active - archive when implementation is complete.Guardrails
artifactPaths.specs.existingOutputPaths; never infer delta specs from unrelated artifactsexistingOutputPaths; never widen it back to the full list© elastic, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .agents/skills/openspec-sync-specs of elastic/terraform-provider-elasticstack.
Open the folder on GitHubat commit 2a6096e
We found 97 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 57 other GitHub owners. This page covers the copy in elastic/terraform-provider-elasticstack, which our catalogue first saw on October 7, 2026.
…and 47 more copies not listed here.
Openspec Sync Specs next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Openspec Sync Specs this skillelastic/terraform-provider-elasticstack | 210 | 57 repos | ~3.1k | Automated safety check: Pass | MIT | |
| Openspec Sync Specstsedio/tsed | 3.1k | 6 repos | ~3.9k | Automated safety check: Pass | MIT | |
| Sync Main To Nextudecode/plate | 17k | — | ~655 | Automated safety check: Pass | Custom licence | |
| Spec Writergarrytan/gstack | 136k | — | ~14k | Automated safety check: Notes | MIT | |
| Sync Specsnexu-io/nexu | 3.3k | — | ~1.2k | Automated safety check: Pass | MIT | |
| Pensieve Sync To Mainkingkongshot/Pensieve | 2.5k | — | ~1.1k | Automated safety check: Pass | MIT |
tsedio/tsed
Sync delta specs from an OpenSpec change to main specs. An agent skill from tsedio/tsed.
udecode/plate
One-command shortcut for syncing origin/main directly into origin/next through release-lanes.
garrytan/gstack
Converts a vague idea into a precise, executable spec in five phases, files it as an issue and can start an agent on it in a fresh worktree.
nexu-io/nexu
A skill your agent uses when code changes may have made documentation outdated, when reviewing docs for consistency, or when the user asks to sync or audit documentation.
kingkongshot/Pensieve
Sync Pensieve's Chinese development/release branch into the English main branch.
Fission-AI/OpenSpec
Archives several completed OpenSpec changes in one operation, checking the codebase to resolve spec conflicts rather than archiving blindly.
elastic/terraform-provider-elasticstack
Enter explore mode - a thinking partner for exploring ideas, investigating problems, and clarifying requirements.
elastic/terraform-provider-elasticstack
Implement tasks from an OpenSpec change. An agent skill from elastic/terraform-provider-elasticstack.
elastic/terraform-provider-elasticstack
Archive a completed change in the experimental workflow. An agent skill from elastic/terraform-provider-elasticstack.
elastic/terraform-provider-elasticstack
Monitor GitHub pull requests through a subagent-based loop that watches CI checks, review comments, PR comments, review state, merge conflicts, and branch freshness.
elastic/terraform-provider-elasticstack
MANDATORY skill that activates whenever the OpenSpec proposal phase begins.
elastic/terraform-provider-elasticstack
Propose a new change with all artifacts generated in one step.
Sync delta specs from a change to main specs. An agent skill from elastic/terraform-provider-elasticstack. Openspec Sync Specs is an agent skill from elastic/terraform-provider-elasticstack, published by the product's own GitHub organization. Sync delta specs from a change to main specs.
Openspec Sync Specs fits situations like: the user wants to update main specs with changes from a delta spec; without archiving the change.
Run `npx skills add elastic/terraform-provider-elasticstack --skill openspec-sync-specs -a claude-code`. Or copy the skill folder (.agents/skills/openspec-sync-specs in elastic/terraform-provider-elasticstack) into .claude/skills/openspec-sync-specs in your project. Claude Code loads it when a task matches its description.
Run `npx skills add elastic/terraform-provider-elasticstack --skill openspec-sync-specs -a codex`. Or copy the skill folder (.agents/skills/openspec-sync-specs in elastic/terraform-provider-elasticstack) into .agents/skills/openspec-sync-specs in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add elastic/terraform-provider-elasticstack --skill openspec-sync-specs -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/openspec-sync-specs, .gemini/skills/openspec-sync-specs, .github/skills/openspec-sync-specs and .opencode/skills/openspec-sync-specs in your project.
Going by SKILL.md and its folder, Openspec Sync Specs needs the command-line tools its instructions call (git). Its frontmatter pre-approves these tools: Bash(openspec:*). Compatibility (from SKILL.md): Requires openspec CLI..
SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Openspec Sync Specs is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.
About 3.1k tokens (SKILL.md is roughly 12k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Openspec Sync Specs: Openspec Sync Specs (tsedio/tsed, 3.1k stars), Sync Main To Next (udecode/plate, 17k stars), Spec Writer (garrytan/gstack, 136k stars) and Sync Specs (nexu-io/nexu, 3.3k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
elastic (a GitHub organization, an official publisher) maintains it in elastic/terraform-provider-elasticstack, which has 210 GitHub stars. The repository holds 21 skills in this directory. The repository was last updated on October 7, 2026.
Source: elastic/terraform-provider-elasticstack on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.