← Back to Skills Marketplace
332
Downloads
0
Stars
1
Active Installs
1
Versions
Install in OpenClaw
/install chat-refiner
Description
Refine conversation history by deleting useless/redundant/process exchanges. Keep explicit instructions, disciplines, important configs, skills learned (how)...
README (SKILL.md)
Chat Refiner
When to Use
User requests:
- "精简聊天记录"
- "clean/summarize history"
- "update MEMORY.md from transcripts"
- Memory maintenance during heartbeats.
Workflow
- Input: sessions_history (this session or other), memory/*.md, chat transcripts.
- Principles (see references/principles.md):
- Delete casual/heartbeats/repeated tools.
- Keep: disciplines, configs, skills learned/install, explicit "remember", decisions.
- Process:
- Read raw.
- Extract key.
- Write summary to memory/YYYY-MM-DD-summary.md or MEMORY.md.
- 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
Usage Guidance
This skill will read chat transcripts and write persistent memory/summary files — but its included principles explicitly tell the agent to keep and persist 'Configs (API keys, models)' and other potentially sensitive data. Before installing or using it, consider: (1) Do not run it on transcripts that contain secrets (API keys, tokens, passwords) unless you trust and have reviewed the output destination. (2) Edit the SKILL.md or principles to explicitly redact or exclude secrets (e.g., remove the 'Configs (API keys, models)' line and add a redaction step). (3) Require user confirmation before writing memory files or make it user-invocable only (avoid autonomous invocation on sensitive corpora). (4) After use, inspect the created memory files and delete any secrets you find. (5) If you need automated redaction, add explicit redaction rules to the workflow (detect common key patterns and remove them). These mitigations reduce the risk of accidental secret persistence; without them, the skill's behavior is suspicious and potentially dangerous.
Capability Analysis
Type: OpenClaw Skill
Name: chat-refiner
Version: 0.1.0
The OpenClaw skill 'chat-refiner' is designed to summarize and clean chat history and memory files. All instructions in SKILL.md and references/principles.md align with this stated purpose, detailing how to read chat transcripts and write summarized content to memory files. There is no evidence of prompt injection attempts, unauthorized data access, exfiltration, or any other malicious or suspicious behavior. The file read/write operations are explicitly for the skill's core function, and instructions like 'Keep: Configs (API keys, models)' refer to preserving relevant information *within* the chat history, not accessing system-level configurations.
Capability Assessment
Purpose & Capability
Name/description (refine chat history and produce MEMORY.md) matches the SKILL.md workflow and tools (sessions_history, memory_search/get, write/edit). However the included principles explicitly instruct the agent to 'Keep: Configs (API keys, models)', which is not something a typical 'chat refiner' legitimately needs to persist and is unexpected for a history-summary tool.
Instruction Scope
The SKILL.md tells the agent to read sessions_history, memory/*.md and chat transcripts and then write persistent summary files (memory/YYYY-MM-DD-summary.md or MEMORY.md). That is coherent for summarization, but the instructions also direct keeping and persisting sensitive items (API keys, model configs). There is no guidance to redact or protect secrets, and the skill gives the agent broad discretion to delete or retain items, which could lead to inadvertent persistence of secrets or sensitive context.
Install Mechanism
Instruction-only skill with no install spec, no binaries, and no code files — minimal installation risk.
Credentials
The skill declares no required environment variables or credentials, but the principles explicitly tell the agent to keep 'Configs (API keys, models)'. That is a mismatch: the skill does not request special access but its instructions encourage collecting and persisting secrets that are unrelated to the stated benign purpose and that should not normally be stored in memory files.
Persistence & Privilege
The skill is not always-enabled and does not request system-wide persistence or modification of other skills. It writes summaries to memory files (expected behavior), but combined with the instruction to retain secrets this persistent storage becomes sensitive — the privilege level itself (not always) is reasonable.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install chat-refiner - After installation, invoke the skill by name or use
/chat-refiner - Provide required inputs per the skill's parameter spec and get structured output
Version History
v0.1.0
Initial refine skill per Ash rules.
Metadata
Frequently Asked Questions
What is Chat Refiner?
Refine conversation history by deleting useless/redundant/process exchanges. Keep explicit instructions, disciplines, important configs, skills learned (how)... It is an AI Agent Skill for Claude Code / OpenClaw, with 332 downloads so far.
How do I install Chat Refiner?
Run "/install chat-refiner" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Chat Refiner free?
Yes, Chat Refiner is completely free (open-source). You can download, install and use it at no cost.
Which platforms does Chat Refiner support?
Chat Refiner is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Chat Refiner?
It is built and maintained by Ash (@sslisen); the current version is v0.1.0.
More Skills