plan-archivist

plan-archivist is a skill for Claude Code from nguyenthienthanh/aura-frog. It costs 49 tokens per session (1,142 once invoked), scanned A, original, MIT.

A plan archiver that turns a completed branch of a hierarchical project plan into a short summary file and removes the branch's original plan files.

In plain words
What is it for?
It is for compacting completed plan branches while retaining their intent, child tasks, acceptance results, and completion details.
Why use it?
It keeps finished work from making every future session load a large set of old plan files. Checkpoint history preserves the removed files.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is Human-readable explanation: see [docs/architecture/HIERARCHICAL_PLANNING.md](../../../docs/architecture/HIERARCHICAL_PLANNING.md).

Part of the aura-frog plugin — 43 skills, 24 commands, 15 agents, 10 hooks, 6 MCP servers shipped together

Good fit It is for compacting completed plan branches while retaining their intent, child…

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/nguyenthienthanh/aura-frog
agentmods
npx agentmods add skills/nguyenthienthanh/aura-frog/plan-archivist

Made for: Claude Code.

Or install aura-frog, the plugin that ships this one along with the rest of its 43 skills, 24 commands, 15 agents, 10 hooks, 6 MCP servers.

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 plan-archivist

README.md
[![agentmods](https://agentmods.dev/badge/skills/nguyenthienthanh/aura-frog/plan-archivist.svg)](https://agentmods.dev/skills/nguyenthienthanh/aura-frog/plan-archivist)
Your own site
<a href="https://agentmods.dev/skills/nguyenthienthanh/aura-frog/plan-archivist"><img src="https://agentmods.dev/badge/skills/nguyenthienthanh/aura-frog/plan-archivist.svg" alt="Measured on agentmods" height="20"></a>
Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,142 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.00049 $0.01142
Opus 5 $0.00024 $0.00571
Sonnet 5 $0.00010 $0.00228
Haiku 4.5 $0.00005 $0.00114

Measured 3d ago against content hash f5150125090f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

plan-archivist 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 3d 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.

aura-frog/skills/plan-archivist/SKILL.md · 103 lines

How it starts

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

AI-consumed reference. Optimized for Claude to read during execution. Human-readable explanation: see docs/architecture/HIERARCHICAL_PLANNING.md or docs/getting-started/ depending on topic.

Plan Archivist

STATUS — v3.7.0-alpha.4. Compression companion to epic-summarizer.

Difference vs. epic-summarizer

Concern epic-summarizer plan-archivist
Output .claude/memory/permanent_memory.md (durable wisdom) .claude/plans/archive/{NODE_ID}.summary.md (plan-tree compaction)
Scope Cross-cutting decisions + gotchas Per-branch summary: what shipped, with what AC, what tasks
Lifecycle Survives reset Survives reset
Token budget ≤500/Epic, ≤8000 total ≤300/branch, no global cap (one file per archived branch)

epic-summarizer captures what was learned. plan-archivist captures what was built.

Behavior

  1. Detect: caller passed <NODE_ID> — must be T2 or T1, status done. Refuse otherwise.
  2. Read the node + all descendants (Stories, Tasks).
  3. Compose archive summary:
    • One-line intent
    • Children summary (id, status, AC count, completion date)
    • Acceptance criteria roll-up (passed/total per Story)
    • Total tasks (done/discarded/skipped)
    • Trace size + hallucination count (if traces exist)
  4. Write .claude/plans/archive/{NODE_ID}.summary.md.
  5. Optional pruning (only with --prune flag): remove the original Story/Task files (they're in checkpoints if needed). Refuse to prune if any descendant is not in done or archived.
  6. Update parent's children list — replace pruned IDs with archive references.
  7. Append history.jsonl event: event: branch_archived, with archive_path + pruned count.

Pruning rules

  • Default: keep originals — --prune is opt-in
  • Always preserves archive/{NODE_ID}.summary.md even if pruning fails midway
  • Never prunes the T1 Initiative or T0 Mission node (top-tier nodes accumulate, not archive-prune)

Read the full file on GitHub · 103 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. 3d ago First seen · 103 lines · 49 tokens per session scan A f5150125090f

Subscribe to this mod's changes

plan-archivist is a skill published in the GitHub repository nguyenthienthanh/aura-frog (24 stars, last pushed 2d ago), licensed MIT. It adds 49 tokens to every session and 1,142 once invoked, about $0.0002 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-09-03.