compact

Summarize conversation context to preserve goals, progress, and key decisions.

21|1|Updated Dec 5, 2025
One-click install
npx skills add https://github.com/sinaptia/detritus --skill compact-sinaptia
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: compact
Source: https://github.com/sinaptia/detritus/tree/main/skills/compact
Command: npx skills add https://github.com/sinaptia/detritus --skill compact-sinaptia

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill addresses the challenge of lengthy conversation histories by creating concise, structured summaries that preserve essential information while freeing up valuable context window space.

Core Features & Use Cases

  • Context Management: Reduces the amount of text the AI needs to process by archiving older messages.
  • Information Preservation: Captures key decisions, progress, and critical context in a structured format.
  • Use Case: When a complex coding session becomes long, use this Skill to summarize the progress, decisions made, and current blockers, allowing the AI to continue efficiently without losing track of the project's state.

Quick Start

Use the compact skill to create a summary of the current conversation.

Frequently Asked Questions about compact

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

FAQPage Schema
How do I summarize conversation context to free up context window space?

To preserve agent state in long-running interactions, it captures key decisions, progress, and critical context in a structured summary format, allowing the AI to continue efficiently without losing track of the project's state.

When do I need to compact a lengthy conversation history?

You need to compact a lengthy conversation history when a complex coding session becomes long, requiring you to archive older messages and summarize progress, decisions made, and current blockers to manage context window length.

What is the best way to preserve key decisions during long-running agent interactions?

The best way to preserve key decisions during long-running agent interactions is to apply context compaction, which captures progress and critical context in a structured format to maintain state preservation for continued efficient operation.

Does context compaction lose critical project state information?

Context compaction does not lose critical project state information, as it specifically preserves essential information including goals, progress, key decisions, and critical context while reducing the amount of text the AI needs to process.

Can I manage context window length for complex coding sessions without losing track of progress?

You can manage context window length for complex coding sessions without losing track by archiving older messages into a structured summary, ensuring the AI continues efficiently with the project's state intact.