Install: clawhub install context-brief
Persistent context survival. Captures what matters before it's lost — and restores it when needed.
Writes ONLY to memory/anchors/. Reads MEMORY.md and daily logs — never modifies them.
Detect from the user's message language. Default: English.
Three levels of action, based on user request or trigger:
Level 1 — Context Note (1-2 unsaved items, low risk)
Unsaved context: [decision X pending, path Y important]Level 2 — Anchor (3+ unsaved items OR user says "save context")
memory/anchors/Level 3 — Deep Anchor (user explicitly requests "save context deep" or "context check")
Anchors are written when the user explicitly asks ("save context", "context check", "hva husker du", "preserve context") or when resuming after time away.
Do NOT auto-save without user request. Level 2+ requires user initiation or explicit consent.
FileReadWritememory/anchors/*.md✅✅ — Only location this skill writes tomemory/YYYY-MM-DD.md✅❌ — Never modifiedMEMORY.md✅❌ — Recommend changes to userHEARTBEAT.md✅❌ — Read only
Write to memory/anchors/YYYY-MM-DDTHH-mm.md:
markdown
# Anchor — YYYY-MM-DDTHH:mm+ZZ:ZZ
## Active State
- Task: [what we're doing]
- Status: [in progress / blocked / awaiting]
## Decisions
- [thing] -> [chosen option] (reason)
## Pending
- [ ] [next action with enough context to execute]
## Key Paths
- [path]: [what it is]
Rules:
memory/anchors/ if it doesn't existShow user (in their language):
text
Context anchored (N items) → memory/anchors/YYYY-MM-DDTHH-mm.md
When resuming or after compaction:
Check memory/anchors/ for recent files (last 48h)
If anchor found and items are missing from conversation: text
Restored from anchor: [brief list of items]
Continuing: [last active task]
If no anchor and context feels lost, ask the user what they were working on.
memory/anchors/memory/anchors/ — nowhere elseInstall the full suite:
bash
clawhub install context-brief cross-check setup-doctor locale-dates