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

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 --json if none is given (never auto-guesses)
  • Checks artifact completion via openspec status --change <name> --json and warns on anything not done
  • Counts - [ ] vs - [x] entries in tasks.md and warns about incomplete tasks
  • Compares delta specs in openspec/changes/<name>/specs/ against openspec/specs/<capability>/spec.md, offers to sync via the openspec-sync-specs skill
  • 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

  1. "Archive add-auth" → status checks run, then the folder lands in openspec/changes/archive/2026-02-14-add-auth/.
  2. "Archive the change we just finished" with no name → the skill lists active changes and asks you to choose.
  3. 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)
  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/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.

  1. Open a terminal.
  2. Clone the repo: git clone https://github.com/Gitruck/cli.git
  3. Create the skills folder: mkdir -p ~/.claude/skills
  4. Copy the skill: cp -r cli/.agents/skills/source-command-opsx-archive ~/.claude/skills/
  5. Make sure the OpenSpec CLI is installed and your project has an openspec/ directory (openspec list --json should work).
  6. Restart Claude Code, then ask: "run opsx-archive" or "archive the <name> change".