compact-chat-history

Installation
SKILL.md

Compact Chat History

Compress the current conversation into a structured summary, then call compact_chat_history immediately with the result.


Instructions

The conversation history is too long and must be compressed. You must call the compact_chat_history tool immediately to complete the summary.

Your task is to create a thorough summary of the conversation so far, with special attention to the user's explicit requests and your prior actions. The summary must capture all important details, work results, and file locations to ensure continuity, since we follow an "everything-is-a-file" architecture.

Remember: subsequent work will restore context by reading files, so you must provide accurate file paths. For content already saved to files, note the location — do not repeat large blocks of text in the summary itself.

Your summary must include the following sections:

1. Task Goals and Approach

  • Record all of the user's explicit requests and intent in detail (not just high-level business goals — be specific about every requirement)
  • Describe the methods and strategies you used (e.g. data processing approach, content generation strategy, information organization method), but do not repeat system prompt content; if there is nothing beyond the system prompt, write "N/A"
Related skills
Installs
9
Repository
dtyq/magic
GitHub Stars
4.8K
First Seen
Apr 28, 2026