Install
openclaw skills install context-briefPersistent context survival for OpenClaw. Writes file-based anchors to memory/anchors/ to preserve critical context across sessions. Reads MEMORY.md and daily logs for context — writes only to memory/anchors/. Use when: (1) 'save context', (2) 'what do you remember', (3) long conversations approaching compaction, (4) 'context check', (5) agent starts forgetting earlier decisions, (6) 'hva husker du', (7) resuming after time away. Homepage: https://clawhub.ai/skills/context-brief
openclaw skills install context-briefInstall: 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.
| File | Read | Write |
|---|---|---|
memory/anchors/*.md | ✅ | ✅ — Only location this skill writes to |
memory/YYYY-MM-DD.md | ✅ | ❌ — Never modified |
MEMORY.md | ✅ | ❌ — Recommend changes to user |
HEARTBEAT.md | ✅ | ❌ — Read only |
Write to memory/anchors/YYYY-MM-DDTHH-mm.md:
# 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):
Context anchored (N items) → memory/anchors/YYYY-MM-DDTHH-mm.md
When resuming or after compaction:
memory/anchors/ for recent files (last 48h)Restored from anchor: [brief list of items]
Continuing: [last active task]
memory/anchors/memory/anchors/ — nowhere elseInstall the full suite:
clawhub install context-brief cross-check setup-doctor locale-dates