From agent
Manually saves important session context (decisions, facts, tasks) to a daily memory log without triggering native context compaction. Useful for explicit checkpoints on CLI or messaging channels.
How this skill is triggered — by the user, by Claude, or both
Slash command
/agent:compactThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Save the important parts of the current conversation to `memory/YYYY-MM-DD.md`. This is a manual version of what the PreCompact hook does automatically.
Save the important parts of the current conversation to memory/YYYY-MM-DD.md. This is a manual version of what the PreCompact hook does automatically.
/compact compacts Claude Code's context. A skill CANNOT invoke it. If you run /compact in the REPL, the native one runs (and the PreCompact hook fires to save memory automatically). This skill is only useful if you want a MANUAL flush WITHOUT triggering actual compaction.This skill does NOT say "now run /compact" (that would cause a loop if the user pastes it again). It just saves and confirms.
Detect surface.
Scan the current session for things worth remembering:
Append to daily log:
DATE=$(date +%Y-%m-%d)
TIME=$(date +%H:%M)
## Manual flush (<TIME>)
### Decisions
- ...
### Facts learned
- ...
### Open items
- ...
Respond briefly per surface:
✅ Flush complete → memory/<DATE>.md
If you want Claude Code to also compact the context, run the native /compact.
(The PreCompact hook already saves memory automatically when that happens.)
✅ *Saved* → memory/<DATE>.md
✅ **Saved** → memory/<DATE>.md
IMPORTANT: Respond in the user's language. If the user writes in Spanish, translate these templates to Spanish on the fly. Do the same for any other language. The templates above are English defaults — adapt them.
/compact in CLI is the real compaction. This skill is just the memory-save part, usable independently.npx claudepluginhub crisandrews/clawcode --plugin agentManually dumps current session context to daily raw log via subagent. Invoke with /hipocampus:flush to persist sessions without waiting for checkpoints. Follow with hipocampus:compaction for full processing.
Logs session accomplishments, file changes, commits, decisions, and next steps for future recall. Triggered by phrases like 'save diary' or 'wrapping up'.
Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.