AgentSkillsCN

Memory Start

从记忆系统中加载上下文,恢复并继续先前的工作。适用于开启新会话、恢复中断的工作,或询问当前正在处理的任务。

SKILL.md
--- frontmatter
description: Load context and resume work from memory system. Use when starting a session, resuming work, or asking what was being worked on.

Memory Start

Load context and resume work from the memory system at session start.

Instructions

When this skill is triggered, perform the following steps:

Step 1: Read Current Context

Read the file .claude/memory/current_context.md if it exists.

If the file exists, extract and note:

  • Last Updated date
  • Active Task description
  • What I'm Working On items
  • Important State information
  • Recent Changes
  • Quick Reference items

If the file does not exist, note that no current context is set.

Step 2: Check for Active Plan

Read the file .claude/plans/active_plan.md if it exists.

If the file exists, extract and note:

  • Task Name from the title
  • Status (Not Started, In Progress, Blocked, Complete)
  • Goal description
  • Current phase and incomplete steps
  • Any blockers or dependencies

If the file does not exist, note that no active plan is in progress.

Step 3: List Recent Sessions (Optional)

List files in .claude/memory/sessions/ directory, sorted by date (newest first).

Show the 3-5 most recent session summaries with their dates.

Step 4: Display Summary

Present a formatted summary to the user:

code
## Session Context Loaded

### Current Focus
[Summary from current_context.md - what we're working on and immediate goals]

### Active Plan
[If exists: Plan name, status, current phase, next steps]
[If not: No active plan in progress]

### Important State
[Key blockers, dependencies, or conditions to be aware of]

### Recent Sessions
[List of recent session files with dates]

### Suggested Next Steps
[Based on context and plan, suggest what to work on]

---
Ready to continue. What would you like to work on?

File Paths

  • Context: .claude/memory/current_context.md
  • Plan: .claude/plans/active_plan.md
  • Sessions: .claude/memory/sessions/
  • Progress: .claude/plans/progress.md

Error Handling

  • If .claude/memory/ directory doesn't exist, inform user the memory system needs to be set up first
  • If context file is empty or missing, offer to help create initial context
  • Continue gracefully if optional files (plan, sessions) don't exist