close-session

Solid

Close the current Codex work session by reviewing newly confirmed durable facts, decisions, outcomes, preferences, and reusable procedures, then safely updating the active MindVault memory directory. Use when the user invokes $close-session or explicitly asks to close, wrap up, or persist the current session into MindVault; do not trigger for a casual goodbye without a memory request.

AI & Automation 14 stars 3 forks Updated today MIT

Install

View on GitHub

Quality Score: 80/100

Stars 20%
39
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# 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...

Details

Author
etinpres
Repository
etinpres/mindvault
Created
2 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category