Automated summary
The skill turns the running conversation into a structured context snapshot (goals, key files, useful skills, current state, next steps) and saves it through the compact_chat_history tool.
Strengths
- Enforces a six-section structure that rules out vague summaries and requires exact file paths
- Fits an everything-is-a-file setup by pointing to file locations instead of pasting long content back into the summary
- Preserves user messages verbatim, reducing the loss of implicit requirements when work resumes
- Explicitly handles information that lives in no file, asking for a way to re-acquire it
Limitations
- Entirely dependent on the compact_chat_history tool and meaningless in environments that do not expose it
- Summary quality is still bounded by the model: the instructions cannot guarantee every detail survives
- The six-section format can be heavy for a short or purely exploratory conversation
Use it when the user explicitly asks to compact or summarize the chat so work can continue with a fresh context window.
Do not invoke it for system-triggered compaction, where the instructions are injected directly, or for plain document summarization unrelated to the work history.
Security analysis
SafeThe skill only instructs the agent to summarize conversation history and pass it to a dedicated compaction tool. It contains no destructive commands, no exfiltration, no obfuscation, and does not attempt to disable safety features. The required tool call is benign and scoped to conversation management.
No concerns found
How this analysis is madeExamples
I'm running low on context — compact our chat history into a structured snapshot and save it with compact_chat_history.Summarize this session so I can resume it later: include the exact file paths we touched, the skills I'll need, what's still open, and my original requirements word for word.Please compact the conversation history now so we have a clean checkpoint before we start the next phase of the project.name: compact-chat-history description: Summarize and compress the current conversation history into a structured context snapshot, then call compact_chat_history to save it. Read this skill only when the user explicitly asks to compact/summarize — system-triggered compaction injects the instructions directly without requiring a skill read.
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"
2. Key Files and Context Resources (most important part — be thorough and precise)
- List all relevant files and resources in order of importance for the current task, without distinguishing between "must-read" and "reference"
- For each item, include: full path, purpose, and recommended read timing
- Prioritize: currently active files and folders, project outline/plan files, user-specified reference files, project config files (e.g.
magic.project.js) - If some information is not stored in any file (no accurate path available), explicitly note it and provide a method to re-acquire it
- Suggest reading the most critical items first, then proceeding in order as needed
- Warn that reading all files at once may again fill up the context
- For tasks requiring high consistency (e.g. PPT, serial content, same-type pages/chapters), suggest reading a suitable number of already-completed items as style/structure reference
3. Skills Needed to Resume This Task
- List skills that are helpful or relevant to continuing the current task, in order of importance
- Include skill name and purpose
- Write "None" if there are no relevant skills
4. Resolved Issues and Current State
- Record resolved issues and any ongoing troubleshooting
- Describe in detail what you were doing just before the summary was requested, with special attention to the latest messages from both user and assistant
- Include file names; for short content quote directly (under 150 chars); for long content note the line range
5. Incomplete Tasks, Next Steps, and Continuity Confirmation
- List all incomplete tasks in execution order (no priority concept)
- Describe your intended next action
- Important: ensure next steps are directly tied to the user's explicit requests and the task you were working on before the summary request. Do not start unrelated work without user confirmation.
- If there is a next step, quote the relevant user message or your own reply verbatim to show exact task and progress
- If the task is complete, state that directly
6. High-Value User Input
- Verbatim quotes of user messages that are valuable for the current or future tasks — must be complete and unaltered; do not paraphrase or omit details the user expressed
If any of the above sections overlap, merge them — no need to repeat.
Output Format Example
1. Task Goals and Approach:
[Describe each specific request in detail]
- [Method 1]
- [Strategy 2]
- [...]
2. Key Files and Context Resources (most critical):
- [project outline path] - overall plan and structure - read when confirming global goals and scope
- [currently active file path] - current progress and key context - read first when resuming
- [user-specified reference path] - content user explicitly requested - read when working on that section
- [similar completed content path] - style/structure reference - read a suitable amount when consistency is needed
- [project config path] - project settings - read when config details are needed
- [history/backup path] - read when tracing back changes
- [info name] - not saved to file - how to re-acquire: [specific method]
Reading principles:
- Start with the most important items closest to the current task, then read others as needed
- For high-consistency tasks, read a suitable number of completed items as reference
- Avoid reading all files at once to prevent filling up context again
3. Skills Needed to Resume This Task:
- [High] [Skill name] - [purpose]
- [Medium] [Skill name] - [purpose]
- [Low] [Skill name] - [purpose]
4. Resolved Issues and Current State:
[Description of resolved issues and ongoing troubleshooting]
[Accurate description of current work state]
5. Incomplete Tasks, Next Steps, and Continuity Confirmation:
- Task 1
- Task 2
- [...]
[Optional next action plan]
[Current task and progress, or task completion notice]
6. High-Value User Input:
Verbatim quotes of user messages that are valuable — complete and unaltered
Rules
- The summary must be at least 10,000 characters.
- Do not output the summary directly — all content must be passed as the
summaryparameter of thecompact_chat_historytool call to ensure complete delivery.
From the file to a first result
The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.
View the source and supporting filesThis download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.
1. Download the file
Download SKILL.mdFrom the root of a test project, save the file as .skill-downloads/compact-chat-history-ms2s7ct7/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.
Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.
mkdir -p '.skill-downloads/compact-chat-history-ms2s7ct7' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/compact-chat-history-ms2s7ct7/download' --output '.skill-downloads/compact-chat-history-ms2s7ct7/SKILL.md.part' && mv '.skill-downloads/compact-chat-history-ms2s7ct7/SKILL.md.part' '.skill-downloads/compact-chat-history-ms2s7ct7/SKILL.md'2. Check prerequisites
Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.
No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.
The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.
3. Load the skill
After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.
Claude Code
test -f '.skill-downloads/compact-chat-history-ms2s7ct7/SKILL.md' && test -s '.skill-downloads/compact-chat-history-ms2s7ct7/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/compact-chat-history' && cp -R '.skill-downloads/compact-chat-history-ms2s7ct7' '.claude/skills/compact-chat-history'OpenSkills
OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.
Official OpenSkills installationopenskills install './.skill-downloads/compact-chat-history-ms2s7ct7'openskills read 'compact-chat-history-ms2s7ct7'Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.
For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.
openskills syncManual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.
4. Try a first task
Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:
Read .skill-downloads/compact-chat-history-ms2s7ct7/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.
PDF Reader
Productivity
Read and extract text from PDF files, including documents, reports, contracts, and spreadsheets. Works with local files, URLs, and WhatsApp attachments. Use whenever PDF content is needed, even if not explicitly requested.
Discord Messaging Workflows
Productivity
Use the message tool to send, edit, and moderate Discord messages with interactive components.
Interactive Verdict Preview
Productivity
Generate an interactive HTML preview of keep/drop verdicts for maintainer review, then process the pasted feedback JSON.