← 返回
未分类 中文

Conversation Memory Sync

Automatically syncs and maintains detailed conversation logs and activity digests across agent sessions for persistent memory and context recall.
自动跨代理会话同步维护详细对话记录和活动摘要,实现持久记忆和上下文召回。
harvnk harvnk 来源
未分类 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 642
下载
💾 0
安装
1
版本
#latest

概述

Conversation Memory Sync

Never forget a conversation again. Auto-generates CONVERSATION_LOG.md and ACTIVITY_DIGEST.md from all agent session transcripts.

Use when: you want persistent conversation memory across agent sessions, or when agents keep forgetting past decisions and promises.

What it does

Solves the #1 problem with AI agents: they forget everything between sessions.

This skill includes two Python scripts that run via cron:

  1. sync_conversation_logs.py — Extracts the last 300 messages from every agent session and writes them to CONVERSATION_LOG.md in each agent's workspace. Full messages with timestamps.
  1. sync_activity_digest.py — Creates a compact 1-line-per-action summary in ACTIVITY_DIGEST.md. Ultra-lightweight (~10-20KB per agent).

Setup

  1. Copy the scripts to your workspace
  2. Add a cron job: /30 * python3 /path/to/sync_conversation_logs.py && python3 /path/to/sync_activity_digest.py
  3. Add to each agent's SOUL.md or AGENTS.md:

```

At EVERY session start, read CONVERSATION_LOG.md and ACTIVITY_DIGEST.md before doing anything else.

```

What gets captured

  • All user ↔ agent messages (Telegram, Discord, etc.)
  • Cron job outputs and results
  • Decisions, promises, task assignments
  • Timestamps for everything

What gets filtered

  • Heartbeat noise (HEARTBEAT_OK)
  • Empty messages
  • System metadata

File sizes

  • CONVERSATION_LOG.md: ~15-20KB per agent (300 messages)
  • ACTIVITY_DIGEST.md: ~5-20KB per agent (150 entries, 1 line each)
  • Total for 12 agents: ~110KB — zero performance impact

Requirements

  • Python 3.8+
  • OpenClaw with session transcripts (default location: ~/.openclaw/agents//sessions/.jsonl)

Tags

memory, persistence, conversation, logging, multi-agent, session, context, recall

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-02 07:32 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

content-creation

Take The Wheel

harvnk
通过逐个提问引导你逐步完成脚本、计划、简报或策略的制定。
★ 1 📥 757
ai-agent

Self-Improving + Proactive Agent

ivangdavila
自我反思+自我批评+自我学习+自组织记忆。智能体评估自身工作、发现错误并持续改进。
★ 1,396 📥 322,714
ai-agent

self-improving agent

pskoett
捕获经验教训、错误及修正内容,以实现持续改进。适用于以下场景:(1)命令或操作意外失败;(2)用户纠正Claude(如“不,那不对……”“实际上……”);(3)用户请求的功能不存在;(4)外部API或工具出现故障;(5)Claude发现自身
★ 4,099 📥 827,844