返回顶部
e

easyclaw-brain-migrationEasyClaw脑迁移

Migrate EasyClaw workspace-level behavior into a new OpenClaw workspace by locating and comparing old EasyClaw brain files such as AGENTS.md, SOUL.md, MEMORY.md, HEARTBEAT.md, memory/, launchd/context-management docs, then staging or importing them with backups. Use when a user wants to copy EasyClaw principles, memories, heartbeat logic, context-management setup, or other non-JSON core system behavior into the current OpenClaw workspace.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 0.1.0
安全检测
已通过
214
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

easyclaw-brain-migration

EasyClaw 大脑迁移

使用此技能处理定义助手操作风格和连续性的文件,而不仅仅是运行时配置。

需检查的源位置

主要旧工作区:

  • - ~/.easyclaw/workspace/

重要源文件:

  • - AGENTS.md
  • SOUL.md
  • CORE-PRINCIPLE.md
  • MEMORY.md
  • USER.md
  • HEARTBEAT.md
  • memory/
  • docs/context-management.md
  • scripts/load_context.sh
  • ~/Library/LaunchAgents/com.easyclaw.*.plist 下的 launchd 文件

目标工作区:

  • - 当前 OpenClaw 工作区根目录

迁移策略

直接复制

以下文件在目标工作区缺失时通常可直接复制:

  • - MEMORY.md
  • memory/ 内容
  • 纯信息性的上下文快照/历史记录

谨慎合并

以下文件在替换活动文件前应进行审查或暂存:

  • - AGENTS.md
  • SOUL.md
  • HEARTBEAT.md
  • USER.md

原因:新工作区可能已包含不应被覆盖的 OpenClaw 原生约定。

重建而非盲目复制

以下为自动化机制,不仅仅是文本:

  • - launchd plist 文件
  • launchd 调用的辅助脚本
  • 旧的上下文管理包装器

将其转换为当前 OpenClaw 机制,例如:

  • - HEARTBEAT.md
  • cron 任务
  • 工作区脚本
  • AGENTS.md / TOOLS.md 中的更新记录

工作流程

1. 生成迁移报告

运行:

bash
python3 scripts/reporteasyclawbrain.py

该命令将报告:

  • - 存在哪些源文件
  • 存在哪些目标文件
  • 哪些文件可直接安全导入
  • 哪些应暂存待审
  • 需要重建的旧自动化机制

2. 安全暂存旧大脑文件

运行:

bash
python3 scripts/stageeasyclawbrain.py

该命令将旧大脑文件复制到当前工作区的 imports/easyclaw/ 目录中,不会覆盖活动文件。

当需要安全可审查的暂存区域时,请先使用暂存功能。

3. 将记忆导入活动工作区

运行:

bash
python3 scripts/stageeasyclawbrain.py --import-memory

该命令将:

  • - 必要时备份当前目标文件
  • 如果 MEMORY.md 缺失则复制
  • 复制不存在的旧 memory/ 文件
  • 不触碰活动的 AGENTS.md、SOUL.md 和 HEARTBEAT.md

4. 手动或通过明确审查合并原则

暂存后,阅读暂存文件并选择性合并:

  • - AGENTS.md 中的稳定操作规则
  • SOUL.md 和 CORE-PRINCIPLE.md 中的角色/原则
  • 仍有意义的节拍任务
  • docs/context-management.md 中的上下文管理记录

除非用户希望恢复旧调度,否则不要自动启用旧调度。

注意事项

  • - 将旧记忆和提示视为敏感工作区数据。
  • 优先采用增量迁移而非破坏性替换。
  • 对于节拍和调度逻辑,展示已有内容并询问是否将其重建为 cron/节拍行为。

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 easyclaw-brain-migration-1776163229 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 easyclaw-brain-migration-1776163229 技能

通过命令行安装

skillhub install easyclaw-brain-migration-1776163229

下载

⬇ 下载 easyclaw-brain-migration v0.1.0(免费)

文件大小: 5.16 KB | 发布时间: 2026-4-15 11:33

v0.1.0 最新 2026-4-15 11:33
Initial release: stage and selectively migrate EasyClaw workspace brain files, memory, and context-management materials into OpenClaw.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部