Skip to content
Back to skills

Chat Refiner

ASecurity

Refine conversation history by deleting useless/redundant/process exchanges. Keep explicit instructions, disciplines, important configs, skills learned (how), user 'remember this' info. Use when user asks to summarize/clean chat logs, sessions_history, or memory maintenance. Produces concise MEMORY.md updates or summary files.

  • 21 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 7, 2026
tools

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 7, 2026

npx -y skills add modbender/skill-library-mcp --skill chat-refiner --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Chat Refiner?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Chat Refiner
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/modbender-chat-refiner/badge)](https://www.skillsdirectory.com/skills/modbender-chat-refiner)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: chat-refiner
description: Refine conversation history by deleting useless/redundant/process exchanges. Keep explicit instructions, disciplines, important configs, skills learned (how), user 'remember this' info. Use when user asks to summarize/clean chat logs, sessions_history, or memory maintenance. Produces concise MEMORY.md updates or summary files.
---

# Chat Refiner

## When to Use

User requests:
- "精简聊天记录"
- "clean/summarize history"
- "update MEMORY.md from transcripts"
- Memory maintenance during heartbeats.

## Workflow

1. **Input**: sessions_history (this session or other), memory/*.md, chat transcripts.
2. **Principles** (see references/principles.md):
   - Delete casual/heartbeats/repeated tools.
   - Keep: disciplines, configs, skills learned/install, explicit "remember", decisions.
3. **Process**:
   - Read raw.
   - Extract key.
   - Write summary to memory/YYYY-MM-DD-summary.md or MEMORY.md.
4. **Output**: Clean file + "Refined X items kept".

## Tools

- sessions_history: fetch transcripts.
- memory_search/get: prior context.
- write/edit: output summary.

## Examples

User: "精简对话" → read history → refine → write memory/summary.md.

Ref: [principles.md](references/principles.md)

Files in this skill

  • SKILL.md1.3 KB
  • references/principles.md581 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in tools →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.