Conversation Archiver
Standardized workflow for archiving completed conversations and projects.
Requirements
- - File system access (workspace directory)
- Optional: OpenClaw Discord channel for posting summaries
When to Use
- - Project reaches completion
- A conversation thread is resolved
- User says "archive this" or "we're done with X"
- Periodic cleanup of old project channels
Workflow
- 1. Write summary file:
- Path:
archive/conversations/YYYY-MM-DD_topic-slug.md
- Format:
CODEBLOCK0
- 2. Post to Discord (optional): Send summary to a designated archive channel
- Keep Discord post concise -- summary + outcomes only
- Link to the full file if details are long
- 3. Update daily memory: Add a line to today's memory file noting the archival
- 4. Update tasks: If the conversation relates to a tracked task, mark it complete
Naming Convention
File slug: lowercase, hyphens, no special chars. Examples:
- - INLINECODE1
- INLINECODE2
- INLINECODE3
Configuration
Set these in your workspace to customize:
- - Archive directory: Default
archive/conversations/ relative to workspace - Discord channel: Set a channel ID for posting summaries (optional)
- Memory file pattern: Default INLINECODE5
对话归档器
用于归档已完成对话和项目的标准化工作流程。
前提条件
- - 文件系统访问权限(工作区目录)
- 可选:用于发布摘要的OpenClaw Discord频道
使用时机
- - 项目完成时
- 对话线程已解决时
- 用户说归档此内容或X已完成时
- 定期清理旧项目频道时
工作流程
- 1. 编写摘要文件:
- 路径:archive/conversations/YYYY-MM-DD_主题-缩写.md
- 格式:
markdown
# [主题名称]
日期: YYYY-MM-DD
持续时间: [项目/对话持续时长]
状态: 已完成
## 摘要
[2-3段内容总结]
## 关键决策
- [决策1]
- [决策2]
## 成果
- [已构建/更改/解决的问题]
## 待办事项
- [未解决事项,或无]
- 2. 发布至Discord(可选):将摘要发送至指定归档频道
- 保持Discord帖子简洁——仅包含摘要和成果
- 若详情较长,附上完整文件链接
- 3. 更新每日记忆:在当日记忆文件中添加一行归档记录
- 4. 更新任务:若对话涉及已追踪任务,将其标记为完成
命名规范
文件缩写:小写字母、连字符、无特殊字符。示例:
- - 2026-02-24discord服务器清理.md
- 2026-02-20多用户代理部署.md
- 2026-02-15_连接器设置.md
配置
在工作区中设置以下内容进行自定义:
- - 归档目录:默认为工作区下的archive/conversations/
- Discord频道:设置用于发布摘要的频道ID(可选)
- 记忆文件模式:默认为memory/YYYY-MM-DD.md