Foreword¶
DeepSeek Harness (DSH) consolidates model configurations, plugins, MCP servers, Skills, workspaces, and other components into a single environment. When switching computers, reinstalling systems, or maintaining consistency across multiple machines, manually reinstalling and reconfiguring each item is time-consuming and prone to missing paths, keys, or global instructions (such as AGENTS.md).
A common approach is to handwrite scripts to copy the ~/.dsh directory or to export each submodule’s configuration separately. This method often lacks integrity checks, conflict resolution, and key isolation. If the process fails midway, it can also mess up the current environment.
Below is an introduction to dsh-config-manager (maintained by xiajiajun516). It is an admin-security plugin within the DSH ecosystem, installable via the SkillHub community directory. The GitHub repository currently has about 14 stars and is licensed under MIT. This plugin consolidates export, import, migration, scheduled backups, and remote synchronization into a single workflow, and by default, it does not export sensitive information such as API keys.
What Is This¶
DSH Config Manager is a configuration backup and migration plugin for DSH. After installation, a “Backup & Migration” entry will appear in the DSH settings page, allowing you to pack settings, model providers, plugins and their configurations, MCP servers, Skills, Agent presets, workspaces, and global instructions into a single ZIP file. You can then restore everything on a new machine with one click.
The plugin provides both a CLI (dsh-config-manager) and a graphical interface. The interface language follows the DSH application language (Chinese/English).
Core Features¶
Export and Import¶
Two export modes are supported:
| Mode | Description |
|---|---|
| Quick Export (Recommended) | One-click packaging of settings, UI, models, plugins, MCP, Skills, Agent presets, AGENTS.md, workspaces, etc. |
| Custom Export | Select the content to export by category |
The export process is: Read configuration → Strip keys → Generate manifest → Calculate checksum → Package as ZIP. The output filename is like dsh-config-2026-08-14.zip, and the export report confirms that no keys are included in the package.
Before import, the file’s integrity, schema, and compatibility are verified, and an import preview is generated without silently modifying existing configurations. Before applying, the current environment is automatically backed up. If the process fails midway, it will automatically roll back.
Conflict and Path Handling¶
During the import preview phase, you can view changes item by item. If conflicts exist, you can choose to “Keep Current” or “Use Imported.” The plugin detects invalid absolute paths and supports batch prefix mapping, facilitating cross-machine migration.
For non-encrypted imports, stripped API keys and other keys must be manually re-entered after import as prompted. Encrypted backups allow key recovery with a password.
Snapshots and Rollback¶
A snapshot is automatically created before each import. If the import fails, it is automatically restored. You can also manually perform a snapshot restore later, including uninstalling plugins added during this import (supported in both CLI and GUI).
Scheduled Backups¶
You can enable scheduled full backups with intervals of 6h, 12h, 24h, 7d, or custom weekly day and time. Scheduled backups also exclude keys by default and can be safely stored on local disks. When consecutive failures occur, the settings card will be highlighted in red to alert you.
Remote Sync¶
You can push/pull portable configurations via a private Git repository or WebDAV. Keys are not included in the sync.
Configuration Marketplace¶
A built-in official configuration marketplace allows you to browse community-shared configurations for model providers, plugins, MCP, Skills, Agent presets, and more. A dry-run preview is provided before installation, displaying supply chain warnings, and each section must be explicitly confirmed before writing.
Profiles¶
You can save multiple configuration schemes (e.g., Work/Personal), preview them when switching, and they come with automatic backup and rollback.
Agent Tools¶
In an agent session, you can directly invoke tools for backup, snapshots, restoration, synchronization, and more.
Installation and Enabling¶
This is a standard DSH plugin, and installation involves two steps:
# Install the plugin
dsh plugin --profile web add dsh-config-manager@latest
@latest resolves to the latest version on npm. If a older version is installed due to pnpm 11’s minimumReleaseAge policy, you can specify an exact version for a one-time install (e.g., dsh-config-manager@0.1.8) or add minimumReleaseAge: 0 at the top of the profile’s pnpm-workspace.yaml.
After installation, restart DSH, and the “Backup & Migration” entry will appear in the settings page.
The plugin requires Node ^22.19.0 || >=24.0.0, and the current release version is v0.1.54.
Typical Usage¶
Single-Machine Backup¶
- Open DSH → Settings → “Backup & Migration”
- Click “Export Configuration” and select “Quick Export”
- Obtain
dsh-config-YYYY-MM-DD.zipand check the report to confirm no keys were exported
Cross-Machine Migration¶
After exporting on the source machine (Machine A), copy the ZIP file to the target machine (Machine B):
- Open DSH → “Backup & Migration” → “Import Configuration”
- Select the ZIP file, wait for analysis, and review the “Import Preview”
- If there are path issues, select new paths (batch mapping is supported)
- If there are conflicts, choose “Keep Current” or “Use Imported”
- Confirm the import and wait for completion
- Re-enter any missing API keys as prompted
- Settings, plugins, MCP, Skills, workspaces, AGENTS.md, etc., will be restored
Remote Sync¶
Configure a private Git repository or WebDAV endpoint in “Backup & Migration,” and perform push/pull as needed to keep configurations consistent across multiple machines.
Use Cases and Notes¶
Who is this for:
- Those who need to migrate DSH environments between Windows, macOS, and Linux
- Those who prefer automatic, regular backups of the complete configuration instead of manually copying directories
- Those with multiple development machines who want to sync portable configurations via Git or WebDAV
- Those who want to quickly install pre-reviewed community configurations from the configuration marketplace
Security Notes:
- By default, API keys, tokens, passwords, and other keys are not exported; this is by design, not an oversight
- Encrypted backups offer optional credential protection; non-encrypted imports require manual key entry
- Installing from the configuration marketplace displays supply chain warnings and requires explicit confirmation for each section
- The plugin runs with the current DSH process permissions; before installation, review the source code and MIT license to ensure it meets your security requirements
Links¶
- SkillHub directory page: xiajiajun516/dsh-config-manager
- GitHub repository: xiajiajun516/dsh-config-manager
The DSH ecosystem follows the “everything is a plugin” philosophy. SkillHub is a community-maintained plugin directory and is not officially affiliated with DeepSeek/High-Flyer. dsh-config-manager consolidates backup, migration, synchronization, and the configuration marketplace in one place, making it suitable for users who need to completely migrate or regularly preserve their DSH work environment.