compressing-context

Compress the current conversation into a session-summary.md file.

1|Updated Apr 12, 2026
One-click install
npx skills add https://github.com/fascari/ai-config --skill compressing-context-fascari
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: compressing-context
Source: https://github.com/fascari/ai-config/tree/main/skills/compressing-context
Command: npx skills add https://github.com/fascari/ai-config --skill compressing-context-fascari

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Compresses the current conversation into a session-summary.md that allows a new chat session to resume exactly where this one left off.

Core Features & Use Cases

  • Compresses conversation state into a retrievable summary at the end of a session
  • Resolves a plan slug from .github/plans or derives one from the topic and creates the slug directory
  • Generates .github/plans/{slug}/session-summary.md capturing current state, decisions, discoveries, blockers, and next steps

Quick Start

Run the compression workflow to create a session-summary.md for the current plan slug.

Frequently Asked Questions about compressing-context

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

FAQPage Schema
How do I compress a chat session to resume it later?

To compress a chat session, the conversation state is captured into a session-summary.md file. This summary records the current state, decisions, and next steps, allowing a new chat to resume exactly where the previous one left off.

What is a session summary and when do I need one?

A session summary is a markdown snapshot of your conversation context, decisions, and blockers. You need one when a session spans planning, research, and coding, or when you ask to resume your work later.

How do I generate a session summary for a GitHub plan?

Generating a session summary resolves a plan slug from the .github/plans directory or derives one from the topic. It then creates the slug directory and outputs the summary file at .github/plans/{slug}/session-summary.md.

Does session compression work without an existing plan slug?

Yes, session compression works without a pre-existing slug. If a plan slug is not found in .github/plans, the compression process derives one from the current topic and creates the required directory structure automatically.

What is the best way to save context before ending a long coding chat?

The best way to save context is running a compression workflow that generates a session-summary.md. This ensures a complete snapshot of your progress, implementation plan references, and discoveries is saved for your next session.

What information is included in a compressed session summary?

A compressed session summary includes the current project state, decisions made, discoveries, blockers encountered, and next steps. It also satisfies references to the implementation plan and progress within the .github/plans structure.