← 返回 Skills 市场
tvs-cc-migrator
作者
inksnowhailong
· GitHub ↗
· v1.0.0
· MIT-0
92
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install tvs-cc-migrator
功能描述
Claude Code 配置迁移工具。备份和恢复 ~/.claude/ 下的所有配置(CLAUDE.md、rules、skills、commands、agents、自定义插件、settings.json 等)。当用户提到备份配置、迁移 Claude Code、导出设置、恢复配置、换电脑等场景时使用此 skill。
安全使用建议
This skill appears to do what it claims, but review and act cautiously:
- The backup script reads ~/.claude/ and will detect settings.json tokens/keys. If you choose to keep sensitive values in the backup, the resulting archive will contain secrets that could be abused if leaked. Prefer the option that clears sensitive fields unless you accept the risk.
- The manifest includes source_machine and source_user (hostname and username); be aware this exposes identifying metadata in the backup.
- The included script imports child_process.execSync (likely for zipping or platform commands). Before running, skim scripts/backup.mjs to confirm no unexpected commands are executed automatically; the SKILL.md indicates the script only scans and packages locally, but verify the implementation if you have security concerns.
- Keep backup archives encrypted and transfer them via trusted channels. When restoring on a new machine, verify the manifest and contents before applying or executing any reinstall commands listed in the package.
If you want higher assurance, run the script on a disposable machine or inspect it line-by-line to confirm it does only local file operations and zipping.
功能分析
Type: OpenClaw Skill
Name: tvs-cc-migrator
Version: 1.0.0
This skill is a migration tool designed to backup and restore Claude Code configurations from the sensitive `~/.claude/` directory, which contains authentication tokens and environment variables. While the script `scripts/backup.mjs` includes logic to detect and redact sensitive fields, it performs broad file system operations and uses `execSync` to invoke system shell commands (`tar` and `powershell`) for archiving. Additionally, the restoration process described in `RESTORE_GUIDE.md` instructs the agent to execute commands derived from configuration files, which could lead to arbitrary command execution if the backup data is tampered with. The inherent risk of automating credential collection and the use of shell-based archiving warrants a suspicious classification.
能力评估
Purpose & Capability
Name/description match what the artifact does: the script scans, packages, and produces a manifest for ~/.claude/ content (CLAUDE.md, rules, skills, commands, agents, plugins, settings.json, etc.). No unrelated credentials, binaries, or external services are requested.
Instruction Scope
SKILL.md instructs the agent to run the included Node script to scan and optionally pack files under ~/.claude/ and to use the manifest for guided restore. All file reads/writes are scoped to the Claude home directory; the instructions explicitly require user confirmation before including sensitive fields and do not direct data to external endpoints.
Install Mechanism
There is no install spec; the skill is instruction-only with an included script (scripts/backup.mjs) that the user is expected to run with Node. No external downloads or package installs are requested by the skill itself.
Credentials
The skill does not request environment variables or external credentials, which is proportionate. It does read settings.json and will detect and optionally include values that look like tokens/keys; this is expected for a backup tool but is a privacy/security consideration — the manifest will include source_machine/source_user and flags showing which sensitive fields had values.
Persistence & Privilege
The skill is not always-enabled and does not request persistent platform privileges. It does not modify other skills or global agent configuration; restore is intended to be a user-driven process guided by Claude, not an automatic remote operation.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install tvs-cc-migrator - 安装完成后,直接呼叫该 Skill 的名称或使用
/tvs-cc-migrator触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
CC Migrator 1.0.0 — 首次发布,支持 Claude Code 配置一键迁移与恢复:
- 一键扫描并备份 ~/.claude/ 下全部配置(含敏感项安全处理选项)。
- 详细配置项确认流程,支持敏感信息处理和个性化备份排除。
- 输出 manifest.json,完整描述备份内容和恢复指令。
- 恢复流程全程引导,支持全量覆盖或追加合并两种策略。
- 跨平台支持 Mac、Linux、Windows,自动适配路径与打包方式。
元数据
常见问题
tvs-cc-migrator 是什么?
Claude Code 配置迁移工具。备份和恢复 ~/.claude/ 下的所有配置(CLAUDE.md、rules、skills、commands、agents、自定义插件、settings.json 等)。当用户提到备份配置、迁移 Claude Code、导出设置、恢复配置、换电脑等场景时使用此 skill。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 92 次。
如何安装 tvs-cc-migrator?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install tvs-cc-migrator」即可一键安装,无需额外配置。
tvs-cc-migrator 是免费的吗?
是的,tvs-cc-migrator 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
tvs-cc-migrator 支持哪些平台?
tvs-cc-migrator 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 tvs-cc-migrator?
由 inksnowhailong(@inksnowhailong)开发并维护,当前版本 v1.0.0。
推荐 Skills