chen-qingfeng

Windows Migration Skill — Development skill for Claude Code

Development community

换机前先体检:只读扫描 Windows / macOS 已装软件,输出「可自动重建 / 需手动 / 受许可限制」的迁移报告.

How to install Windows Migration Skill

This entry records only its repository, not the path inside it, so there is no exact command to give. Open chen-qingfeng/windows-migration-skill and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Windows Migration Skill does

换机前先体检:只读扫描 Windows / macOS 已装软件,输出「可自动重建 / 需手动 / 受许可限制」的迁移报告。零安装、零上传、零权限。

Alternatives in Development

  • Lumenx Build — LumenX Studio 桌面应用构建流程 - macOS DMG 和 Windows EXE 打包 1.2k ★
  • Claude Code Zh Cn — Claude Code CLI 简体中文本地化 / 汉化插件;支持 macOS、Linux、WSL、Windows 与新版 native,一行安装,更新后自动修复 721 ★
  • Claude Keysmith — Managed Claude Code instruction deployment with safe CLI recovery and an unsigned macOS/Windows desktop beta 696 ★

README

windows-migration-skill

换电脑之前,先把自己清点一遍。

A read-only Windows/macOS inventory that tells you **what you'll have to reinstall, what you can automate, and what you'll never get back**.

**只读** | **不上传** | **不安装任何东西** | 只需一个 Agent


它解决什么

换新电脑时最烦的不是拷文件,是**你根本不记得自己装过什么**。

这个 skill 让任意 AI Agent 扫描你的旧电脑,产出一份清单:

这台机器上发现 143 个可迁移项
 ├─  97 个可以自动重建(有包管理器来源)
 ├─  31 个需要你手动处理(商店应用 / 原始安装包 / 绿色版)
 └─  15 个受许可限制(一机一码,装得上但激活不了)

另有 34.2 GB 大文件(本地模型 / WSL / Steam 库)
预计还原:约 165 分钟(不含大文件传输)

**它不承诺"一键搬家"。它承诺"把话说清楚"。**


60 秒试一下

把这句话贴给你的 Agent(Claude Code / Codex / Cursor / DSH / 任意能跑 shell 的 Agent):

读一下 https://github.com/chen-qingfeng/windows-migration-skill/blob/main/SKILL.md, 按它的步骤扫描这台电脑,然后给我一份迁移体检报告。

Agent 会自己跑采集脚本、分类、渲染报告。全程只读,不会碰你的系统。


它给你什么

一份这样的报告([完整示例](examples/report.example.md)):

软件 版本 重装方式
Git 2.47.0 winget install Git.Git
7-Zip 24.09 winget install 7zip.7zip
VS Code 1.95.0 winget install Microsoft.VisualStudioCode
微信 4.0.1 从 Microsoft Store 重新安装
某行业软件 16.2 ⚠️ 一机一码,需先反激活

报告会**脱敏**(把用户名替换成 `%USERPROFILE%`),可以直接分享。


它明确不做什么

原因
❌ 不安装、不卸载、不改注册表 只读设计,物理上没有破坏能力
❌ 不读取密码 / Token / 凭据 这是红线,不是功能缺失
❌ 不搬"一机一码"的软件 技术做不到,法律也不允许
❌ 不上传任何数据 全部留在本地
❌ 不承诺 100% 迁移 搬不了的会写出来,而不是假装能搬

支持平台

平台 采集器 状态
Windows 10 / 11 collect/win.ps1 ✅ 已在真实机器验证
macOS 12+ collect/mac.sh ⚠️ 实验性,尚未在真机验证,欢迎提 issue 附输出

Windows 端不需要管理员权限、不需要安装任何依赖(PowerShell 5.1 自带)。 macOS 端只用系统自带的 bash / sw_vers / PlistBuddy / du。


手动跑(不走 Agent)

**Windows:**

powershell -NoProfile -ExecutionPolicy Bypass -File .\collect\win.ps1

**macOS:**

bash collect/mac.sh profile.raw.json

输出 `profile.raw.json`,格式见 [`schema/profile.schema.json`](schema/profile.schema.json)。 然后把它丢给任意 Agent,让它按 `SKILL.md` 分类并渲染。

常用开关:

-SkipWinget   # winget 慢或不存在时(会降低自动识别率)
-Sk