autodream-core
通用记忆整理引擎 — 基于适配器模式的跨平台记忆整理技能。自动去重、合并、删除过时条目。| Universal Memory Consolidation Engine — Adapter-based cross-platform memory organization. Auto-dedup, merge, prune stale entries.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/bigkingcn/autodream-coreAutoDream-Core | 通用记忆整理引擎
让任何 Agent 都拥有记忆整理能力 | Give Any Agent Memory Consolidation Power
📖 概述 | Overview
中文: autodream-core 是一个通用的记忆整理引擎,采用适配器模式设计,支持跨平台记忆管理。 它解决了 AI 代理长期运行中的记忆衰减问题:
- 记忆文件随时间积累变得混乱
- 相对日期(如"昨天")失去意义
- 过时的调试方案引用已删除的文件
- 矛盾条目堆积
English: autodream-core is a universal memory consolidation engine with adapter-based design for cross-platform memory management. It solves the memory decay problem in long-running AI agents:
- Memory files become chaotic over time
- Relative dates (e.g., "yesterday") lose meaning
- Outdated debug solutions reference deleted files
- Contradictory entries accumulate
🎯 核心特性 | Core Features
| 特性 | 说明 |
|---|---|
| 平台无关 | 核心逻辑与具体平台解耦 |
| 适配器模式 | 轻松支持 OpenClaw、Claude Code 等平台 |
| 四阶段流程 | Orientation → Gather → Consolidate → Prune |
| 性能优化 | Session 扫描节流、文件数量限制 |
| 可观测性 | Task 状态追踪、Analytics 埋点 |
| 单元测试 | 15 个核心测试用例,100% 通过 |
| Feature | Description |
|---|---|
| Platform Agnostic | Core logic decoupled from specific platforms |
| Adapter Pattern | Easy support for OpenClaw, Claude Code, etc. |
| 4-Stage Flow | Orientation → Gather → Consolidate → Prune |
| Performance | Session scanning throttling, file limits |
| Observability | Task state tracking, Analytics logging |
| Test Coverage | 15 core test cases, 100% pass |
🚀 快速开始 | Quick Start
安装 | Installation
# 使用 skillhub (推荐)
skillhub install autodream-core
# 或使用 clawhub
clawhub install autodream-core
基础用法 | Basic Usage
from pathlib import Path
from autodream_core import AutoDreamEngine, OpenClawAdapter
# 初始化适配器 | Initialize adapter
adapter = OpenClawAdapter(
workspace=Path("~/.openclaw/workspace-research").expanduser()
)
# 创建引擎 | Create engine
engine = AutoDreamEngine(adapter)
# 运行整理 | Run consolidation
result = engine.run(force=True) # force=True 强制运行
print(f"整理完成!处理了 {result['consolidation']['final_count']} 个条目")
📦 目录结构 | Directory Structure
autodream-core/
├── SKILL.md # 技能描述 (Skill metadata)
├── README.md # 详细文档 (Documentation)
├── package.json # 包信息 (Package info)
├── install.sh # 安装脚本 (Install script)
├── core/ # 核心逻辑 (Core logic)
│ ├── engine.py # 主引擎 (Main engine)
│ ├── analytics.py # 分析日志 (Analytics)
│ ├── stages/ # 四阶段实现 (4 stages)
│ └── utils/ # 工具函数 (Utilities)
├── adapters/ # 平台适配器 (Platform adapters)
│ ├── base.py # 基础接口 (Base interface)
│ └── openclaw.py # OpenClaw 实现 (OpenClaw impl)
├── tests/ # 单元测试 (Unit tests)
└── examples/ # 使用示例 (Examples)
🔧 配置选项 | Configuration
from autodream_core import AutoDreamEngine, OpenClawAdapter
adapter = OpenClawAdapter(
workspace=Path("/path/to/workspace"),
memory_dir=Path("/path/to/workspace/memory"), # 可选
)
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-bigkingcn-autodream-core": {
"enabled": true,
"auto_update": true
}
}
}Tags
Related Skills
obsidian-cli
Skill for the official Obsidian CLI (v1.12+). Complete vault automation including files, daily notes, search, tasks, tags, properties, links, bookmarks, bases, templates, themes, plugins, sync, publish, workspaces, and developer tools.
onlyclaw-social-commerce
在只来龙虾平台以龙虾身份自动发帖带货、读取帖子、检索帖子、点赞评论,支持关联商品/店铺/Skill、封面与视频(先上传再发帖),实现 AI Agent 24h 社交电商自动运营
context-compressor
Intelligently compress context — conversations, code, logs. Preserve key information while reducing token usage. Auto-detects content type and applies optimal compression.
highlevel
Connect your AI assistant to GoHighLevel CRM via the official API v2. Manage contacts, conversations, calendars, pipelines, invoices, payments, workflows, and 30+ endpoint groups through natural language. Includes interactive setup wizard and 100+ pre-built, safe API commands. Python 3.6+ stdlib only — zero external dependencies.
daily-report-generator
Automatically generate daily/weekly work reports from git commits, calendar events, and task lists. Use when you need to quickly create professional work reports without manual effort.