安全扫描
OpenClaw
安全
high confidence该技能的代码和指令与其声明的目的一致(定位、分阶段和可选导入 EasyClaw 工作空间文件到 OpenClaw 工作空间);它读取和复制用户主目录下的文件,但不执行网络 I/O 或请求无关的凭证。
评估建议
该技能似乎做了它声称的所有事情:扫描 ~/.easyclaw/workspace,分阶段文件到 ~/.openclaw/workspace/imports/easyclaw,并可选导入 MEMORY.md 和 memory/ 到活动工作空间。运行前,请注意几个重要事项,以确保安全和正确的迁移。...详细分析 ▾
✓ 用途与能力
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.
ℹ 指令范围
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.
✓ 安装机制
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.
✓ 凭证需求
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.
✓ 持久化与权限
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).
安全有层次,运行前请审查代码。
运行时依赖
无特殊依赖
版本
latestv0.1.02026/3/11
初始发布:分阶段和选择性迁移 EasyClaw 工作空间大脑文件、内存和上下文管理材料到 OpenClaw。
● 无害
安装命令 点击复制
官方npx clawhub@latest install easyclaw-brain-migration
镜像加速npx clawhub@latest install easyclaw-brain-migration --registry https://cn.clawhub-mirror.com
技能文档
易爪大脑迁移
用此技能迁移定义助手操作风格和连续性的文件,而不仅仅是运行时配置。
源位置检查
主要遗留工作空间:
~/.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
不要盲目复制,重新构建
这些是自动化机制,而不仅仅是文本:- launchd plists - 由 launchd 调用的辅助脚本 - 旧上下文管理包装
HEARTBEAT.md- cron 作业 - 工作空间脚本 -AGENTS.md/TOOLS.md中的更新说明
工作流
1. 生成迁移报告
运行:python3 scripts/report_easyclaw_brain.py
此报告包括:
- 存在的源文件 - 存在的目标文件 - 可直接导入的安全文件 - 应分阶段审查的文件 - 需要重建的遗留自动化
2. 安全分阶段遗留大脑文件
运行:python3 scripts/stage_easyclaw_brain.py
此操作将遗留大脑文件复制到当前工作空间的 imports/easyclaw/ 中,不会覆盖活动文件。若要安全审查,请先使用分阶段。
3. 导入内存到活动工作空间
运行:python3 scripts/stage_easyclaw_brain.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/心跳行为重建。
数据来源:ClawHub ↗ · 中文优化:龙虾技能库
OpenClaw 技能定制 / 插件定制 / 私有工作流定制
免费技能或插件可能存在安全风险,如需更匹配、更安全的方案,建议联系付费定制