返回顶部
a

agent-migration

Safely rename or migrate an OpenClaw agent by updating config and naming, migrating session content, fixing session metadata, restarting, verifying, and asking separately before deleting the old agent.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.1
安全检测
已通过
93
下载量
1
收藏
概述
安装方式
版本历史

agent-migration

# Agent Migration Use this skill when the user wants to rename or migrate an OpenClaw agent safely. ## Scope This skill handles: - agent id rename - workspace rename - config/path updates - prior session content migration - session display metadata updates - restart and verification - separate deletion confirmation for the old agent ## Defaults and boundaries - Confirm old id, new id, new workspace, and whether model also changes. - Migrate prior session content by default unless the user explicitly says not to. - Do not skip migration just because a session does not look active. - Do not hard-edit active lock files or force-rewrite a live session shell. - Restart is required after migration. - Never delete the old agent without a separate user confirmation. ## Files involved - config: `~/.openclaw/openclaw.json` - agent dirs: `~/.openclaw/agents/<id>/...` - workspace: `/home/yln/claw-workspace/<name>` - session metadata such as `sessions.json` ## Use the included files - `references/checklist.md` - `references/cleanup.md` - `scripts/inspect_agent_migration.sh` - `scripts/copy_session_content.sh` - `scripts/verify_agent_migration.sh` ## Recommended commands ```bash bash skills/agent-migration/scripts/inspect_agent_migration.sh <old-id> <new-id> bash skills/agent-migration/scripts/copy_session_content.sh <old-id> <new-id> bash skills/agent-migration/scripts/verify_agent_migration.sh <old-id> <new-id> ``` ## Guardrails - Keep config, workspace, and naming changes consistent. - Update session display-layer metadata as part of the migration. - Verify the new agent before offering deletion of the old one. - Use `references/cleanup.md` only after the user separately confirms deletion.

标签

skill ai

通过对话安装

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

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 agent-migration-1776001502 技能

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

设置 SkillHub 为我的优先技能安装源,然后帮我安装 agent-migration-1776001502 技能

通过命令行安装

skillhub install agent-migration-1776001502

下载 Zip 包

⬇ 下载 agent-migration v1.0.1

文件大小: 5.54 KB | 发布时间: 2026-4-13 09:10

v1.0.1 最新 2026-4-13 09:10
Compressed instructions and validated migration flow with a real rename test.

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

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

p2p_official_large
返回顶部