一键导入
ltm-compact
Review the current session and extract undocumented decisions into the project memory
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Review the current session and extract undocumented decisions into the project memory
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | ltm:compact |
| description | Review the current session and extract undocumented decisions into the project memory |
Perform a compact pass: review everything that happened in this session and
capture any significant decisions that aren't yet in .memory/DECISIONS.md.
Read .memory/DECISIONS.md to understand what's already recorded.
Review this session's work. Look for:
For each unrecorded decision:
### heading with today's date and up to ~10 lines of context..memory/details/YYYY-MM-DD-<topic>.md and link to it.Update the ## Status section with current focus, blockers, and open questions.
Update the > Auto-maintained by claude-ltm. Last updated: date.
Report to the user what was captured (or that nothing new was found).
When creating a detail file in .memory/details/, use this structure:
---
decision: <title>
date: YYYY-MM-DD
status: ACTIVE
---
<!-- Valid status values: ACTIVE, SUPERSEDED -->
## Context
[Why this decision was needed — 2-3 sentences]
## Decision
[What was chosen and why — concise]
## Alternatives Considered
- Option B: [why rejected]
## Impact
- [Key consequence 1]