save-state

Write current task, progress, decisions, and blockers to production/session-state/active.md.

70|42|Updated Mar 27, 2026
One-click install
npx skills add https://github.com/tranhieutt/software_development_department --skill save-state-tranhieutt
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: save-state
Source: https://github.com/tranhieutt/software_development_department/tree/main/.claude/skills/save-state
Command: npx skills add https://github.com/tranhieutt/software_development_department --skill save-state-tranhieutt

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Saves the current working context so a new session or context compaction can resume without losing task details, decisions, or progress.

Core Features & Use Cases

  • Context checkpointing: Dumps the current task, progress, decisions, files, blockers, and next step into production/session-state/active.md for reliable recovery.
  • Durable memory extraction: Encourages capturing broad architectural lessons or constraints into .claude/memory/ files before overwriting active.md to keep long-term knowledge alive.
  • Workflow safeguards: Automatically surfaces the saved state during session start and before compaction via predefined hooks, ensuring you never start blind.

Quick Start

Save your current task summary, decisions, and file status into production/session-state/active.md before clearing the workspace so you can resume without missing anything.

Frequently Asked Questions about save-state

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I save session state before context compaction clears my working memory?

Save session state by dumping your current task summary, progress, decisions, git diff listings, and blockers into production/session-state/active.md before clearing history. This checkpoint file captures the working context so a new session can resume without losing task details.

What is the best way to checkpoint conversation context for durable memory recovery?

The best way to checkpoint conversation context is writing task summaries, open questions, and next steps to active.md, while extracting broad architectural lessons into .claude/memory/ files to keep long-term durable memory alive across sessions.

When do I need to save my working context during an automation session?

Save your working context when nearing context compaction limits, before clearing conversation history, and at the end of work sessions. Checkpointing at these points ensures you can quickly restore the conversation state and resume without missing anything.

Does this context-saving approach work with git diff listings for tracking progress?

Yes, context-saving works with git diff listings by collecting them alongside task summaries and open questions before writing the checkpoint file. This captures file changes and progress accurately for reliable recovery in the next session.

Can I extract architectural constraints into durable memory before overwriting the session checkpoint?

Yes, you can extract broad architectural lessons or constraints into .claude/memory/ files before overwriting active.md. This keeps long-term durable memory alive while the active session state is reset for new tasks.

Why does my new session start blind without a session state checkpoint?

A new session starts blind without a checkpoint because previous task details, decisions, and progress are lost during context compaction or history clearing. Predefined hooks automatically surface the saved state file during session start to prevent this.