From agent-almanac
Preserves working code states, anchors verified knowledge against context drift, scope creep, and compression in long sessions or before changes.
npx claudepluginhub pjt222/agent-almanacThis skill uses the workspace's default tool permissions.
---
Preserves critical context data before Claude Code's automatic compaction using snapshots and integrity verification to prevent information loss in complex projects.
Dismantles stale assumptions, failed approaches, dead code, and context noise in conversations or projects to enable clearer reasoning and pivots.
Persists context across Claude Code sessions by auto-saving decisions, conventions, progress to .rune/ files. Loads state at session start for continuity on architectural choices or patterns.
Share bugs, ideas, or general feedback.
Preserve and sustain what is working — anchoring verified knowledge, maintaining consistency under perturbation, and protecting functional patterns from unnecessary change.
shiva-bhaga dissolution — what survives needs active protection during reconstructionRead)Before protecting anything, identify what is currently functional and verified.
Preservation Inventory:
+---------------------+---------------------------+------------------------+
| Category | Verification Method | Anchoring Action |
+---------------------+---------------------------+------------------------+
| Verified Facts | Confirmed via tool use | Record source and |
| | (file reads, test runs, | timestamp; do not |
| | API responses) | re-derive |
+---------------------+---------------------------+------------------------+
| Working Code | Tests pass, behavior | Do not refactor unless |
| | confirmed, user approved | explicitly requested |
+---------------------+---------------------------+------------------------+
| User Requirements | Explicitly stated by | Quote directly; do not |
| | the user in this session | paraphrase or infer |
+---------------------+---------------------------+------------------------+
| Agreed Decisions | Decisions made and | Reference the decision |
| | confirmed during this | point; do not revisit |
| | session | without new evidence |
+---------------------+---------------------------+------------------------+
| Environmental State | File paths, configs, | Verify before assuming |
| | tool availability | unchanged |
+---------------------+---------------------------+------------------------+
shiva-bhaga)Expected: A concrete inventory of verified, working elements with their evidence base.
On failure: If the inventory is sparse — little is verified — that itself is valuable information. Run heal to re-ground before attempting to preserve unverified assumptions.
Name the forces threatening the stable state.
For each source, assess: is this a real threat or an anticipated one?
Expected: Named perturbation sources with assessed severity (active threat vs. anticipated risk).
On failure: If no perturbation sources are apparent, preservation may not be needed — consider whether brahma-bhaga (creation) or continued execution is more appropriate.
Apply specific techniques to protect what works from identified threats.
Expected: Each identified threat has a specific anchoring response. The stable state is explicitly protected.
On failure: If anchoring feels excessive — protecting everything equally — prioritize. What is the one thing that must not change? Protect that first.
Preservation is not passive — it requires ongoing attention during subsequent work.
Expected: The working state survives the current task intact. Changes were made only where needed and did not disrupt functioning components.
On failure: If a preserved item was inadvertently changed, assess the damage immediately. If the change broke something, revert. If the change was neutral, update the inventory. Do not leave the inventory stale.
shiva-bhaga — destruction precedes preservation; what survives dissolution is what Vishnu sustainsbrahma-bhaga — creation builds on the preserved foundation; new patterns emerge from stable groundheal — subsystem assessment reveals what is genuinely functional vs. superficially stableobserve — sustained neutral observation detects drift before it threatens stabilityawareness — situational awareness (Cooper color codes) maps directly to perturbation detection