Individual skill

claude-compaction-restore

Use when a Claude Code session is about to compact, has just compacted, reached its context limit, resumed after /compact, or must rebuild its working picture of a long-running seat from its own restore map, its JSONL transcript and the files it touched.

packages/daemon/assets/plugins/openrig-core/skills/claude-compaction-restore/SKILL.md

Read pinned source

Source commit 344815052870e4b1be2486350ba52a8d1c6afeb2

What was checked

Matches the observed repository HEAD
Yes
Scanner rules are current
Yes
Repository scan complete
No
Skill scan complete
No
Observed behavior
Network or broad shell
Last checked
Nov 5, 2026

These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.

Install this skill

Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.

An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.

Repository context

Repository stars (not skill ratings)
8,733
Repository last updated
Nov 8, 2026
License
Apache-2.0

Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.

Files and excerpt

File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.

Browse files
Read excerpt

# Claude Compaction Restore

Compaction keeps facts and loses connections. After a compaction you still know file names, row ids and
decisions as items. What you lose is the web between them: why a file matters, what depends on what, which
decision produced which artifact, what you were about to do next, and how this window relates to the ones
before it. Seats whose value is a wide, long-running picture (planners, orchestrators, reviewers holding a
standard) lose the most.

This skill keeps that picture alive across compactions. Before compacting, you write a **restore map**: a
short summary plus the connections between things that already exist on disk. After compacting, you
re-enter the world, read your own map, and rebuild the picture before acting. Over several compactions the
maps chain into one continuous record: a global context window that outlives any single session.

The previous version of this skill is kept at `reference/SKILL-v1.md` for comparison.