WorkBuddy Migration Assistant: Complete Migration of WorkBuddy Personal Assets When Switching Computers

Introduction

The WorkBuddy Domestic Edition stores skills, memory, conversations, connectors, and identity settings locally in ~/.workbuddy/. When switching computers, copying only one or two of these directories often leads to issues such as unavailable artifact paths despite opening conversations, the need to re-authorize MCP, or write failures due to SQLite being occupied by the client.

Manual packaging easily leads to missing scattered assets like DB tables, artifact-index, and automation backups. The community Skill “WorkBuddy Migration Assistant” is introduced below: it uses export/import scripts and a two-package separation structure to organize the moving process into a reproducible, six-step main workflow.

What is this

WorkBuddy Migration Assistant is a community Skill on SkillHub, located at @user_73de2035/workbuddy-migration-assistant. The current version is 2.0.0, categorized under it-ops-security, published by user_73de2035, and requires_api_key=false.

It targets cross-machine scenarios for the WorkBuddy Domestic Edition (officially adapted for client version 5.7.6): exporting all personal assets on the old machine, transferring them to the new machine for merged import, and performing path mapping and post-import verification. The SkillHub page summary describes it as: one-click export/import of skills, memory, conversations, configurations, connector credentials, and session artifact indexes; two-package separated transfer, automatic path mapping, automatic post-import verification, completing the move in six main steps.

Official Entry Points:

  • API: https://api.skillhub.cn/user_73de2035/workbuddy-migration-assistant
  • Display Page: https://www.skillhub.cn/skills/user_73de2035/workbuddy-migration-assistant

Core Features

The following capabilities are derived from the Skill’s SKILL.md and SkillHub search summaries. The Agent can load the commands and troubleshooting documents under references/ as needed.

Asset Coverage

The migration targets personal data under ~/.workbuddy/, including but not limited to:

  • Skills & Memory: skills/, memory/, MEMORY.md
  • Conversations & Automation: projects/ (history conversations), sessions/automations in DB, etc.; automation-backups/
  • Connectors & MCP: settings.json, mcp.json, connectors/, .credentials.json (OAuth credentials, can be excluded with --no-credentials)
  • Identity & Personalization: IDENTITY.md, SOUL.md, USER.md, and the personalization.* subtree in app/app-config.json
  • Others: Experts and plugins, artifact-index, Industry Buddy snapshots, workspace trust decisions, etc.

Platform-related binaries, logs, device binding identifiers, authentication tokens, etc., are explicitly not migrated (see the “Absolutely Do Not Migrate” list within the Skill).

Two-Package Separation

Package Typical Filename Content Mandatory?
Main Package wb-migration-{timestamp}.zip DB, skills, config, identity, memory, connectors, conversation metadata, etc. Yes
Artifact Package wb-migration-{timestamp}-workspaces.zip Files under conversation working directories (code, reports, downloads, etc.); corresponds to ~/WorkBuddy/, requires --with-workspaces or full type profile No

The main package is small in size, easy to transfer via cloud storage or instant messaging; the artifact package can be supplemented later, and its loss does not affect the main package import (conversations may be reviewable but without local files).

Import Strategy & Cross-Platform

  • Default Merge, No Overwrite: Existing content on the target machine is preserved; only missing items are added. Use --overwrite if overwriting is required.
  • Path Mapping: For cross-platform migration, --auto-map is recommended, or use --profile auto for zero-configuration mapping (including URL-encoded path rewriting for artifact-index); when restoring from a backup package on the same machine, the document suggests using --auto-map to avoid credential path issues.
  • Conflict & Verification: --dry-run can be used before import to preview the merge plan; a verify report is output after the formal import (e.g., “All N/N items in place”).
  • Profiles: --profile lite (quick machine switch), full (includes conversation working directory files), backup (local backup); --profile auto is commonly used for new machine imports.

Agent Dispatch

The Skill does not prompt the user itself; the host Agent enters export (Flow A), import (Flow B), or package inspection (Flow C) based on intent. Common trigger words include: WorkBuddy migration, asset migration, switch computer, migration assistant, moving tool, data migration.

Installation & Activation

Install SkillHub CLI

If the CLI is not installed, check the version first:

command -v skillhub && skillhub --version

If not installed, perform the full installation according to the SkillHub official installation documentation (excerpt):

curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash

