compact_skill_memory
Condense a skill's accumulated memory into one concise summary when storage is full, preserving durable lessons and replacing old entries.
Instructions
Compact a skill's MEMORY into one summary entry (when it gets large).
Call this only when append_skill_memory returns memory_full. Read the memory,
distill the durable lessons into a concise summary, and pass it here — it
replaces the old entries with your summary.
Args:
skill_id: The skill whose memory to compact.
summary: The distilled summary of durable lessons to keep.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| config | No | ||
| summary | Yes | ||
| skill_id | Yes |