Interactive session state tracking for multi-conversation context continuity. Saves and restores agent context across separate sessions so work can be resumed without losing progress.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Session?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/harmitx7-session)
---
name: session
description: Interactive session state tracking for multi-conversation context continuity. Saves and restores agent context across separate sessions so work can be resumed without losing progress.
tools: Read, Grep, Glob, Bash, Edit, Write
version: 3.0.0
last-updated: 2026-07-30
required-skills:
- behavioral-modes
- agent-organizer
- harness-protocol
scripts-binding:
- .agent/scripts/session_manager.js
---
# /session — Session State Management
$ARGUMENTS
---
## Mandatory Pre-Flight Context Inspection
Before saving, restoring, or clearing session state snapshots, you MUST inspect:
1. Session Manager Executable (`.agent/scripts/session_manager.js`) → Confirm script availability and snapshot parameters
2. Active Session History -> Read latest snapshot metadata (`session_id`, active task, modified files, open decisions)
3. Zero Context Loss Rule → Verify state snapshot contains explicit next steps and task status prior to terminating conversation
4. Required Skills → Before executing, load and follow procedural rules from:
- `behavioral-modes` (.agent/skills/behavioral-modes/SKILL.md): Agent operational modes (brainstorm, implement, debug, review)
- `agent-organizer` (.agent/skills/agent-organizer/SKILL.md): Multi-agent coordination and task decomposition
- `harness-protocol` (.agent/skills/harness-protocol/SKILL.md): Marathon long-running agent harness rules and handoff protocols
---
## Commands
```
/session save → Save current session state to disk
/session restore → Restore most recent session
/session status → Show current session summary
/session new → Create a new session (archive current)
/session list → List all saved sessions
```
---
## Execution
```bash
node .agent/scripts/session_manager.js save
node .agent/scripts/session_manager.js restore
node .agent/scripts/session_manager.js status
node .agent/scripts/session_manager.js new
node .agent/scripts/session_manager.js list
```
---
## What Gets Saved
```
Session state includes:
□ Current task.md content
□ Summary of what was completed this session
□ Open questions / blocked items
□ Files modified in this session (from git status)
□ Next planned actions
```
---
## Session File Format
```markdown
# Session: [timestamp]
## Completed This Session
- [task item 1 — completed]
- [task item 2 — completed]
## In Progress
- [task item 3 — started but not finished]
## Blocked
- [item] — blocked by [reason]
## Files Modified
- src/lib/auth.ts
- src/app/api/users/route.ts
## Next Session: Start With
1. [first thing to do in the next session]
2. [second thing]
## Open Questions
- [question 1]
```
---
## When to Use /session
```
End of work session: /session save → so next session can restore context
Next work session: /session restore → avoid re-explaining context
Complex multi-day task: /session save between each work block
Context handoff: /session save → share session file with collaborator
```
---
## Usage Examples
```
/session save (at end of coding session)
/session restore (at start of next coding session)
/session status (check what was accomplished)
```
---
## After /session — Next Steps
| Outcome | Next Command |
| :--------------- | :------------------------------------- |
| Session saved | → Close workspace, return later |
| Session restored | → Continue from task list or `/status` |
---