一键导入
done
End-of-session shutdown sequence. Saves session log, updates MEMORY.md, updates CLAUDE.md, and stages a git commit.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
End-of-session shutdown sequence. Saves session log, updates MEMORY.md, updates CLAUDE.md, and stages a git commit.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | done |
| description | End-of-session shutdown sequence. Saves session log, updates MEMORY.md, updates CLAUDE.md, and stages a git commit. |
Run this before exiting Claude Code. Handles the full shutdown sequence automatically.
Create a new file in session-logs/YYYY-MM-DD_session-N.md where N increments
based on how many session logs exist for today.
Contents:
# Session Log — YYYY-MM-DD Session N
## Goal
[What was the objective of this session — infer from conversation]
## What Was Done
[List concrete actions taken during this session]
## Decisions Made
[Design choices, variable definitions, specification changes — with rationale]
## Corrections Made
[Any mistakes caught and fixed, or user corrections to Claude's work]
## Open Questions
[Unresolved issues for next session]
## Where to Pick Up
[Exact next step for the next session]
Scan the conversation for any corrections the user made. For each correction,
append a [LEARN:tag] entry to MEMORY.md:
[LEARN:tag] Correction text. Discovered YYYY-MM-DD session N.
If no corrections were made this session, skip this step and note "No new [LEARN] entries this session" in the session log.
If working on a specific paper, check whether any key decisions were made:
If yes, update the relevant paper's CLAUDE.md under "Key Decisions Made":
- YYYY-MM-DD: [Decision]. Reason: [Why].
Follow the deprecation protocol: deprecate the old CLAUDE.md, create fresh.
Run:
git add -A
Then report to the user:
Session saved. Files staged for commit. Run this to commit and push:
git commit -m "session YYYY-MM-DD: [brief description]" && git push
You can now exit with /exit or Ctrl+C.
Do NOT run git commit automatically — the user should review the commit
message and confirm. Only stage the files.
First-time project setup. Checks prerequisites (Zotero MCP), asks for paper count, generates folder structure, and configures all templates.
Peripheral vision audit — find what the author has become blind to in their results. Run in a FRESH TERMINAL.
Safely deprecate a file following the deprecation protocol.
Structured debate between two perspectives on a research design decision.
Find gaps in the literature based on existing Obsidian notes. Searches for high-quality articles the author may have missed.
Scaffold a new paper directory with the full structure, CLAUDE.md, and empty templates.