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.
| 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
共 1 个版本