total-recall

majiayu000 的头像作者 majiayu000

Claude Code 会话的内存保存。当接近令牌限制、需要 /reset 或 /compact、在复杂任务之间切换或在上下文丢失之前保留关键会话状态时使用。在 /tmp/total-recall 处创建全面的内存转储,其中包含当前状态、决策、工件和后续步骤,以实现无缝上下文恢复。

📖 中文导读:Claude Code 会话的内存保存。当接近令牌限制、需要 /reset 或 /compact、在复杂任务之间切换或在上下文丢失之前保留关键会话状态时使用。在 /tmp/total-recall 处创建全面的内存转储,其中包含当前状态、决策、工件和后续步骤,以实现无缝上下文恢复。 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。

name: total-recall description: Memory preservation for Claude Code sessions. Use when approaching token limits, needing to /reset or /compact, switching between complex tasks, or preserving critical session state before context loss. Creates comprehensive memory dumps at /tmp/total-recall containing current state, decisions, artifacts, and next steps for seamless context restoration.

Total Recall - Context Preservation for Claude Code

Quick Start

When you need to preserve session context before /reset or /compact:

# Save current session context
/total-recall

This creates a memory dump at /tmp/total-recall containing:

  • Current work state and project context
  • Key decisions and rationale
  • Generated files and artifacts with paths
  • Next steps and action items
  • Important technical notes and constraints

When to Use

Use this skill when:

  • Approaching token limits (Context left until auto-compact: 0%)
  • Need to /reset but can't afford to lose state
  • Switching between multiple complex tasks
  • Building up conversation history debt
  • Working on multi-step tasks with critical state