返回顶部
e

easyclaw-config-migrationEasyClaw配置迁移

Migrate settings from EasyClaw into OpenClaw by locating EasyClaw desktop/runtime config files, comparing them with ~/.openclaw/openclaw.json, and safely generating or applying a selective merge. Use when a user mentions EasyClaw, wants to copy settings/configs from EasyClaw into OpenClaw, asks where EasyClaw stores its config, or needs a migration report or backup-aware merge.

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

easyclaw-config-migration

EasyClaw 配置迁移

在进行更改前,定位三个配置源:

  1. 1. ~/Library/Application Support/@cfmind/easyclaw/easyclaw.json — EasyClaw 桌面端 UI 设置
  2. ~/.openclaw/easyclaw.json — EasyClaw/OpenClaw 桥接配置,包含可复用的运行时设置
  3. ~/.openclaw/openclaw.json — 当前活跃的 OpenClaw 配置

大多数可直接复用的设置位于 ~/.openclaw/easyclaw.json。桌面端的 easyclaw.json 主要是 UI 状态,通常无法直接映射到 OpenClaw。

工作流程

1. 检查并对比

运行:

bash
python3 scripts/reporteasyclawconfig.py

该命令将输出:

  • - 哪些文件存在
  • 脱敏后的摘要信息
  • 可自动迁移的字段
  • 仅限桌面端使用/无对应 OpenClaw 等效项的字段

如果仅需报告,在此处停止并总结发现即可。

2. 审查迁移映射

在决定哪些内容应自动复制、哪些需留待人工审查时,请阅读 references/mapping.md。

默认原则:

  • - 仅复制具有明确语义等效项的字段
  • 不为仅限桌面端的 UX 设置创建映射
  • 除非明确要求迁移,否则保留 ~/.openclaw/openclaw.json 中已有的用户更改

3. 执行选择性合并

运行:

bash
python3 scripts/mergeeasyclawconfig.py --apply

行为:

  • - 创建 ~/.openclaw/openclaw.json 的时间戳备份
  • 仅从 ~/.openclaw/easyclaw.json 合并受支持的字段
  • 输出已更改的路径

在可行时先进行试运行:

bash
python3 scripts/mergeeasyclawconfig.py

4. 验证并总结

应用后,读取 ~/.openclaw/openclaw.json 或根据需要运行常规的 OpenClaw 验证/状态命令。总结:

  • - 已迁移的内容
  • 有意跳过的内容
  • 备份文件的写入位置

注意事项

  • - 将令牌、密钥和认证数据块视为敏感信息。在聊天中对其进行脱敏处理,除非用户明确要求原始值。
  • 如果仅存在桌面端 EasyClaw 文件,请说明其中大部分是应用/窗口偏好状态,而非主要的 OpenClaw 运行时配置。
  • 如果 ~/.openclaw/easyclaw.json 和 ~/.openclaw/openclaw.json 同时存在,优先选择选择性合并而非整体覆盖。
  • 在创建备份之前,切勿覆盖 ~/.openclaw/openclaw.json。

标签

skill ai

通过对话安装

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

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 easyclaw-config-migration-1776163268 技能

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

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

通过命令行安装

skillhub install easyclaw-config-migration-1776163268

下载

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

文件大小: 5.24 KB | 发布时间: 2026-4-15 12:14

v0.1.0 最新 2026-4-15 12:14
Initial release: inspect and selectively migrate EasyClaw runtime config into OpenClaw with backup-aware merge helpers.

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

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

p2p_official_large
返回顶部