Introduction¶
When developing DeepSeek Harness (DSH) or agents, you often need to put the same set of skills, rules, and MCP configurations into different harnesses like Claude Code, Codex, etc. Manually copying directories and configurations is easy to miss, and uninstallation often leaves residues.
The philosophy of DSH is “everything is a plugin.” The community directory is an independent site with no official affiliation to DeepSeek or Fangfang. Below is an introduction to a DSH plugin: @sakikotgw/pack-agent, which packages skills, rules, and MCP into .pack.zip and installs them to the harness; uninstallation uses the installation ledger.
What is this¶
pack-agent is the npm package @sakikotgw/pack-agent, with the repository address https://github.com/sakikoTGW/pack-agent. It focuses on harness configuration management: first packaging skills, rules, and MCP, and then installing them to the target harness.
Verified package information includes:
- License:
MIT - Runtime requirements:
Bun >= 1.1 - DSH-related agent-pack is located in
agent-pack-dsh - DSH plugin package:
@sakikotgw/pack-agent-dsh
Core Features¶
pack-agent provides the following capabilities:
- Package skills, rules, and MCP into
.pack.zipand install to the harness. - Uninstallation uses the installation ledger.
- Provide an MCP server run by Bun, with the path:
node_modules/@sakikotgw/pack-agent/mcp/server.ts
- Support the following harness ids:
claude-code,codex,opencode,openclaw,hermes,gemini-cli,windsurf,github-copilot.
Installation and Enablement¶
First, confirm that Bun >= 1.1 is installed on your machine.
Install from npm:
npm install @sakikotgw/pack-agent
packagent detect
The first command installs the package, and the second command detects which harnesses the current environment will install to.
You can also run the install example in one go:
npx --yes -p @sakikotgw/pack-agent packagent install foo.pack.json
On Windows, npx --package @sakikotgw/pack-agent -- pack-agent will fail; the available bin name here is packagent.
Typical Usage¶
The following commands come from verified examples:
packagent agents init
packagent export --agent <id>
packagent install .agent-pack/exports/<id>.pack.json --runtime claude-code
packagent eject --name <id>
Installation scope rules are as follows:
- When adding
--runtime, install to the specified harness. - When not adding
--runtime, install to all harnesses listed in theWill install tocolumn ofpackagent detect. installdefaults to writing only the current project.- When you need to write the user’s global harness config, pass
--global-config.
MCP Configuration¶
If you want to use it via MCP, the verified configuration item is command as bun, with args pointing to:
node_modules/@sakikotgw/pack-agent/mcp/server.ts
Configuration example:
{
"mcpServers": {
"agent-pack": {
"command": "bun",
"args": ["node_modules/@sakikotgw/pack-agent/mcp/server.ts"]
}
}
}
Applicable Scenarios and Notes¶
Suitable for DSH developers or agent developers who need to reuse the same set of skills, rules, and MCP configurations across multiple harnesses.
Pre-use notes:
- The plugin runs with the current DSH process permissions; you should check the source code and license before installing.
- The License of
@sakikotgw/pack-agentisMIT. - Runtime requirement is
Bun >= 1.1. - Default installation only affects the current project; if you need the user’s global configuration, you must explicitly pass
--global-config. - On Windows, note that the bin name is
packagent. - The community directory is an independent site with no official affiliation to DeepSeek / Fangfang.
Conclusion¶
The value of pack-agent lies in converging the packaging, installation, and uninstallation of skills, rules, and MCP into a set of commands, reducing the work of manually moving configurations between harnesses like Claude Code, Codex, etc.
Directory page: https://www.skillhub.cn/plugins/sakikoTGW/pack-agent
GitHub: https://github.com/sakikoTGW/pack-agent