close-sessionlisted
Install: claude install-skill etinpres/mindvault
# Close Session
Review the current session while its context is still available, then persist only information that will matter in a later session.
## Resolve the memory directory
Use the writable MindVault `memory/` directory declared by the active `AGENTS.md`. If no instruction declares one, use the default MindVault slot: the directory under `~/.claude/projects/*/memory/` whose `MEMORY.md` was most recently updated. If neither resolves, stop and ask the user instead of guessing a path.
Treat direct Markdown search in that directory as the freshness source of truth. Do not rely on a delayed semantic index when deciding whether a relevant file already exists.
## Select durable items
Collect only newly confirmed items from this session:
- `project`: decisions, implementation state, completed verification, and next actions
- `user`: stable user background or working preferences stated directly by the user
- `feedback`: reusable corrections or rules the user wants followed in later work
- `reference`: durable external-system facts or research worth retrieving later
- `procedural`: reusable commands, diagnostics, or implementation patterns
Write facts, not a transcript. Distinguish direct facts from inferences, preserve uncertainty, and skip casual conversation, short-lived status, duplicate information, and unverified guesses. If there is nothing durable and new, report that no memory change was needed and stop.
Never store passwords, API keys, tokens, private keys, ex