From dstack
Guide for persisting learnings, decisions, and patterns to dstack memory
How this skill is triggered — by the user, by Claude, or both
Slash command
/dstack:eruka-memoryThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Persist non-obvious learnings so future sessions start with context instead of rediscovering it.
Persist non-obvious learnings so future sessions start with context instead of rediscovering it.
Save when you discover something that:
| Save | Don't Save |
|---|---|
| Architectural decisions and WHY | Code that's in git |
| Bug root causes | Ephemeral task state |
| Non-obvious API behaviors | Things derivable from git log |
| Build/deploy gotchas | Temporary workarounds |
| User corrections and preferences | Duplicate of existing memory |
# Key format: category/project/topic
dstack memory save "learnings/my-api/jwt-fix" "jsonwebtoken needs rust_crypto feature, not default"
dstack memory save "decisions/my-api/field-rollback" "Fields are never deleted, only set to confidence=0"
dstack memory save "gotchas/deploy/my-api-build" "Must use lto=thin, full LTO OOMs on 2GB VPS"
dstack memory query <keyword> to check for duplicatesdstack memory export and prune stale entries~/.local/share/dstack/memory/$DSTACK_ERUKA_KEY)Switch backends in ~/.config/dstack/config.toml under [memory].
npx claudepluginhub dirmacs/dstack --plugin dstackStores important decisions, patterns, bug fixes, and lessons into Cortex persistent memory. Use after resolving bugs, making architecture choices, or when the user asks to remember something.
Persists learnings into a 5-layer memory hierarchy (CLAUDE.md files, memory/MEMORY.md) and consolidates by pruning outdated entries and promoting recurring patterns. Triggers on 'extract learnings', 'remember', 'dream'.
Captures durable knowledge from sessions into rekal memory with deduplication. Extracts preferences, decisions, architecture, and procedures; checks for duplicates; stores or supersedes.