Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
dtyq avatar

Compact Chat History

  • 32 installs
  • 5k repo stars
  • Updated August 4, 2026
  • dtyq/magic

Summarizes and compresses the current conversation into a structured context snapshot, then saves it via compact_chat_history.

About

compact-chat-history summarizes and compresses the current conversation history into a structured context snapshot and then calls compact_chat_history to persist it. A solo builder reaches for it when a long agent session needs its context condensed so work can continue without losing key state.

  • Compresses chat history
  • Structured context snapshot
  • Saves via compact_chat_history

Compact Chat History by the numbers

  • 32 all-time installs (skills.sh)
  • Ranked #1,828 of 3,282 Productivity & Planning skills by installs in the Skillselion catalog
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/dtyq/magic --skill compact-chat-history

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs32
repo stars5k
Last updatedAugust 4, 2026
Repositorydtyq/magic

What it does

Summarizes and compresses the current conversation into a structured context snapshot, then saves it via compact_chat_history.

Who is it for?

Condensing long agent conversations

Skip if: General document summarization

Related skills

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.