Session Management gives Claude Code a durable, structured memory system for resuming work, checkpointing progress, closing sessions, and reviewing daily project health.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install session-management
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install session-management using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
Session Management for Claude Code is a user-invoked lifecycle workflow that prevents every coding conversation from starting cold. It uses Markdown state files, daily session logs, decision records, blocker tracking, and heartbeat reports to preserve project context across terminal sessions.
As an Openclaw Skills workflow, it helps developers maintain fresh priorities, record rejected alternatives and rationale, identify stale work, surface deadlines, and safely propose durable memory updates. The system is designed to be fast, transparent, and resilient when a session ends unexpectedly.
/start. The workflow gets the date, checks Git history since the previous session, and identifies files changed by recent work.state/current.md, recent entries in state/decisions.md, weekly priorities, blockers, and today’s session log when available./update. The workflow scans the recent conversation, appends a short update to the daily session log, and changes current.md only when project state actually changed./end. It extracts topics, decisions, rejected alternatives, state changes, open threads, and next actions, then presents the summary for confirmation./today when starting the day. The heartbeat reviews recent commits and session logs, checks freshness and deadlines, ages open threads, proposes memory-gap corrections, records the check-in, and asks for the day’s focus.Create the following structure in the project root or another location used by your workflow:
mkdir -p state sessions
touch state/current.md state/decisions.md state/weekly-priorities.md state/blockers.md
The workflow can create state/current-log.md, state/heartbeat-log.md, and daily session logs automatically when they are first needed.
state/current.md# Current State
Last updated: [date]
## Active Priorities
1. [Your top priority]
2. [Second priority]
## Active Context
- [Open thread or current work] *(created M/D)*
## Recently Completed
- [Completed item] *(M/D)*
state/decisions.md# Decision Log
Key decisions with date, context, rationale, and rejected alternatives.
| Date | Decision | Context / Rationale | Rejected Alternatives |
|------|----------|---------------------|-----------------------|
Use the rejected-alternatives column for meaningful branches, failed hypotheses, and pivots so future sessions can audit the reasoning.
CLAUDE.mdAdd a session-management section that documents these user-only commands:
## Session Management
| Command | What it does |
|---------|--------------|
| `/start` | Load state, check changes, and give a briefing |
| `/end` | Log the session, update state, propose memory updates, and check Git status |
| `/update` | Save a quick mid-session checkpoint |
| `/today` | Run the morning heartbeat for freshness, deadlines, and memory curation |
Because the skill sets disable-model-invocation: true, Claude does not invoke it ambiently. Run /start when beginning work, /update at meaningful checkpoints, /end before closing, and /today for the daily review. Ensure the project is a Git repository if you want change detection, parallel-session checks, and uncommitted-work reporting.
git status
git log --oneline --since="3 days ago"
| Path | Purpose | Lifecycle |
|---|---|---|
state/current.md |
Active priorities, open threads, recent completions, and the current Last Updated line |
Read by /start; updated by /end |
state/current-log.md |
Append-only history of prior Last Updated lines, newest first |
Created and prepended by /end |
state/decisions.md |
Decision, date, rationale, and rejected-alternative records | Read by /start; appended by /end |
state/weekly-priorities.md |
The work that matters during the current week | Read by /start; updated when meaningful progress occurs |
state/blockers.md |
External dependencies and recently unblocked items | Read by /start; updated by /end when necessary |
state/heartbeat-log.md |
Daily check-in date, commit count, staleness, deadlines, stale items, and memory gaps | Read and appended by /today |
sessions/{YYYY-MM-DD}.md |
Daily episodic record of updates and completed session summaries | Created and appended by /update and /end |
Daily logs contain either quick checkpoint entries or full closing summaries:
## Update: {TIME}
- {brief work summary}
## Session: {TIME}
### Topics
- {topic}
### Decisions
- {decision}
### Open Threads
- {unfinished item}
### Next Actions
- {next step}
Last Updated: exactly one current timestamp line in current.md; previous lines are moved individually to current-log.md.current.md is stale after 3 days, weekly priorities after 5 days, and blockers after 7 days./today surfaces dated or urgent tasks due within 7 days.disable-model-invocation: true keeps this approximately 300-line lifecycle skill out of ambient context and leaves timing under developer control./start, /update, /end, and /today cover resumption, checkpointing, closure, and daily maintenance.current-log.md, improving grep behavior, Read-tool compatibility, and merge handling./end checks recent commits across branches and warns when another session edited the same files.save response instead of writing automatically./today can recover context from recent commits and session logs when /end was skipped.Loading
A Git-native multi-agent pipeline that builds, reviews, fixes, verifies, and optionally arbitrates code changes before delivery.

Openclaw Skills provides a free REST API reference for fast, secure integration across AI/ML, payments, and communication services.

Openclaw Skills for fast, enterprise-grade API scaffolding across multiple stacks, DDD, microservices, OpenAPI, and deployment automation.

Openclaw Skills for quickly integrating third-party APIs with RESTful requests, API Key authentication, and basic error handling.

Resume Styles Kit transforms a candidate’s real experience into complete, polished, and customizable PDF resumes without inventing or removing meaningful details.

Amazon Listing Evidence Audit evaluates listing readiness and turns unsupported claims, unclear content, keyword issues, and missing visual proof into a prioritized action plan.








































