add-compact
OfficialCompact conversation history
Authorqwibitai
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill combats context rot in long-running chat sessions by providing a command to intelligently summarize and compact the conversation history, ensuring continued coherence and performance.
Core Features & Use Cases
- Context Compaction: Leverages the Claude Agent SDK's built-in
/compactcommand to reduce memory footprint while preserving essential context. - Session Continuity: Ensures the conversation can continue seamlessly after compaction, with a new session ID provided.
- Security Controls: Restricts the
/compactcommand to trusted senders (main group, device owner) to prevent accidental data loss. - Use Case: In a multi-day support chat, use
/compactto keep the conversation manageable and the AI's responses relevant without losing the thread of the ongoing issue.
Quick Start
Send the command /compact from the main group to initiate context compaction.
Dependency Matrix
Required Modules
None requiredComponents
scripts
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: add-compact Download link: https://github.com/qwibitai/nanoclaw-whatsapp/archive/main.zip#add-compact Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.