baseline: Skill for Claude Code

.claude/skills/archive/SKILL.md

archive is a skill for Claude Code from friedbotstudio/baseline. It costs 77 tokens per session (2,887 once invoked), scanned A, original, Apache-2.0.

A workflow phase that moves completed work-in-progress files into `docs/archive/` before a change is committed. It archives materials such as intake notes, research, specifications, approvals, reports, and diagrams.

In plain words
What is it for?
Use it after documentation is complete and before committing a workflow item, so the related artifacts are archived together.
Why use it?
It keeps the active project tree clean while preserving the history of the work that led to the commit.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: reads .claude/ paths.

This is friedbotstudio/baseline's own configuration. It tells Claude Code how to work on baseline itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything baseline configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is node .claude/hooks/lib/timing.mjs render <slug>.

Reuse

Borrowing it

Nothing to install: this file belongs to friedbotstudio/baseline. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/friedbotstudio/baseline/main/.claude/skills/archive/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/friedbotstudio/baseline

Made for: Claude Code.

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/friedbotstudio/baseline/archive/github.svg)](https://agentmods.dev/skills/friedbotstudio/baseline/archive)
Your own site
<a href="https://agentmods.dev/skills/friedbotstudio/baseline/archive"><img src="https://agentmods.dev/badge/skills/friedbotstudio/baseline/archive/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for archive

Your own site · 80×15
<a href="https://agentmods.dev/skills/friedbotstudio/baseline/archive"><img src="https://agentmods.dev/badge/skills/friedbotstudio/baseline/archive.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 77 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,887 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00077 $0.02887
Opus 5.5 $0.00031 $0.01155
Sonnet 5.5 $0.00015 $0.00577
Haiku 4.5 $0.00008 $0.00289

Measured 1mo ago against content hash 47ce62481be3, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-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 1mo ago.

The scan reads SKILL.md. This mod also ships 3 executable files (archive.sh, corpus-digest.mjs, reverify-guard.mjs), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

.claude/skills/archive/SKILL.md · 121 lines

How it starts

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

archive — Phase 10.5

Invoked after /document and before /commit. Pillar 4 of seed.md ("no historical data — moved to archive") happens here.

The archival bundle is planned at spec time — the spec's slug determines which files travel together. This skill is the executor.

Prereq

workflow.json must have document in completed OR in exceptions. Otherwise stop and say which phase is missing.

Steps

  1. Read .claude/state/workflow.json to get the slug (derive from request, or from any docs/specs/*.md that was produced — whichever is present).

  2. Render the per-phase timing table FIRST (before the move, while the consent tokens are still in .claude/state/):

    node .claude/hooks/lib/timing.mjs render <slug>
    

    It reads the phase_timer stamps at .claude/state/timing/<slug>.jsonl plus consent-token mtimes (spec_approvals/<slug>.approval, commit_consent) and writes a per-phase model-time-vs-human-wait table to <bundle>/timing.md. The table is born in the bundle (it creates the bundle dir). It must run before Step 4 because the archive script moves spec_approvals/<slug>.approval into the bundle — render it first or the approve-direction gate's human-wait reads n/a. Best-effort — a missing/sparse timing log yields a header-only table, never an error.

  3. Verify the spec's declared delta against the landed diff with verifyAndApplyDelta, then apply only what it confirms (gated by memory.architecture_map.enabled; skip the whole of Steps 3 and 5.5 when false). This is what keeps docs/system/ true to what is on disk instead of drifting the moment the next cycle ships.

    It must run before Step 4, for the same reason Step 2 does. archive.sh moves docs/specs/<slug>.md into the bundle; after that resolveSpecPath returns null, the ## System delta table is never read, and every array below comes back empty — which is byte-identical to a spec that declared nothing. Verify first, or a real drift archives silently green. The specMissing field exists to make that failure loud if the order is ever changed back: when it is true, the empty arrays mean the table was not read, not the table was clean.

Read the full file on GitHub · 121 lines

Files

What ships with it

3 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. 1mo ago First seen · 121 lines · 77 tokens per session scan A 47ce62481be3

Subscribe to this mod's changes

archive is a skill published in the GitHub repository friedbotstudio/baseline (14 stars, last pushed 13d ago), licensed Apache-2.0. It adds 77 tokens to every session and 2,887 once invoked, about $0.0003 per session on Opus 5.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

core-workflow

Detailed development workflow patterns, checklists, and standards. Auto-loads for complex tasks, planning, debugging, or when explicit patterns are needed. Contains session protocols, git conventions, security checklists, review-based validation, and communication standards.

travisjneuman/.claude · 52 tokens

commit-gate

Create a verified local Git commit when committing changes is requested. Not for explaining commit history, drafting a message only, or postponing a commit. Applies every commit gate and never implies a push or PR.

arbiterForge/codeArbiter · 45 tokens

ca-commit

Create a verified local Git commit when committing changes is requested. Not for explaining commit history, drafting a message only, or postponing a commit. Applies every commit gate and never implies a push or PR.

arbiterForge/codeArbiter · 45 tokens

git-workflow

Skill "git-workflow" from halflength-ampleness75/claude-code-recipes, covering git workflow, branch naming, rules, conventional commits and format.

halflength-ampleness75/claude-code-recipes · 0 tokens

autoresearch-agent

Autonomous experiment loop that optimizes any file by a measurable metric. Inspired by Karpathy's autoresearch. The agent edits a target file, runs a fixed evaluation, keeps improvements (git commit), discards failures (git reset), and loops indefinitely. Use when: user wants to optimize code speed, reduce…

sinhoneyy/master-skills · 115 tokens

git-pushing-hardened

Stage, commit, and push git changes with conventional commit messages. Use when user wants to commit and push changes, mentions pushing to remote, or asks to save and push their work. Also activates when user says "push changes", "commit and push", "push this", "push to github", or similar git workflow requests.

faberlens/hardened-skills · 73 tokens