agentsclimarketplace

Archive

Skill gideondk/strata/skills/archive

Move merged branches' pr-context dirs into archive/. User-only — run when the user explicitly asks to "clean up old branches", "archive merged work", or "tidy the vault". Never deletes, only moves, but it mutates the vault and changes what recall returns, so it does not auto-invoke (matching forget / export-to-repo / promote-to-pr). Detects merged branches via `gh pr list --state merged` or `git branch --merged main` fallback.From its SKILL.md

Install
npx -y skills add gideondk/strata --skill archive

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 5 stars5 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

1.5 KB, as published. Nobody here has run it

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).
  • git — git 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/.

Keep looking

Skills are one crate of 626,194. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.