compact

Saves important session context to a dated daily memory log file.

62|14|Updated Apr 9, 2026
One-click install
npx skills add https://github.com/crisandrews/ClawCode --skill compact-crisandrews
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: compact
Source: https://github.com/crisandrews/ClawCode/tree/main/skills/compact
Command: npx skills add https://github.com/crisandrews/ClawCode --skill compact-crisandrews

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? AI chat sessions are stateless, so decisions, facts, and open tasks discussed in a conversation are lost when the session ends. This Skill lets you manually flush the important parts of the current conversation into a persistent daily memory log without triggering native context compaction. ## Core Features & Use Cases - Manual Memory Flush: Scans the current session for decisions, facts learned, and open items, then appends them to memory/YYYY-MM-DD.md in a structured Markdown format. - Multi-Surface Support: Adapts its confirmation output for CLI, WhatsApp, and Telegram, and responds in the user's language (e.g., Spanish). - Safe by Design: Append-only writes, no invocation of the native /compact command, and explicit feedback when there is nothing worth saving. - Use Case: After a long WhatsApp exchange where you and the agent decided on a project plan, trigger the flush to checkpoint the conversation into today's memory file so it survives future sessions. ## Quick Start Ask the agent to flush the important parts of this conversation to today's memory log.

Frequently Asked Questions about compact

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

FAQPage Schema
How do I manually save conversation context to memory?

Trigger the compact skill with /compact, /flush, or a phrase like "guarda memoria". It scans the session for decisions, facts, and open items, then appends them to memory/YYYY-MM-DD.md in a structured Markdown section.

Does this skill run the native /compact command?

No. The skill cannot and does not invoke Claude Code's native /compact. It only performs the memory-save portion manually, which is useful when you want a checkpoint without actual context compaction.

Can I use memory flush on WhatsApp or Telegram?

Yes. On messaging channels there is no native compact, so the skill simply saves the recent exchange to the daily memory file and confirms with a short surface-appropriate message in your language.

What happens if there is nothing important to save?

The skill tells you directly that there is nothing important to save right now, in your language. It never fabricates content and only appends substantive decisions, facts, or open items to the log.

Does the memory flush overwrite previous daily log entries?

No. The skill is append-only. Each flush adds a new timestamped section to the existing memory/YYYY-MM-DD.md file, preserving everything written earlier that day.