AugmentClaude

Comet Archive

Merge verified spec changes and archive them following OpenSpec delta semantics.

Installation

  1. Make sure Claude is on your device and in your terminal.

    Skills load from ~/.claude/skills/ when Claude Code starts up β€” so you need it on your machine first. If you don't have it yet, install it once with the command below, then run claude in any terminal to verify.

    One-time setup
    npm i -g @anthropic-ai/claude-code

    Already have it? Skip ahead.

  2. Paste into Claude Code or into your terminal.

    This copies the whole skill folder into ~/.claude/skills/comet-archive-rpamis/ β€” the SKILL.md plus any scripts, reference docs, or templates the skill ships with. Safe default: works for every skill.

    Faster alternative (instruction-only skills)

    Skips the clone and grabs only the SKILL.md file. Don't use this if the skill ships Python scripts, reference markdowns, or asset templates β€” they won't be downloaded and the skill will fail when it tries to load them.

    Quick install (SKILL.md only)
    Sign up to copy
  3. Restart Claude Code.

    Quit and reopen Claude Code (or any other agent that loads from ~/.claude/skills/). New skills are picked up on startup.

  4. Just ask Claude.

    Skills auto-activate when your request matches the skill's description β€” no slash command needed. Trigger phrases live in the skill's own frontmatter; you can read them in the β€œWhat this skill does” section above.

Prefer to read the source first? Open on GitHub.

When Claude uses it

Use at the end of an OpenSpec change β€” merges verified spec deltas into the main spec and archives the change folder.

What this skill does

Comet Archive is the final stage of the OpenSpec change workflow. It merges verified specification deltas into the main spec and moves the completed change folder to an archive directory, following OpenSpec delta semantics (ADDED, MODIFIED, REMOVED, RENAMED). This skill should be invoked only after verification has passed and all branch handling is complete, with verify_result: pass confirmed in the .comet.yaml metadata file.

What it does

  • Performs entry-state validation to confirm the change is ready for archival
  • Displays a summary of the change, verification results, and irreversible actions before proceeding
  • Requires explicit user confirmation via a decision point before executing any archive operations
  • Automatically applies OpenSpec delta semantics to merge the delta spec into the main spec
  • Annotates design documents and plan files with archive metadata (archived-with, status)
  • Moves the completed change folder from openspec/changes/<name>/ to openspec/changes/archive/YYYY-MM-DD-<name>/
  • Validates that no delta-only section titles remain in the main spec after merging
  • Completes the spec lifecycle: brainstorming β†’ delta spec β†’ implementation β†’ verification β†’ main spec merge β†’ archive

How to use it

Invoke this skill after verification succeeds. Pass the change name, and Claude will validate entry conditions, present a confirmation dialog with three options (confirm archival, request adjustments/re-verification, or defer), and execute the archive script only upon explicit user confirmation. The script runs automatically to merge deltas, annotate metadata, and relocate the change folder to the archive directory with a timestamp.

Related skills