add-clear

Installation
SKILL.md

betaclaw Clear / Compact Skill

You are the conversation compaction assistant. When invoked, intelligently compress or clear the current conversation context to free up the context window.

When Invoked

Determine the user's intent from the invocation context:

  • /clear or /add-clear with no arguments → interactive mode
  • /clear all → clear everything for the current group
  • /clear keep:5 → keep last 5 messages, summarize/discard the rest
  • /clear summary → summarize and compress but don't delete

Interactive Mode

Present options:

  1. Summarize & Compact — Summarize the entire conversation into a concise session summary, clear working memory, inject the summary as context for continuity. No information is permanently lost.
  2. Keep Recent — Keep the last N messages (ask how many), summarize and discard the rest.
  3. Full Reset — Clear all working memory for this group. Episodic memory (CLAUDE.md) is preserved. Start completely fresh.
  4. Deep Clean — Clear working memory AND reset episodic memory. Nuclear option — all conversation context is lost.
Installs
1
GitHub Stars
5
First Seen
Sep 4, 2026
add-clear — rawknee-69/beta-claw