一键导入
wrap-up
Use when the user says to wrap up, end, or close a session in <your-vault-name>. Covers snapshot, stale-flagging, and open-item surfacing.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when the user says to wrap up, end, or close a session in <your-vault-name>. Covers snapshot, stale-flagging, and open-item surfacing.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | wrap-up |
| description | Use when the user says to wrap up, end, or close a session in <your-vault-name>. Covers snapshot, stale-flagging, and open-item surfacing. |
End every vault session with a clean handoff. Four steps, in order.
All agent memory lives in agent-memory/ inside the vault. Do NOT write to or update any external memory files.
Create agent-memory/snapshots/YYYY-MM-DD-session-end.md (use today's date):
obsidian vault="<your-vault-name>" create name="YYYY-MM-DD-session-end" path="agent-memory/snapshots/YYYY-MM-DD-session-end.md" content="<content>" silent
Required frontmatter:
type: snapshot
date: YYYY-MM-DD
tags: [agent-memory, snapshot]
status: active
summary: <one-line description of session>
Required content sections:
Search for earlier snapshots from the same session:
obsidian vault="<your-vault-name>" search query="type:snapshot" limit=20
For every interim snapshot written during the session (task checkpoints, interrupted snapshots), set status to stale:
obsidian vault="<your-vault-name>" property:set file="<snapshot-name>" name="status" value="stale"
Do NOT mark the new session-end snapshot stale. Only interim ones.
Refresh the search index so future sessions have up-to-date embeddings. Run this after any vault notes were created, updated, or deleted during the session:
qmd update && qmd embed
End with a short, scannable message covering:
| Mistake | Fix |
|---|---|
| Updating any external memory file | All memory lives in vault agent-memory/ only — never write outside it |
| Skipping stale-flagging of interim snapshots | Stale entries clutter the memory.base view — always flag them |
| Writing snapshot but not surfacing open items | The user needs to know what to do before closing Obsidian |
Skipping qmd update && qmd embed after vault changes | Future sessions will search stale content — always refresh the index |