archive

archive is a skill for Claude Code, Codex from esneiderbravo/speclaw. It costs 0 tokens per session (232 once invoked), scanned A, original, MIT.

A closing workflow for a completed lawbook change that updates the main specifications and moves the change into an archive.

In plain words
What is it for?
Use it after implementation to validate, reconcile, sync, and archive a finished change.
Why use it?
It prevents unfinished tasks, missing reports, or unsynced specifications from being treated as complete.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it after implementation to validate, reconcile, sync, and archive a finished change.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/esneiderbravo/speclaw/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 esneiderbravo/speclaw --skill archive
Clone the repo
git clone --depth 1 https://github.com/esneiderbravo/speclaw

Made for: Claude Code, Codex.

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/esneiderbravo/speclaw/archive.svg)](https://agentmods.dev/skills/esneiderbravo/speclaw/archive)
Your own site
<a href="https://agentmods.dev/skills/esneiderbravo/speclaw/archive"><img src="https://agentmods.dev/badge/skills/esneiderbravo/speclaw/archive.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 232 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.00000 $0.00232
Opus 5 $0.00000 $0.00116
Sonnet 5 $0.00000 $0.00046
Haiku 4.5 $0.00000 $0.00023

Measured 7d ago against content hash 1be268a9d806, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, 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 7d 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.

src/modules/lawbook/assets/skills/archive/SKILL.md · 18 lines

What it actually says

archive — Finalize and archive a change

Close out a completed change: its delta specs become canonical and the change folder moves to lawbook/changes/archive/. This is part of the PR that implements the change, not a post-merge chore.

lawbook_change (action: archive) is gated — the engine refuses to archive (and reports the reason) while any task is unchecked, while reports/ holds no discipline report, or while the delta specs are not yet synced into the canonical specs. So archive is the last step of a completed change: reconcile, sync, then archive.

Read steps/01-confirm-done.md and do only what it says.

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 7d ago First seen · 18 lines · 0 tokens per session scan A 1be268a9d806

Subscribe to this mod's changes

archive is a skill published in the GitHub repository esneiderbravo/speclaw (1 stars, last pushed 5d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 232 tokens. 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

repo-hygiene

Use when the scheduled repo-hygiene workflow runs from GitHub Actions (or an operator dry-run) to scan the repository for small, certain docs/test/code hygiene issues and fix them as one batched branch.

QwenLM/qwen-code · 48 tokens

create-issue

Draft and submit a GitHub issue from a user idea or bug description, with bilingual body and correct labels.

QwenLM/qwen-code · 26 tokens

docs-update-from-diff

Review local code changes with git diff and update the official docs under docs/ to match. Use when the user asks to document current uncommitted work, sync docs with local changes, update docs after a feature or refactor, or when phrases like "git diff", "local changes", "update docs", or "official docs" appear.

QwenLM/qwen-code · 75 tokens

prepare-pr

Prepare GitHub pull request title and body files from the current branch diff, especially for non-interactive CI/autofix flows that must follow the repository PR template without pushing or creating the PR.

QwenLM/qwen-code · 42 tokens

triage

Gatekeep and review GitHub issues and pull requests for Qwen Code maintainers. Use for GitHub Action issue triage, PR admission checks, product-direction review, KISS-focused PR review, and staged bilingual GitHub comments.

QwenLM/qwen-code · 50 tokens

skillshare-changelog

Generate CHANGELOG.md entry from recent commits in conventional format. Also syncs the website changelog page. Use this skill whenever the user asks to: generate a changelog, document what changed between tags, or create a new CHANGELOG entry. If you see requests like "write the changelog for v0.17", "what changed…

runkids/skillshare · 134 tokens