Skip to content
Back to skills

Archive

ASecurity

Archive the completed change: task gate, delta sync into main specs, revalidate

  • 14 stars
  • 0 votes
  • 0 copies
  • 5 views
  • Added August 31, 2026
ai-agentsbash

Works with

  • cli

Security analysis

A100/100

Scanned August 31, 2026

npx -y skills add clomia/claude-automata --skill archive --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Archive?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Archive
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/clomia-archive/badge)](https://www.skillsdirectory.com/skills/clomia-archive)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: archive
description: "Archive the completed change: task gate, delta sync into main specs, revalidate"
argument-hint: "[change-id]"
effort: high
---

Archiving syncs the deltas into the main specs and freezes the change directory under
`openspec/changes/archive/`.

# 절차

1. Check the active changes and their task counts:

   ```bash
   "${CLAUDE_PLUGIN_ROOT}/bin/tx-hook" openspec list --json
   ```

   If no change is active, say so and stop. **A change with no tasks (no-tasks) or
   unfinished tasks fails the archive.** The CLI does not block this; the gate is
   enforced here. Fill missing tasks through `tx:plan`, unfinished ones through
   `tx:apply`.

2. Archive:

   ```bash
   "${CLAUDE_PLUGIN_ROOT}/bin/tx-hook" openspec archive <change-id> --yes
   ```

3. Revalidate the synced state. A failure is a defect in the spec state archive
   produced: fix it and revalidate. A finding against a still-active change belongs
   to that change, not to this archive:

   ```bash
   "${CLAUDE_PLUGIN_ROOT}/bin/tx-hook" openspec validate --all --strict --no-interactive --json
   ```

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.