strata:archive-planning

strata:archive-planning is a skill for Claude Code from gideondk/strata. It costs 91 tokens per session (773 once invoked), scanned A, original, MPL-2.0.

A controlled way to retire a completed .planning/ folder by moving it to .attic/ while keeping it in Git history. Planning folders contain working project plans and related documents.

In plain words
What is it for?
Use it after migrating a finished initiative into the vault. It first previews the move, checks for unprocessed files, and then performs the Git move and commit.
Why use it?
It removes completed planning material from the active project tree without deleting its history. It refuses to proceed until all files have been processed by the bootstrap step.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the strata plugin — 24 skills, 2 agents, 5 hooks, 1 MCP server shipped together

Good fit Use it after migrating a finished initiative into the vault. It first previews the move, checks for unprocessed files, and then performs the Git move and commit.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add gideondk/strata
Claude Code
/plugin install strata

Made for: Claude Code.

Or install strata, the plugin that ships this one along with the rest of its 24 skills, 2 agents, 5 hooks, 1 MCP server.

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 strata:archive-planning

README.md
[![agentmods](https://agentmods.dev/badge/skills/gideondk/strata/archive-planning.svg)](https://agentmods.dev/skills/gideondk/strata/archive-planning)
Your own site
<a href="https://agentmods.dev/skills/gideondk/strata/archive-planning"><img src="https://agentmods.dev/badge/skills/gideondk/strata/archive-planning.svg" alt="Measured on agentmods" height="20"></a>
Per session 91 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 773 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.00091 $0.00773
Opus 5 $0.00046 $0.00387
Sonnet 5 $0.00018 $0.00155
Haiku 4.5 $0.00009 $0.00077

Measured 7d ago against content hash 33cd4a02c7c0, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

strata:archive-planning 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.

skills/archive-planning/SKILL.md · 87 lines

How it starts

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

strata:archive-planning

The "retire after migrate" step in the per-initiative planning Workflow. Use after /strata:bootstrap over a shipped initiative's Planning dir has pulled the durable knowledge into the vault.

The full workflow

.planning/auth-rewrite/PLAN.md     ← humans write here while live
.planning/auth-rewrite/CONTEXT.md
.planning/auth-rewrite/SPEC.md
        │
        │  /strata:bootstrap
        ▼
vault/<repo>/decisions/2026-05-24-token-rotation.md
vault/<repo>/domain/auth-tokens.md
vault/<repo>/lessons/2026-05-24-auth-rewrite.md
        │
        │  /strata:archive-planning .planning/auth-rewrite/
        ▼
.attic/auth-rewrite/PLAN.md        ← gone from active tree, still in git
.attic/auth-rewrite/CONTEXT.md     ← reachable via `git log --follow`
.attic/auth-rewrite/SPEC.md

How

Dry-run first:

"${CLAUDE_PLUGIN_ROOT}/bin/strata" archive-planning \
  .planning/auth-rewrite

If every file is bootstrap-processed, you'll see the proposed git Mv + commit. Otherwise the script lists the unprocessed files and Refuses, telling you to bootstrap them first.

Then apply:

"${CLAUDE_PLUGIN_ROOT}/bin/strata" archive-planning \
  .planning/auth-rewrite --apply

The script:

  1. Verifies every .md in the subdir is in .bootstrap-state.json with a current SHA (i.e. processed AND unchanged since)
  2. git mv .planning/auth-rewrite .attic/auth-rewrite
  3. git commit -m "chore: archive planning .planning/auth-rewrite → .attic/auth-rewrite"

When to use --force

You can pass --force to archive a subdir with unprocessed files, but understand the consequence: the knowledge in those files Doesn't make it into the vault. They'll still exist in git history Under .attic/, but Strata won't surface them in searches.

Reasonable cases:

  • The subdir has scratch / TODO files you intentionally didn't bootstrap (e.g. BRAINSTORM.md, TEMP.md)
  • You're archiving stale planning you specifically don't want in the vault

Read the full file on GitHub · 87 lines

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 · 87 lines · 91 tokens per session scan A 33cd4a02c7c0

Subscribe to this mod's changes

strata:archive-planning is a skill published in the GitHub repository gideondk/strata (5 stars, last pushed 1mo ago), licensed MPL-2.0. It adds 91 tokens to every session and 773 once invoked, about $0.0005 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-31.