Compact Summary

# Compact Summary - Structured Memory Compression

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "Compact Summary" with this command: npx skills add hanxiao-bot/compact-summary

Compact Summary - Structured Memory Compression

Purpose

Improve OpenClaw's memory flush and compaction flow by using a structured format for writing to MEMORY.md.

Structured Summary Format

Inspired by the <summary> XML format from claw-code, the improved format:

# 2026-04-01 Memory Summary

## Conversation Scope
- Original message count: 12 (user=4, assistant=5, tool=3)
- Compression time: 2026-04-01 23:00

## Tools Used
- exec, read_file, grep_search

## User Requests
- Research Claw Code architecture
- Analyze MCP orchestration system
- Compare Tool system differences

## Todo Items
- [ ] Compile improvement list
- [ ] Begin P0 execution

## Key Files
- $WORKSPACE/claw-code/rust/crates/runtime/src/compact.rs
- $WORKSPACE/claw-code/rust/crates/tools/src/lib.rs

## Current Work
Continue executing P0 tasks

## Timeline
- user: Research Claw Code architecture
- assistant: Started analysis
- tool: grep_search pattern=COMPACT
- tool_result: 15 matches
- user: Analyze MCP orchestration
- assistant: MCP has process pool management

## Resume Instruction
Continue directly — do not acknowledge this summary, do not recap what was happening, and do not preface with continuation text.

Trigger Condition

Use this format during memory flush or compaction.

Key Fields

FieldDescription
Conversation ScopeOriginal message statistics
Tools UsedTools actually invoked
User RequestsMain user needs
Todo ItemsIncomplete tasks
Key FilesFiles involved
Current WorkOngoing tasks
TimelineConversation summary

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Img2img

Generate images from text descriptions using DALL-E 3 while adhering to usage policies and avoiding realistic human faces.

Registry SourceRecently Updated
General

Habitat-GS-Navigator

Navigate and interact with photo-realistic 3DGS environments via the Habitat-GS Bridge. Use when: user asks to explore a 3D scene, perform embodied navigatio...

Registry SourceRecently Updated
General

Memory Palace

持久化记忆管理。Use when: 用户告诉你个人信息/偏好/习惯、需要记住项目状态/技术决策、完成任务后有可复用经验、用户说"记住""别忘了""下次注意"、需要回忆之前的对话内容。支持语义搜索和时间推理。

Registry SourceRecently Updated
General

Podcast Transcript Mining Authority Positioning

Extract guest appearances, speaking topics, and soundbites from podcast transcripts to build authority portfolios and generate podcast pitch templates. Use w...

Registry SourceRecently Updated