Manage Claude Code sessions with naming, checkpointing, and resume strategies. Use when organizing long-running work, creating debug checkpoints, managing PR reviews.
Manages long-running Claude Code sessions with named checkpoints and resume capabilities.
/plugin marketplace add athola/claude-night-market/plugin install pensive@claude-night-marketThis skill inherits all available tools. When active, it can use any tool Claude has access to.
Claude Code supports named sessions for better workflow organization. Use this skill to manage complex, long-running work across multiple sessions.
| Command | Description |
|---|---|
/rename | Name the current session (auto-generates name if no argument given, 2.1.41+) |
/resume | Resume a previous session (REPL) |
claude --resume <name> | Resume from terminal |
Name debug sessions for easy resumption:
# Start debugging
/rename debugging-auth-issue
# ... work on the issue ...
# If you need to pause, session is auto-saved
# Resume later:
claude --resume debugging-auth-issue
Create checkpoints during long feature work:
# After completing milestone 1
/rename feature-x-milestone-1
# Continue in new session
# Reference old session if needed
For complex PR reviews that span multiple sittings:
# Start review
/rename pr-review-123
# Take breaks without losing context
# Resume:
claude --resume pr-review-123
Sessions are automatically linked to PRs when created via gh pr create. Resume PR-specific sessions later:
# Resume session for a specific PR
claude --from-pr 156
claude --from-pr https://github.com/org/repo/pull/156
# Workflow: review → pause → resume with full context
/rename pr-review-156
# ... review work ...
# Later:
claude --from-pr 156
When investigating issues that may require research:
# Start investigation
/rename investigate-memory-leak
# Pause to gather more info externally
# Resume with full context:
claude --resume investigate-memory-leak
The /resume screen provides:
/keybindings):
Claude Code now shows a resume hint when you exit, displaying the command to continue your conversation. This makes session resumption more discoverable — users no longer need to know about --resume beforehand.
Use descriptive, hyphenated names:
| Pattern | Example | Use Case |
|---|---|---|
debugging-<issue> | debugging-auth-401 | Bug investigation |
feature-<name>-<milestone> | feature-search-v2 | Feature development |
pr-review-<number> | pr-review-156 | PR reviews |
investigate-<topic> | investigate-perf | Research |
refactor-<area> | refactor-api-layer | Refactoring work |
Name sessions when:
Unnamed sessions are eventually garbage collected. Named sessions persist longer. Periodically clean up old named sessions you no longer need.
Combine session management with other Sanctum skills:
Skill(sanctum:git-workspace-review) to capture context/rename <descriptive-name>claude --resume <name>If a named session isn't appearing in /resume:
/resume screen to browse available sessionsIf you see duplicate session entries when resuming in VS Code:
If context seems incomplete or resume is slow:
--resume via stat-based session loading with progressive enrichment — especially impactful for users with many sessions. Also fixes hangs when resuming sessions with corrupted transcript files (parentUuid cycles).once: true hooks — saved_hook_context loading is now optimized/catchup to refresh git state/debug (Claude Code 2.1.30+) for session troubleshooting diagnosticsSkill(sanctum:git-workspace-review) if neededPreviously, disconnecting from a terminal on macOS could leave orphaned Claude Code processes running. This is now fixed in 2.1.46+. If you encounter stale CC processes on older versions, manually check and kill them:
# Find orphaned claude processes
ps aux | grep -i claude | grep -v grep
Claude now automatically records and recalls memories as it works. Session summaries, key results, and work logs are captured implicitly and recalled in future sessions. This provides passive cross-session continuity without manual checkpoint management.
--resume now re-uses the --agent value from the previous conversation by default. Agent-specific workflows that are resumed will continue with the same agent configuration without needing to re-specify it.
# Start with a specific agent
claude --agent my-agent
# Resume later — my-agent is automatically used
claude --resume
/catchup - Refresh context from git changes/clear - Start fresh sessionSkill(sanctum:git-workspace-review) - Capture repo contextActivates when the user asks about AI prompts, needs prompt templates, wants to search for prompts, or mentions prompts.chat. Use for discovering, retrieving, and improving prompts.
Search, retrieve, and install Agent Skills from the prompts.chat registry using MCP tools. Use when the user asks to find skills, browse skill catalogs, install a skill for Claude, or extend Claude's capabilities with reusable AI agent components.
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems. Create original algorithmic art rather than copying existing artists' work to avoid copyright violations.