ss-archive

ss-archive is a skill for Claude Code, Codex from lbk-open/super-spec. It costs 68 tokens per session (995 once invoked), scanned A, original, Apache-2.0.

A skill for finalizing an OpenSpec change by merging its detailed specification updates into the main specification folder and moving the completed change into a dated archive.

In plain words
What is it for?
Use it after reviewing an OpenSpec change that is ready to become part of the project's source of truth, or when creating a pull request through the related workflow.
Why use it?
It keeps the project's main specifications up to date and preserves a record of completed changes.

Skill for Claude CodeCodex

Part of the super-spec plugin — 20 skills shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/lbk-open/super-spec/ss-archive
Any agent
npx skills add lbk-open/super-spec --skill ss-archive
Clone the repo
git clone --depth 1 https://github.com/lbk-open/super-spec

Made for: Claude Code, Codex.

Or install super-spec, the plugin that ships this one along with the rest of its 20 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ss-archive

README.md
[![agentmods](https://agentmods.dev/badge/skills/lbk-open/super-spec/ss-archive.svg)](https://agentmods.dev/skills/lbk-open/super-spec/ss-archive)
Your own site
<a href="https://agentmods.dev/skills/lbk-open/super-spec/ss-archive"><img src="https://agentmods.dev/badge/skills/lbk-open/super-spec/ss-archive.svg" alt="Measured on agentmods" height="20"></a>
Per session 68 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 995 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00068 $0.00995
Opus 5 $0.00034 $0.00498
Sonnet 5 $0.00014 $0.00199
Haiku 4.5 $0.00007 $0.00100

Measured 4d ago against content hash 1398d97b971a, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

ss-archive scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/ss-archive/SKILL.md · 111 lines

How it starts

The opening of the file, as written. The whole thing — 111 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Archive OpenSpec Change

Merge OpenSpec delta specs from openspec/changes/<change-id>/specs/ into openspec/specs/, then move the change directory to openspec/changes/archive/YYYY-MM-DD-<change-id>/.

This skill is idempotent. The ss-create-pr skill calls it automatically before opening a pull request.

Inputs

Optional: a specific <change-id>, and/or --dry-run to validate and report without writing anything.

Process

Step 1: Discover the Active Change

If a <change-id> was given, use it. Otherwise:

  1. List directories under openspec/changes/, excluding archive/.
  2. If none exist, report a no-op.
  3. If exactly one exists, use it.
  4. If multiple exist, ask the user which one to archive.

If openspec/changes/<change-id>/specs/ has no delta files, report a zero-spec no-op.

Step 2: Sync With Git

Check the working tree status.

  • If there are uncommitted changes: continue only if they are the intended OpenSpec delta/code changes for this branch. Stop if unrelated files are dirty — never stash, discard, or rewrite the user's work.
  • Don't rebase-pull while the worktree is dirty.
  • If the worktree is clean, sync first (fetch and rebase against upstream).
  • If the worktree is dirty but only contains the intended change, perform the archive merge and commit first, then rebase-pull only if needed before pushing.

Step 3: Validate Delta Format

For every openspec/changes/<change-id>/specs/<cap>/spec.md:

  • section headings are only ADDED / MODIFIED / REMOVED / RENAMED Requirements
  • every section heading is followed by at least one ### Requirement: entry — remove empty sections entirely
  • every Requirement has at least one #### Scenario:
  • MODIFIED entries copy a matching source-of-truth Requirement in full
  • REMOVED entries include a Reason and a Migration note
  • RENAMED entries use FROM: <old> → TO: <new>

If validation fails, stop and list the exact files and fixes needed.

Step 4: Merge Deltas Into Source-of-Truth Specs

Read the full file on GitHub · 111 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 111 lines · 68 tokens per session scan A 1398d97b971a

Subscribe to this mod's changes

ss-archive is a skill published in the GitHub repository lbk-open/super-spec (1 stars, last pushed 13d ago), licensed Apache-2.0. It adds 68 tokens to every session and 995 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

release

CONTRIBUTOR TOOL - Cut a plugin release: bump plugin.json version, finalize CHANGELOG, update README if needed, gate on make ci, commit, tag vX.Y.Z, and create the GitHub release. Use when shipping a new plugin version. NOT distributed.

oliver-kriska/claude-elixir-phoenix · 60 tokens

craft-plugin-release

Releasing Craft CMS plugins — tagging, Packagist propagation, GitHub releases, branch promotion, shared-library ordering, history rewrites. ALWAYS load when cutting, preparing, verifying, or debugging a plugin release: bumping a version, dating a changelog, creating or moving a git tag, or checking what Packagist…

michtio/craftcms-claude-skills · 347 tokens

done

End-of-session shipping gate — "prove it works, then ship it." Runs an evidence checklist (full test suite, lint/typecheck, build, and actually running the change — output quoted, never asserted), then a fresh-context two-stage review by a sub-agent that sees only the diff and the spec: spec-compliance first…

duthaho/skillhub · 204 tokens

git-collaboration-workflows

Run git collaboration that scales — trunk-based vs git-flow decided by deploy cadence, branch protection and required checks, PR sizing and review etiquette, monorepo vs polyrepo trade-offs, release branches and hotfixes, and history hygiene with disciplined merges.

vanara-agents/skills · 58 tokens

git-for-research-code

When the user wants to version-control optimization research code - small commits per experiment change, tags for paper result snapshots, .gitignore for solver logs, linking result tables to commit hashes, and branch strategy for risky refactors. Also use when the user mentions "git workflow," "version control…

hajibabaie/combinatorial-optimization-skills · 117 tokens

vibe-changelog

Generates and maintains two changelog files from git tags, TASKS.md, DECISIONS.md, and feature folders. CHANGELOG.md at repo root is developer-facing in Keep a Changelog format with task IDs and decisions. CHANGELOGCLIENT.md is plain English, grouped by "what you can now do", written like a product update — no task…

aakashdhar/vibe-skill · 176 tokens