Skip to content
alinaqi avatar

Session Management

Tiered session checkpointing that logs state, decisions, and code landmarks so work resumes exactly where it stopped.

CCM score
54 of 100
skills.sh installs
273
GitHub stars
712
last updated
Jun 3, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers three checkpoint tiers: quick updates to current-state.md, full checkpoints that add decisions.md, and session archives under archive/
  • Defines the session directory layout and templates for current state, an append-only decision log, and code landmarks tables
  • Includes a decision heuristic that routes each completed task to the right tier based on decisions made and tool-call count
  • Designed for long development sessions that risk context loss or need resuming after a break

Install

$ npx -y skills add alinaqi/maggy --skill session-management -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Session Management Skill

For maintaining context across long development sessions and enabling seamless resume after breaks.


Core Principle

Checkpoint at natural breakpoints, resume instantly.

Long development sessions risk context loss. Proactively document state, decisions, and progress so any session can resume exactly where it left off - whether returning after a break or hitting context limits.


Tiered Summarization Rules

Tier 1: Quick Update (current-state.md only)

Trigger: After completing any small task or todo item Action: Update "Active Task", "Progress", and "Next Steps" sections Time: ~30 seconds

Tier 2: Full Checkpoint (current-state.md + decisions.md)

Trigger:

  • After completing a feature or significant change
  • After any architectural/library decision
  • After ~20 tool calls during active work
  • When switching to a different area of the codebase

Action:

  1. Update full current-state.md
  2. Log any decisions to decisions.md
  3. Update files being modified table

Details

Repository
github.com/alinaqi/maggy
Categories
Memory & Context, Agent Workflow & Planning
First seen
Jun 3, 2026

Questions

What does the session-management skill do for Claude Code?

The session-management skill keeps context across long development sessions so work can resume after a break or a context limit. It uses tiered summarization: quick updates after small tasks, full checkpoints after features or decisions, and archive entries at the end of a session. State is kept in a _project_specs/session/ folder with current-state.md, decisions.md and code-landmarks.md.

How do I install the session-management skill?

Run npx -y skills add alinaqi/maggy --skill session-management -y in your project. Once installed, the skill tells the agent to checkpoint its state at natural breakpoints and to log architectural decisions as they are made.

Who is the session-management skill for?

It suits developers who run long Claude Code sessions and lose track of decisions, progress or the next steps when context fills up. The skill is set to be used at session checkpoints, after major tasks, or when resuming work, and it is not user-invocable.

Where does session-management fit among Memory & Context skills?

It sits in the Memory & Context category next to handoff, caveman-compress, caveman-stats, caveman-learn and caveman-optimize. Its distinguishing feature is the three-tier checkpoint system that writes resumable state and an append-only decision log into the project.

More from alinaqi/maggy

All 54

Similar to Session Management

More Memory & Context