context-saver

Save session context to a standardized CONTEXT-*.md file.

17|1|Updated Dec 7, 2025
One-click install
npx skills add https://github.com/mhylle/claude-skills-collection --skill context-saver-mhylle
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: context-saver
Source: https://github.com/mhylle/claude-skills-collection/tree/main/skills/context-saver
Command: npx skills add https://github.com/mhylle/claude-skills-collection --skill context-saver-mhylle

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill enables structured preservation of working context to disk, allowing seamless continuation of complex tasks across chat sessions. It extracts signal from noise, capturing essential state while discarding ephemeral details.

Core Features & Use Cases

  • Context preservation: Save trajectory, decisions, and current code state to a persistent context file.
  • Handoff-ready: Generates a standardized CONTEXT-*.md file for seamless session handoff.
  • Resume workflows: Enables quick resumption in subsequent sessions with deterministic guidance from the saved context.

Quick Start

Create a context file at docs/context/CONTEXT-<topic>.md following the template described in references/context-template.md. Then you can resume the session by loading that file in a new chat.

Frequently Asked Questions about context-saver

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

FAQPage Schema
How do I save chat session context to resume complex tasks later?

You save session context by writing your trajectory, decisions, and current state into a standardized CONTEXT-*.md file on disk, enabling seamless continuation of complex tasks across future chats.

What is the best way to hand off an active coding session to a new chat?

The best way to hand off a coding session is generating a standardized CONTEXT-*.md file preserving your trajectory and active code focus, which provides deterministic guidance for quick resumption in a new chat.

How do I structure a context file for session management?

You structure a context file for session management by creating a CONTEXT-*.md document in docs/context/ or the project root containing Trajectory, Problem Statement, Active Code Focus, and Next Steps sections.

Does context persistence for long-running sessions require a specific template?

Yes, context persistence for long-running sessions requires following the template in references/context-template.md to structure your CONTEXT-*.md file so it correctly preserves essential state and discards ephemeral details.

Can I resume a workflow after an interruption without losing my decisions?

Yes, you can resume a workflow after an interruption by loading a previously generated CONTEXT-*.md file into a new chat, which restores your problem statement, decisions, and active code focus.

When should I not use context files for session checkpointing?

You should avoid context files for session checkpointing when tasks are short-lived or ephemeral, because extracting signal from noise to create a CONTEXT-*.md file provides no benefit for transient details requiring no future resumption.