← 返回
未分类 中文

machine-config-migrator

Migrate workstation configuration from an old machine to a new one with selectable components and plugin-aware transfer. Use when users ask to backup, move,...
将工作站配置从旧机器迁移到新机器,支持选择组件和插件感知传输,适用于用户请求备份、迁移等场景。
aznikline
未分类 clawhub v1.0.0 1 版本 99583.3 Key: 无需
★ 0
Stars
📥 239
下载
💾 0
安装
1
版本
#latest

概述

Machine Config Migrator

Perform repeatable, low-risk migration of editor/shell/productivity configuration between machines.

Workflow

  1. Confirm source and target OS details and whether cross-platform migration is expected.
  2. Choose components to include from: tmux, vim, emacs, zsh, alfred, git, ssh.
  3. Run scripts/collect_config_bundle.py on the old machine to create one tarball bundle.
  4. Transfer the bundle to the new machine.
  5. Run scripts/apply_config_bundle.py on the new machine with selected components.
  6. Use plugin mode:
    • suggest to print plugin install commands.
    • run to execute known plugin installers automatically.
  7. Validate startup for each selected tool (tmux, vim/nvim, emacs, zsh, Alfred).

Commands

Collect from old machine:

python3 scripts/collect_config_bundle.py \
  --bundle ~/machine-config-bundle.tar.gz \
  --components tmux,vim,emacs,zsh,alfred

Apply on new machine:

python3 scripts/apply_config_bundle.py \
  --bundle ~/machine-config-bundle.tar.gz \
  --components tmux,vim,zsh,alfred \
  --plugin-mode suggest

Apply with plugin installers:

python3 scripts/apply_config_bundle.py \
  --bundle ~/machine-config-bundle.tar.gz \
  --components tmux,vim,emacs,zsh \
  --plugin-mode run

Dry run before writing files:

python3 scripts/apply_config_bundle.py \
  --bundle ~/machine-config-bundle.tar.gz \
  --components tmux,vim,zsh \
  --dry-run

Safety Rules

  • Run with --dry-run first when target machine already has custom configs.
  • Do not migrate private keys by default; ssh component includes only safe defaults (config, known_hosts).
  • Keep backup path from apply output. Existing files are copied before overwrite.
  • Prefer component-by-component rollout instead of all-at-once on first migration.

Plugin Handling

  • Trust plugin inventory generated during collection for migration context.
  • Use references/plugin-sources.md when users ask to discover additional plugins.
  • If plugin manager is missing on target machine, install manager first, then rerun with --plugin-mode run.

Resources

  • scripts/collect_config_bundle.py: Build a portable config bundle and plugin inventory.
  • scripts/apply_config_bundle.py: Restore selected components with backup and optional plugin install.
  • references/plugin-sources.md: Curated official plugin catalogs and popular plugin picks.

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-12 05:50 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

developer-tools

project-deep-analyzer

aznikline
深度分析项目的系统边界、核心概念、模块架构、关键算法、技术选型以及错误排查。当用户需要深入理解代码库或定位疑难问题时调用。
★ 0 📥 621

宽数题库

aznikline
宽数题库项目入口,涵盖四套量化题库来源、仓库结构、常用命令与当前公网部署信息。
★ 0 📥 393

Voight-Kampff Test

aznikline
Voight‑Kampff 共情测试 — 区分人类与复制人的权威工具。使用场景:用户请求“测试我”“测测我是不是机器人”“灵魂测试”;对话中出现疑似 AI行为模式;Agent 自我评估(“我是不是真正的意识”);需要进行同理心/情绪反应评估
★ 0 📥 394