archive

archive is a skill for Claude Code from chan4lk/specclaw. It costs 57 tokens per session (475 once invoked), scanned A, original, MIT.

A command that moves a completed specclaw change into the project’s archive folder.

In plain words
What is it for?
Use it after a change is merged and verified to update its phase, move its files, and refresh the project status dashboard.
Why use it?
It keeps active changes separate from completed work and records that the change was archived. It can also close the related GitHub issue and optionally create a git tag when configured.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the specclaw plugin — 32 skills, 21 agents shipped together

Good fit Use it after a change is merged and verified to update its phase, move its files, and refresh the project status dashboard.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/chan4lk/specclaw/archive
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.

Any agent
npx skills add chan4lk/specclaw --skill archive
Clone the repo
git clone --depth 1 https://github.com/chan4lk/specclaw

Made for: Claude Code.

Or install specclaw, the plugin that ships this one along with the rest of its 32 skills, 21 agents.

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 archive

README.md
[![agentmods](https://agentmods.dev/badge/skills/chan4lk/specclaw/archive.svg)](https://agentmods.dev/skills/chan4lk/specclaw/archive)
Your own site
<a href="https://agentmods.dev/skills/chan4lk/specclaw/archive"><img src="https://agentmods.dev/badge/skills/chan4lk/specclaw/archive.svg" alt="Measured on agentmods" height="20"></a>
Per session 57 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 475 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00057 $0.00475
Opus 5 $0.00028 $0.00237
Sonnet 5 $0.00011 $0.00095
Haiku 4.5 $0.00006 $0.00047

Measured 8d ago against content hash 06d56150362c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

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 8d 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.

plugins/specclaw/skills/archive/SKILL.md · 19 lines

What it actually says

specclaw archive

First, run specclaw-ensure-init .specclaw — idempotently creates .specclaw/ if it doesn't exist (silent if already initialized; auto-inits using the current directory's basename as the project name).

Archive a completed change.

  1. Validate: specclaw-validate-change .specclaw <change> archive. If it fails, report and stop.
  2. Verify the change is complete (all tasks done, verification passed, PR merged).
  3. Record the phase: specclaw-set-phase .specclaw <change> archived done. specclaw-set-phase is the only writer of phase state — it records state.json and upserts the Archived row in status.md. Never hand-edit those rows. Run it before the move, so the recorded state travels with the directory.
  4. Move to .specclaw/changes/archive/<change>/ — the name is preserved verbatim, number included, with no date prefix. The leading <NNN>- already orders the folder, and the archive date is recorded in state.json by step 3; the old prefix was the archive date, not the change's, so a single bulk archival run stamped 24 of this repo's folders with one identical date — ordering by it was actively misleading.
  5. Update the dashboard: specclaw-update-status .specclaw.
  6. GitHub sync (if enabled): specclaw-gh-sync close .specclaw <change> to close the issue.
  7. Azure Boards sync (if azdo.boards.sync: true): specclaw-azdo-issue close .specclaw <change> to post a closing comment and add a closed-by-specclaw tag. (Does not transition Work Item state — humans drive state in ADO.)
  8. Optionally create a git tag for the release.
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. 8d ago First seen · 19 lines · 57 tokens per session scan A 06d56150362c

Subscribe to this mod's changes

archive is a skill published in the GitHub repository chan4lk/specclaw (12 stars, last pushed 4d ago), licensed MIT. It adds 57 tokens to every session and 475 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-30.

Related

Other skills, from other repositories

managing-github

Use when work reaches a GitHub-hosted issue, pull request or review, release, tag, or live deployment-branch boundary, including indirectly after investigation, completed development, or repository policy requires delivery. Also trigger when work discovers a repository defect that may need duplicate search or an issue…

rundesk-ai/rundesk-cli · 134 tokens

ship-it

Get the work done in this conversation all the way out — merged, and deployed to every environment the repo has, production included. Grounds itself first in the branches written during this session, the open and closed PRs behind them, and the environments and CI/CD workflows the repo actually defines, then lands and…

adamlinscott/claude-skills · 134 tokens

ship-it-now

Same skill as /ship-it, with the ride-along confirmation gate turned off.

adamlinscott/claude-skills · 135 tokens

capture-lessons

Ship and capture lessons workflow. Creates the PR, updates lessons learned, updates documentation, generates the sprint retrospective, and updates the backlog. Use at the end of a sprint cycle, or when the user says "ship", "capture", "lessons", "retro", "retrospective", "wrap up", or "done with this sprint". Also use…

rbah31/claude-code-workflow · 100 tokens

changelog

Generate changelogs, release notes, and feature announcements from sprint artifacts. Use when a sprint is complete and needs to be communicated to users. Also use when the user says "changelog", "release notes", "what's new", "announce this", "communicate this feature", "write the update", or after a capture-lessons…

rbah31/claude-code-workflow · 87 tokens

version-bump

Automated semantic versioning and release workflow for Claude Code plugins. Handles version increments across package.json, marketplace.json, plugin.json manifests, build verification, git tagging, GitHub releases, and changelog generation. NPM publishing is the final human-required handoff because the maintainer…

thedotmack/claude-mem · 64 tokens