strata:archive

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

A command for moving notes belonging to merged Git branches into an archive folder. Git is a tool that tracks code changes, and a branch is a separate line of work.

In plain words
What is it for?
Use it to tidy old branches weekly or before a release, with either a preview or an applied move based on merged-branch information.
Why use it?
It clears completed work from active searches without deleting the notes, so current results stay focused on live branches.

Skill for Claude CodeCodex

Installs and runs on its own, but its text points at files inside its plugin — anything it tells you to read at a ${CLAUDE_PLUGIN_ROOT} path is only there once the plugin is installed. Installing the plugin gets both.

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

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.

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

Made for: Claude Code, Codex.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/gideondk/strata/archive.svg)](https://agentmods.dev/skills/gideondk/strata/archive)
Your own site
<a href="https://agentmods.dev/skills/gideondk/strata/archive"><img src="https://agentmods.dev/badge/skills/gideondk/strata/archive.svg" alt="Measured on agentmods" height="20"></a>
Per session 104 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 382 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00104 $0.00382
Opus 5 $0.00052 $0.00191
Sonnet 5 $0.00021 $0.00076
Haiku 4.5 $0.00010 $0.00038

Measured 4d ago against content hash 7ce280bb8f0c, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

strata: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 4d 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/SKILL.md · 42 lines

What it actually says

strata:archive

PR-context notes accumulate as branches merge. This skill moves stale Working notes out of pr-context/ and into archive/<merge-date>--<branch>/ so the search/index reflects active work.

When to use

  • Periodically (weekly is fine).
  • Before a release, to leave a clean snapshot.

How

# See what would happen, no mutation
"${CLAUDE_PLUGIN_ROOT}/bin/strata" archive --dry-run

# Apply
"${CLAUDE_PLUGIN_ROOT}/bin/strata" archive

Strategies (auto-selected, override with --strategy):

  • gh — queries gh pr list --state merged and matches by headRefName. Most accurate (uses real merge dates).
  • gitgit branch --merged <main>. Works without gh; uses today's date as the archive date.

Pass --main-branch develop if your trunk isn't main.

What it doesn't do

  • Doesn't delete anything — moves only.
  • Doesn't archive decisions/, lessons/, or domain/ — those are durable.
  • Doesn't unwind itself; restore by moving back from archive/.
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. 4d ago First seen · 42 lines · 104 tokens per session scan A 7ce280bb8f0c

Subscribe to this mod's changes

strata:archive is a skill published in the GitHub repository gideondk/strata (5 stars, last pushed 1mo ago), licensed MPL-2.0. It adds 104 tokens to every session and 382 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.

Related

Other skills, from other repositories

my-wiki

Manage local OKF-compatible Markdown My Wiki vaults with an AI agent. Use for capturing webpages, PDFs, Office documents, notes, images, folders, and ZIP bundles as References; maintaining Reference-to-Concept evidence links; searching or answering from a vault; checking or repairing vault health; switching among…

NimaChu/my-wiki · 78 tokens

save-to-favorites

The single complete Pickoo workflow for new Xiaohongshu, WeChat, Douyin, Bilibili, Xiaoyuzhou, podcast, music, article/blog, or general web links. Use for 收藏、保存、收录、抓取、归档、拆解、分析、OCR、ASR or 完整处理 from Codex, WorkBuddy, Hermes, Claude, or Claudian. It owns intake and the complete downstream workflow; obsolete standalone…

KristenPan/pickoo-your-favorites · 110 tokens

asset-review-agent

Independently review source-extracted quote, viewpoint, hook, and structure candidates. Image and shot assets are outside automatic review and enter only after explicit user interaction.

KristenPan/pickoo-your-favorites · 37 tokens

phase-orchestrator

Orchestrates phase-based implementation plans using the host's todo tracker and subagents for implementation, review, validation, default phase commits, plan finalization, and a final end-to-end review. Delegates work through the companion phase-implementer, phase-reviewer, and phase-final-reviewer skills and consumes…

hraness/kb · 101 tokens

answer-processing

Use whenever the user uploads a hand-written or scanned answer PDF to be graded against a reference solution. Converts answer PDFs in answers/.pdf to markdown in answers/converted/.md using the pdf skill (OCR as needed), then performs strategy-based grading against converted/solutions/.md or quizzes/answers.md.…

OPTIMETA/PAIDEIA · 79 tokens

course-builder

Use whenever the user wants to ingest a new course's materials (lecture notes, textbook chapters, HW problems, HW solutions) and build the course-specific knowledge base — patterns.md (recurring solution techniques), coverage.md (HW-to-section map with 🔥 exam tiers + ⚠weak flags), and summary.md (topic tree). Invoked…

OPTIMETA/PAIDEIA · 119 tokens