Agent skill
session-save
Save current session progress, TODOs, and context to a local file before ending a session. Enables picking up later with /session-load.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/session-save
SKILL.md
Session Save
Capture current session progress so you can resume later with /session-load.
Usage
/session-save
Procedure
Step 1: Gather Session Context
Collect the following information:
- Current branch: Run
git branch --show-current - Modified files: Run
git status --shortto see what's changed - Recent commits: Run
git log --oneline -5for recent history - Current working directory: Note the cwd
Step 2: Summarize the Session
Create a session summary by reviewing what was accomplished:
- What was done: List completed tasks/changes in this session
- What's pending: List unfinished work or known TODOs
- Key decisions: Any architectural or design decisions made
- Blockers: Anything that's blocking progress
- Context notes: Important context that would be lost between sessions
Step 3: Generate Session File
Create the file at .claude/sessions/<date>-<topic>.md:
<date>= today's date inYYYY-MM-DDformat<topic>= a short slug describing the session's focus (e.g.,auth-refactor,api-endpoints)
# Session: [Topic]
**Date**: [YYYY-MM-DD]
**Branch**: [branch-name]
## Completed
- [What was accomplished]
- [What was accomplished]
## Pending TODOs
- [ ] [Task description]
- [ ] [Task description]
## Key Decisions
- [Decision and rationale]
## Blockers
- [Blocker description, if any]
## Modified Files
[Output of git status --short]
## Context Notes
[Any important context for resuming, e.g., "The API design follows the pattern in src/api/users.ts",
"We chose approach X over Y because..."]
## Resume Instructions
To continue this work:
1. Check out branch: `git checkout [branch]`
2. Start with: [description of next step]
Step 4: Confirm Save
Tell the user:
- Where the file was saved
- How to resume: "Run
/session-loadin your next session to pick up where you left off"
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?