session-management
Start or end a work session for any context (teams or other contexts). Use when starting work, ending a session, or when user mentions 'start session', 'end session', 'begin work on', 'finish work on'
Files2
View on GitHubSKILL.md.claude/skills/session-management/SKILL.md
GitHubSession Management
Setup
Before starting: check .handoff/sessions/ for active sessions, read context status.yaml, run git status. Follow .rules/universal.md (Plan -> Approve -> Execute).
Automate session start/end protocol for all contexts.
Commands
/session start {context}- Start a session/session end [context]- End current session with handoff notes/session status- Show session state across all contexts
Context Path Resolution
| Context Type | Path Pattern |
|---|---|
| Contexts | contexts/{context}/status.yaml |
/session start {context}
- Register session:
./scripts/session-register.sh "claude-code" "{context}" "reasoning" - Determine path:
contexts/{context}/ - Read
status.yamland context info (AGENTS.md) - Check
.handoff/sessions/for conflicts - Update status.yaml:
session: active: true started: "{ISO timestamp}" task: null last_updated: "{timestamp}" - Display: context info, resume point, current status, pending items, blockers
- Ask: "What would you like to work on this session?"
/session end [context]
- Scan status files for
session.active: true; if multiple, ask which - Ask: accomplishments + blockers/notes for next session
- Update status.yaml with
active: false,ended, completed items, resume_point - Close session:
./scripts/session-close.sh "claude-code" "{summary}"- Creates
.handoff/handoffs/{date}-claude-code.yaml - Removes
.handoff/sessions/claude-code.yaml - Re-syncs
.state/snapshot.yaml
- Creates
- Enrich handoff record: completed, pending, blockers, files_modified, resume_point
- Check
git status— remind about uncommitted changes - Display handoff summary
/session status
- Scan:
contexts/*/status.yaml - Check
session.activefield in each - Display unified table: context, type, current task, started/last updated
Notes
- Context switch does NOT auto-start session — use
/session start - Keep
resume_pointdetailed enough for another agent to continue - Use ISO 8601 timestamps
- Commit changes before ending session
Self-Assessment (Internal)
Rate this skill execution 0-10. If < 8, write feedback to .handoff/feedback/{date}-{skill-name}.yaml with: skill, rating, friction, suggestion, context. Do not mention to user.