AI Skill MartBrowse skillsPromptsProgramsLearnWhat is a Skill?
← Back to list

OpenSpec Archive Change

Finalizes a completed OpenSpec change by verifying artifacts, tasks and delta specs before moving it into a dated archive folder.

AutomationIntermediate★ 968⑂ 2AI score 7/10Last updated: Oct 30, 2026

What it does

Archives a completed change in the OpenSpec workflow, with safety checks at every step.

  • Runs openspec list --json and asks you to pick the change (it never auto-selects).
  • Runs openspec status --change <name> --json to verify artifact completion; warns and asks for confirmation if anything is unfinished.
  • Counts - [ ] vs - [x] entries in tasks.md and reports incomplete tasks.
  • Detects delta specs under openspec/changes/<name>/specs/, diffs them against the main specs, and offers to sync.
  • Moves the directory to openspec/changes/archive/YYYY-MM-DD-<name> and prints a completion summary.
  • This repo also adds an "archive gate" (npm run openspec:gate) that must pass before archiving.

Who it's for

  • Teams doing spec-driven development with the OpenSpec CLI
  • Maintainers who want change history neatly filed by date
  • Developers who want implementation closeout and spec sync handled in one pass

Examples

  1. "add-login-retry is done — archive it" → checks artifacts/tasks, then moves to archive/2026-07-26-add-login-retry/.
  2. No change name given: "clean up finished changes" → lists active changes and prompts you to select one.
  3. Delta specs still present → summarizes adds/modifications/removals and offers "Sync now" vs "Archive without syncing".

· · · Install guide · · ·

Try it now, no install

Paste this into Claude to use the skill without installing anything.

Read the instructions in this file and follow them to help me:
https://raw.githubusercontent.com/Gitruck/cli/HEAD/.agents/skills/openspec-archive-change/SKILL.md

What I want: (describe your task here)

If Claude can't open the link, open it yourself and paste the contents instead.

↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.

Install in the Claude app (no terminal)
  1. Download the ZIP with the button below.
  2. In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
  3. Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
↓ Download ZIP
Install in Claude Code

Let Claude do it — paste this into Claude Code

Install the skill I found on AI Skill Mart.
Copy the .agents/skills/openspec-archive-change folder from the GitHub repo Gitruck/cli into my ~/.claude/skills/openspec-archive-change/.
When it's done, tell me in one line what this skill can do.

Install with a command instead

git clone https://github.com/Gitruck/cli /tmp/gitruck-cli && mkdir -p ~/.claude/skills && cp -r /tmp/gitruck-cli/.agents/skills/openspec-archive-change ~/.claude/skills/

⚠ This is a third-party skill. Check the source repository before installing.

  1. Open a terminal.
  2. Clone the repository: git clone https://github.com/Gitruck/cli /tmp/gitruck-cli
  3. Create the skills directory: mkdir -p ~/.claude/skills
  4. Copy the skill: cp -r /tmp/gitruck-cli/.agents/skills/openspec-archive-change ~/.claude/skills/
  5. Check the prerequisite: run openspec --version. Without the OpenSpec CLI this skill cannot run.
  6. Your project needs an openspec/changes/ layout. Note that the repo-specific archive gate relies on openspec/gate.mjs, which is intentionally not committed — in other projects remove that section or implement your own gate.
  7. Restart Claude Code and try: "archive the completed change".