From ccsm
Resume a previous Claude Code session with full context preview before entering. Unlike the built-in /resume which shows a simple picker, this skill first displays what the session was about (goal, progress, breakpoint, next steps) so you know exactly what you're going back to. Use whenever user says "resume session", "继续上次", "回到之前的会话", "恢复工作", "pick up where I left off", "re-enter that conversation", or wants to return to any previous Claude Code session with context awareness.
How this skill is triggered — by the user, by Claude, or both
Slash command
/ccsm:ccsm-resumeThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Resume a previous session with context preview — shows what was happening, where you left off, and what to do next, BEFORE launching the resume command.
Resume a previous session with context preview — shows what was happening, where you left off, and what to do next, BEFORE launching the resume command.
Key difference from built-in /resume: CCSM shows goal/progress/breakpoint/next-steps context first, so you know what you're going back to.
If user specifies a keyword or topic:
mcp__ccsm__search_sessions(query="keyword")
If user says "最近的", "上一个", or "last session":
mcp__ccsm__list_sessions(status="active")
Present a short list for user to pick from.
Fetch full context for the selected session:
mcp__ccsm__enter_session(session_id="target-session-id")
Present the recovery summary:
Session: {title}
If there is a last_reply_snippet, show it under "最后回复" as additional context.
Ask: "确认恢复这个会话?"
If confirmed, provide:
# 在提示符中输入以下命令:
! {command from enter_session}
The ! prefix runs the command directly in the current terminal session, launching Claude Code with the previous conversation restored.
/resume.enter_session.Example 1:
User: "帮我恢复上次做 CCSM 插件的那个会话"
-> mcp__ccsm__search_sessions(query="CCSM 插件") -> show matches -> user picks -> mcp__ccsm__enter_session(...) -> show context -> user confirms -> provide ! claude --resume /path/to/session.jsonl
Example 2:
User: "继续上次的工作"
-> mcp__ccsm__list_sessions(status="active") -> show most recent -> mcp__ccsm__enter_session(...) -> show context -> confirm -> resume
npx claudepluginhub copeeetang/ccsmCreates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.