KLRSL/dsh-packer
dsh-packer
dsh-packer is a community DeepSeek Harness plugin. Read the repository README before installing.
Install
npx @deepseek-ai/dsh plugin --profile web add github:KLRSL/dsh-packerRestart `dsh web` after install. Bundle APIs can change during the developer preview.
README badge
[](https://dshhub.dev/plugins/dsh-packer)Paste this into your README. The star count updates with every catalog sync.
From the README
Excerpt from KLRSL/dsh-packer, cleaned of badges and images.
dsh-packer
dsh-packer is a configuration packer plugin for DeepSeek Harness (DSH). It packs your local Agent assets into zip archives, module by module, for two purposes:
- Migration — move your whole setup to a new machine or after a reinstall.
- Sharing — hand your Skills (and other assets) to other people.
Version v0.1.0 · MIT License
Features
Packable modules (all optional)
| Module | Contents | Migrate preset | Share preset |
|---|---|---|---|
skills | Skills (including the memory-mechanism skill), under ~/.dsh/skills | ✅ | ✅ |
sessions | Session records (.zstd format), under ~/.dsh/sessions | ✅ | ❌ |
profiles | Profile configs (excluding node_modules), under ~/.dsh/profiles | ✅ | ❌ |
settings | Global settings (settings.yaml) | ✅ | ❌ |
presets | Agent presets (.agent-presets) | ✅ | ❌ |
memory | Memory data (DSH_MEMORY_ROOT or ~/.dsh/memory, excluding backups/) | ✅ | ❌ |
Two built-in presets
- Migrate — every module checked (the default).
- Share — only
skillsis checked; sessions and memory data are automatically excluded. Personal skill subdirectories are also excluded when sharing.
Core capabilities
- Privacy & security scan — before packing, automatically detects local absolute paths, user-profile directory paths, suspected credentials, and personal nicknames. In share mode a hit hard-blocks the pack (returns an error); in migrate mode it is reported only.
- File-level operation manifest — previews every file before packing; before a restore it produces a diff report (added / changed / same / skipped).
- Package management — lists generated packages (time / size / modules / note), delete, rename.
- Restore — import zip → validate
manifest.json(schemaVersion + SHA-256 fingerprints) → diff report → pick a conflict strategy: overwrite / skip / merge (merge appends, never overwrites). - Share packs ship with a README — a generated
README.mdexplaining the pack contents is attached automatically. - Package notes — write a usage note when packing.
Installation
Install as a local bundle from the project directory:
dsh plugin add . # add the local bundle
# or, during development
pnpm link
Then add dsh-packer to the dsh.profile.bundles list of your profile. Restart DSH and open the Settings → "Config Packer" tab (or use the /pack command).
Usage
Packing flow
- Open the Settings → "Config Packer" tab, or run
/pack create. - Pick the modules — or use a preset (Migrate = everything, Share = Skills only).
- The privacy scan runs automatically before packing; in share mode it hard-blocks on any hit.
- Confirm the file list (use
--dry-runto preview without generating a zip). - The zip is written to the packs directory (default
~/.dsh/packs); share packs get an automaticREADME.md.
Restore flow
- Import the zip (pick the file in the Settings tab, or
/pack restore <zip>). manifest.jsonis validated (schemaVersion + SHA-256 fingerprints).- Review the diff report: added / changed / same / skipped.
- Choose a conflict strategy: overwrite / skip / merge (merge appends text content without overwriting).
- Apply, and restart DSH if needed.
/pack command reference
…