Documentation address: https://skillhub.cn/install/skillhub.md (also accessible via https://www.skillhub.cn/install/skillhub.md).

Install this Skill

The SkillHub page prompt: According to the installation documentation above, install @user_73de2035/workbuddy-migration-assistant.

In the WorkBuddy environment, the skill should be placed in WorkBuddy’s skills directory (installation documentation lists workbuddy: ~/.workbuddy/skills/). Example:

skillhub install workbuddy-migration-assistant --namespace user_73de2035 --dir ~/.workbuddy/skills/

If you are using Cursor or another Agent and only want to install the Skill into that Agent’s directory, change --dir to the skills path corresponding to the current environment (e.g., Cursor is ~/.cursor/skills/), and restart or refresh the Agent to recognize the new Skill. The business scripts of this Skill target the ~/.workbuddy/ data directory; for the actual move, it is still recommended to call scripts/export.py / scripts/import.py within the Skill via the Agent on a machine where the WorkBuddy client is installed.

After installation, simply explain the requirement to the Agent (e.g., “WorkBuddy switching computers, help me export according to the migration assistant”). No extra API Key is needed.

Typical Usage: The Six-Step Mainline

Execute the following commands in the Skill installation directory (path depends on your local --dir installation result). Use the managed Python bundled with WorkBuddy for python; System Python 3.8+ also works.

Step 1 · Select Scenario: Use --profile lite for switching machines; use full if conversation working directory files are needed; use backup for local backup only.

Step 2 · Export on Old Machine:

python scripts/export.py --source auto --output ~/Desktop/wb.zip --profile lite

Expected output shows the Profile and various assets copied, along with the main package path; error lines start with stable error codes like [E-xxx], which can be referenced in references/faq.md.

Step 3 · Transfer Packages: Copy wb.zip to the new machine. If using full, also transfer wb-workspaces.zip; the loss of the artifact package does not affect the main package import.

Step 4 · Pre-check on New Machine:

python scripts/import.py --package ~/Desktop/wb.zip --profile auto --dry-run

Review the would-merge plan and conflict preview; confirm before writing.

Step 5 · Formal Import on New Machine:

python scripts/import.py --package ~/Desktop/wb.zip --profile auto

Exit the WorkBuddy client before import; if the sandbox strip_write blocks writing, close the sandbox as instructed in the Skill and re-run (idempotent and resumable). On success, you should see merge results and asset verification, with a prompt to restart WorkBuddy.

Step 6 · Restart & Verify: Fully exit and reopen WorkBuddy, confirm that verify shows everything in place, and old conversations and skills are usable.

For more detailed output samples and JSON field descriptions, see references/walkthrough.md within the Skill.

Applicable Scenarios & Notes

Suitable for: Switching computers with WorkBuddy Domestic Edition (cross-migration between Windows / macOS / Linux), local backup and recovery, multi-machine synchronization under controlled premises.

Not suitable for: Migration between Domestic (China) and Overseas versions on the same machine (the Skill explicitly states to use other skills like “WorkBuddy Asset Migration”).

Operation Notes (from Skill key constraints):

  1. Quit the client before import to avoid SQLite write lock failures.
  2. Confirm the sandbox won’t strip write permissions from core configurations before import; if intercepted, close the sandbox and re-run.
  3. Do not overwrite existing assets on the target machine by default; cross-machine OAuth credentials often fail, so --no-credentials is recommended, and re-authorize via the connector panel on the new machine.
  4. Restart the client after import for settings, models, etc., to take effect.
  5. Domestic (China) ↔ Overseas version migration on the same machine, device IDs, log caches, etc., are not in the migration scope; do not expect this Skill to handle them.

SkillHub Statistics (based on script scraping): Rating 100000, Downloads 29756.

Conclusion

WorkBuddy Migration Assistant organizes the scattered directories during a machine switch into a fixed process: “Export Two Packages → Transfer → Dry-run → Merge Import → Verify → Restart,” handling path mapping and conflict preview. If you are switching the machine running WorkBuddy, you can install this Skill on SkillHub and let the Agent drive the scripts through the six-step mainline to complete the move.

Official Address: https://api.skillhub.cn/user_73de2035/workbuddy-migration-assistant
SkillHub Page: https://www.skillhub.cn/skills/user_73de2035/workbuddy-migration-assistant

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye