Installable skillMIT

Chat Refiner

An MCP server that provides on-demand skill loading for AI coding assistants.

BY modbenderUPDATED Oct 27, 2026
INTENDED FOR◈OpenClawInstall in a listed agent.

instructions.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)
COMPATIBILITY & REFERENCES

Platform guidance

Imported from the listed AgentSkill.sh category. Complete supplied package files and notices are retained. Required external tools and credentials are not installed. No bundled code was executed during import. Individual agent task behavior has not been tested.