Manages Claude Code sessions with naming, checkpointing, and resume strategies. Use when organizing long-running work or resuming across sessions.
npx skills add https://github.com/athola/claude-night-market --skill session-management
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 context/rename using a hyphenated descriptive namematching one of the documented patterns (e.g. debugging-*,
feature-*, pr-review-*)
claude --resume <name> without loss ofprior context (verified by presence of earlier conversation)
with troubleshooting steps (check typos, session expiry)
<number>` correctly reopens the session associated with that PR
git-workspace-review)` is re-run and its output confirms current
repo state
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.
Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Claude's capabilities with specialized knowledge, workflows, or tool integrations.
Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Claude's capabilities with specialized knowledge, workflows, or tool integrations.
Replace with description of the skill and when Claude should use it.
Use when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill content", or needs guidance on skill structure, progressive disclosure, or skill development best practices for Claude Code plugins.
Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express interest in extending capabilities. This skill should be used when the user is looking for functionality that might exist as an installable skill.
Use when creating new skills, editing existing skills, or verifying skills work before deployment
Take athola/session-management from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.