OpenSpec Change Archiver (opsx-archive)
Validates a completed OpenSpec change and moves it into a date-stamped archive folder with a clear summary report.
AutomationIntermediate★ 978⑂ 4AI score 7/10Last updated: Oct 30, 2026
What it does
This skill implements the migrated /opsx:archive command for the OpenSpec workflow. When you close out a finished change it:
- Prompts you to pick a change from
openspec list --jsonif none is given (never auto-guesses) - Checks artifact completion via
openspec status --change <name> --jsonand warns on anything notdone - Counts
- [ ]vs- [x]entries intasks.mdand warns about incomplete tasks - Compares delta specs in
openspec/changes/<name>/specs/againstopenspec/specs/<capability>/spec.md, offers to sync via theopenspec-sync-specsskill - Moves the change to
openspec/changes/archive/YYYY-MM-DD-<name>, failing cleanly if the target exists - Prints fixed success / warning / failure report templates
Who it's for
- Teams actually running the OpenSpec spec-driven workflow
- Engineers who tend to archive changes while tasks or spec syncs are still pending
- Anyone who wants a consistent, auditable archive trail
Examples
- "Archive add-auth" → status checks run, then the folder lands in
openspec/changes/archive/2026-02-14-add-auth/. - "Archive the change we just finished" with no name → the skill lists active changes and asks you to choose.
- Delta specs not yet applied → you get "Sync now (recommended) / Archive without syncing" and the archive proceeds either way.
· · · 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/source-command-opsx-archive/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)
- Download the ZIP with the button below.
- In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
- Go to Customize → Skills → + → 'Upload a skill' and upload the 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/source-command-opsx-archive folder from the GitHub repo Gitruck/cli into my ~/.claude/skills/source-command-opsx-archive/. 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.git && mkdir -p ~/.claude/skills && cp -r cli/.agents/skills/source-command-opsx-archive ~/.claude/skills/⚠ This is a third-party skill. Check the source repository before installing.
- Open a terminal.
- Clone the repo:
git clone https://github.com/Gitruck/cli.git - Create the skills folder:
mkdir -p ~/.claude/skills - Copy the skill:
cp -r cli/.agents/skills/source-command-opsx-archive ~/.claude/skills/ - Make sure the OpenSpec CLI is installed and your project has an
openspec/directory (openspec list --jsonshould work). - Restart Claude Code, then ask: "run opsx-archive" or "archive the <name> change".
View source on GitHub ↗License: MIT