← 返回 Skills 市场
sjingh

EasyClaw Brain Migration

作者 sjinopenclaw · GitHub ↗ · v0.1.0 · MIT-0
cross-platform ✓ 安全检测通过
238
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install easyclaw-brain-migration
功能描述
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...
使用说明 (SKILL.md)

EasyClaw Brain Migration

Use this skill for the files that define the assistant's operating style and continuity, not just runtime config.

Source locations to check

Primary legacy workspace:

  • ~/.easyclaw/workspace/

Important source files:

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

Target workspace:

  • current OpenClaw workspace root

Migration policy

Copy directly

These usually copy well when missing in the target workspace:

  • MEMORY.md
  • memory/ contents
  • context snapshots / historical notes that are purely informational

Merge carefully

These should be reviewed or staged before replacing active files:

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

Why: the new workspace may already contain OpenClaw-native conventions that should not be blown away.

Rebuild, don't blindly copy

These are automation mechanisms, not just text:

  • launchd plists
  • helper scripts invoked by launchd
  • old context-management wrappers

Translate them into current OpenClaw mechanisms such as:

  • HEARTBEAT.md
  • cron jobs
  • workspace scripts
  • updated notes in AGENTS.md / TOOLS.md

Workflow

1. Generate a migration report

Run:

python3 scripts/report_easyclaw_brain.py

This reports:

  • what source files exist
  • what target files exist
  • which files are safe to import directly
  • which should be staged for review
  • legacy automations that need rebuilding

2. Stage legacy brain files safely

Run:

python3 scripts/stage_easyclaw_brain.py

This copies legacy brain files into imports/easyclaw/ inside the current workspace without overwriting active files.

Use staging first when you want a safe reviewable landing zone.

3. Import memory into active workspace

Run:

python3 scripts/stage_easyclaw_brain.py --import-memory

This:

  • backs up current target files if needed
  • copies MEMORY.md if missing
  • copies legacy memory/ files that do not already exist
  • leaves active AGENTS.md, SOUL.md, and HEARTBEAT.md untouched

4. Merge principles manually or with explicit review

After staging, read the staged files and selectively merge:

  • stable operating rules from AGENTS.md
  • persona/principles from SOUL.md and CORE-PRINCIPLE.md
  • heartbeat tasks that still make sense
  • context-management notes from docs/context-management.md

Do not auto-enable old schedules unless the user wants them restored.

Notes

  • Treat old memory and prompts as sensitive workspace data.
  • Prefer additive migration over destructive replacement.
  • For heartbeat and scheduling logic, surface what existed and ask whether to rebuild it as cron/heartbeat behavior.
安全使用建议
This skill appears to do exactly what it claims: scan ~/.easyclaw/workspace, stage files into ~/.openclaw/workspace/imports/easyclaw, and optionally import MEMORY.md and memory/ into the active workspace. Before running: (1) run python3 scripts/report_easyclaw_brain.py first to see what will be found; (2) inspect the staged files in imports/easyclaw/ before using --import-memory; (3) be aware MEMORY.md and memory/ may contain sensitive secrets—do not import blindly; (4) consider making a full backup of ~/.openclaw/workspace before importing; (5) review the two included scripts if you want assurance there is no hidden behavior (they are short and filesystem-only); and (6) note that launchd plists are only listed, not auto-copied—automation wiring must be rebuilt manually. Proceed if you accept the tool will read and copy files under your home directory.
功能分析
Type: OpenClaw Skill Name: easyclaw-brain-migration Version: 0.1.0 The skill bundle is designed to migrate configuration and memory files from a legacy 'EasyClaw' workspace to a new 'OpenClaw' workspace. The included Python scripts (report_easyclaw_brain.py and stage_easyclaw_brain.py) perform standard file system operations such as checking for file existence, copying files to a staging area, and creating backups, all restricted to the user's home directory (~/.easyclaw and ~/.openclaw). There is no evidence of data exfiltration, remote code execution, or malicious prompt injection.
能力评估
Purpose & Capability
The skill's name/description match the included scripts and SKILL.md: both search ~/.easyclaw/workspace, stage files into ~/.openclaw/workspace/imports/easyclaw, and optionally import MEMORY.md and memory/ into the active workspace. Nothing requested or included (no network code, no extra credentials) is inconsistent with a migration tool.
Instruction Scope
Instructions explicitly tell the agent to run the two included Python scripts which enumerate, stage, and (optionally) import files. This requires reading many user-home files (AGENTS.md, SOUL.md, MEMORY.md, memory/, LaunchAgents listings). That is appropriate for migration, but it does mean the skill will read/copy potentially sensitive workspace data—users should review staged files before importing.
Install Mechanism
No install spec is present and this is an instruction+script skill. There is no package download or archive extraction; the code runs locally with the user's Python interpreter. This is a low install risk.
Credentials
The skill requires no environment variables or external credentials. The scripts operate on filesystem paths under the user's home directory only, which is proportionate to the migration task.
Persistence & Privilege
The skill is not marked always:true and does not modify other skills or system-wide agent settings. It performs filesystem operations only within the user's workspace paths and creates backups/staged copies within ~/.openclaw/workspace; autonomous invocation is allowed by default (not a red flag on its own).
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install easyclaw-brain-migration
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /easyclaw-brain-migration 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.0
Initial release: stage and selectively migrate EasyClaw workspace brain files, memory, and context-management materials into OpenClaw.
元数据
Slug easyclaw-brain-migration
版本 0.1.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

EasyClaw Brain Migration 是什么?

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... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 238 次。

如何安装 EasyClaw Brain Migration?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install easyclaw-brain-migration」即可一键安装,无需额外配置。

EasyClaw Brain Migration 是免费的吗?

是的,EasyClaw Brain Migration 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

EasyClaw Brain Migration 支持哪些平台?

EasyClaw Brain Migration 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 EasyClaw Brain Migration?

由 sjinopenclaw(@sjingh)开发并维护,当前版本 v0.1.0。

💬 留言讨论