/compact
Last updated
What is /compact?
/compact is a text-only command that compresses or summarizes the current conversation context to free up space in the context window without losing essential information. You can optionally pass instructions to guide how the compaction is done.
Free resources to learn /compact
- Official docsSlash Commands
- Official docsCompaction
More in stage 19: Multi-Agents
/compact: common questions
Can I learn /compact in Hindi?
This lesson is written in English. Once you sign in, open it in the interactive course and ask the AI tutor to explain /compact in Hindi or Hinglish. The tutor answers from this lesson’s own text, so it stays on the syllabus, and it runs on your own Google, OpenAI or Anthropic key.
Is this /compact tutorial for beginners?
It is lesson 96 of 118 in the free OpenClaw roadmap, in stage 19, Multi-Agents. If you are new to OpenClaw, start from stage 1 and come back here in order; if you already know the earlier stages, this lesson stands on its own.