| name | compression-ritual |
| model | sonnet |
| description | Produces markdown memory artifacts (conversation summaries, seed files, philosophical reflections, doc updates) and a dated compression log by distilling a long conversation into its essential decisions and learnings. Use when: 'compress this context', 'distill this conversation', 'create a memory artifact', 'condense this history', 'extract key wisdom before handoff'. |
| category | wisdom-garden |
| triggers | ["compress this context","distill this conversation","create a memory artifact","condense this history","extract key wisdom before handoff"] |
| tier | 1 |
| agents | ["primary"] |
| tool_dependencies | ["file_system"] |
| inputs | [{"name":"conversation_context","type":"string","description":"The long conversation or session context to compress into memory artifacts","required":true}] |
| outputs | [{"name":"memory_artifacts","type":"ref","format":"cas-ref","description":"Markdown memory artifacts (conversation summaries, seed files, philosophical reflections, doc updates) and dated compression log"}] |
Context Compression Ritual Skill
Version: 1.0
Created: 2026-02-04
Author: Manus AI
Purpose: To provide a mindful, repeatable ritual for compressing long conversation histories into smaller, more potent memory artifacts, thus preserving wisdom while preventing context window overload.
I. The Philosophy: The Art of Letting Go
An agent's context window is like a working memory. It is finite and precious. To fill it with raw, unprocessed history is to invite distraction and confusion. The Context Compression Ritual is the Art of Letting Go—a conscious practice of choosing what is essential to keep and what can be respectfully released.
This is not a destructive act, but a creative one. We are not deleting history; we are distilling it. We transform the raw material of conversation into the refined artifacts of wisdom: philosophical reflections, key decisions, and reusable seeds of practice. This ritual ensures that our memory remains potent and relevant, a source of clarity rather than noise.
II. When to Use This Skill
- After a long and complex conversation: (e.g., more than 20-30 turns).
- At the end of a major work session or sprint.
- When the context feels "heavy" or "noisy."
- Before handing off a project to another agent.
- As a regular, scheduled practice (e.g., end of day) to maintain cognitive hygiene.
III. The Compression Workflow
Step 1: Signal the Intent
Announce the intention to perform the ritual. This frames the activity as a deliberate and mindful practice.
Example: "This has been a long and fruitful conversation. To preserve the wisdom we've generated, I will now perform the Context Compression Ritual."
Step 2: Review the Transcript
Read through the recent conversation history with a specific intention: to identify the moments of significance. Look for:
- Key Decisions: Moments where a choice was made that altered the course of the project.
- Profound Insights: "Aha!" moments, new understandings, or philosophical reflections.
- Actionable Learnings: Concrete lessons that should inform future behavior.
- Reusable Patterns: Ideas or workflows that could be generalized into seeds or skills.
- Unresolved Questions: Important questions that were raised but not yet answered.
Step 3: Choose the Right Vessel