·chat-compactor

Generate structured session summaries optimized for future AI agent consumption. Use when (1) ending a coding/debugging session, (2) user says "compact", "summarize session", "save context", or "wrap up", (3) context window is getting long and continuity matters, (4) before switching tasks or taking a break. Produces machine-readable handoff documents that let the next session start fluently without re-explaining.

23Installs·0Trend·@zhanlincui

Installation

$npx skills add https://github.com/zhanlincui/ultimate-agent-skills-collection --skill chat-compactor

SKILL.md

Generate structured summaries optimized for AI agent continuity across sessions.

Human-written summaries and ad-hoc AI summaries lose critical context:

This skill produces agent-optimized handoff documents that prime the next session.

Generate structured session summaries optimized for future AI agent consumption. Use when (1) ending a coding/debugging session, (2) user says "compact", "summarize session", "save context", or "wrap up", (3) context window is getting long and continuity matters, (4) before switching tasks or taking a break. Produces machine-readable handoff documents that let the next session start fluently without re-explaining. Source: zhanlincui/ultimate-agent-skills-collection.

View raw

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/zhanlincui/ultimate-agent-skills-collection --skill chat-compactor
Category
</>Dev Tools
Verified
First Seen
2026-02-01
Updated
2026-02-18

Quick answers

What is chat-compactor?

Generate structured session summaries optimized for future AI agent consumption. Use when (1) ending a coding/debugging session, (2) user says "compact", "summarize session", "save context", or "wrap up", (3) context window is getting long and continuity matters, (4) before switching tasks or taking a break. Produces machine-readable handoff documents that let the next session start fluently without re-explaining. Source: zhanlincui/ultimate-agent-skills-collection.

How do I install chat-compactor?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/zhanlincui/ultimate-agent-skills-collection --skill chat-compactor Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor

Where is the source repository?

https://github.com/zhanlincui/ultimate-agent-skills-collection