sakikoTGW/pack-agent
Agent Modpack — 像安装MC整合包一样,安装你的agent。
Project Overview项目介绍
This is a cross-platform agent configuration bundling tool that supports DSH and multiple other popular agent platforms including Claude Code, Codex, Cursor, Opencode, Gemini CLI and GitHub Copilot. It lets users bundle custom skills, rules, and MCP server configurations into a single compressed .pack.zip file for easy sharing across teams and platforms. It can be installed globally via npm, or run one-off with the npx --yes -p @sakikotgw/pack-agent packagent install <path> command for quick testing. It requires Bun version 1.1 or higher installed on your local system to work correctly.
This tool is designed for developers who regularly share custom agent configurations across multiple different active agent platforms. A typical starting workflow starts with running packagent agents init to initialize a brand new local pack project in your current working directory. Next, you export your configured agent with packagent export --agent <id>, then install it to your target runtime with packagent install <path-to-pack.json> --runtime <target-harness>. If you no longer need the installed agent configuration, you can remove it completely cleanly with the packagent eject --name <id> command.
The tool is released under the permissive MIT open source license, so you can use it for free for both personal and commercial projects. It has a known limitation that on Windows systems, running npx --package @sakikotgw/pack-agent -- pack-agent will fail, because the correct binary name is just packagent. If you want to run it directly from source, you can clone the GitHub repository, cd into the project directory, and run bun install to build it locally on your machine. It also provides a pre-configured MCP server endpoint that you can add to your own MCP configuration for easy integration.
这是一款Agent Modpack(pack-agent)工具,借鉴了Minecraft整合包的管理思路,用于管理DeepSeek Harness及其他智能体开发平台的配置。它可以将自定义技能、规则和MCP服务器配置打包为.pack.zip文件,支持把打包好的配置安装到Claude Code、Codex、Cursor等多个主流智能体平台,还会保留完整安装日志方便后续卸载操作。
该工具面向需要在多个智能体平台之间共享自定义配置的开发人员,典型工作流程是先执行packagent agents init初始化本地项目,然后导出指定ID的配置包,再根据目标平台选择对应运行时参数安装配置。如果需要移除已安装的配置,也可以通过内置的eject命令快速完成卸载,无需手动清理零散配置文件。
该工具依赖Bun 1.1及以上版本,可以通过npm全局安装或使用npx一次性运行,目前已知在Windows平台使用npx调用时可能会出现命令执行失败的问题。工具采用MIT许可协议开源,任何人都可以免费使用和修改源码,也支持开发者从GitHub拉取源码本地构建运行。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:pack-agent(sakikoTGW/pack-agent)
仓库:https://github.com/sakikoTGW/pack-agent
本站详情页:https://www.yhbd.top/plugins/sakikotgw-pack-agent/
本站登记:类型 bundle · 归类 原生 DSH 插件 · 许可证 MIT · ⭐ 3 · 最近提交 2026-09-21 · 主语言 TypeScript
按下面顺序执行,每步先把结论告诉我,再进入下一步:
【1 兼容性检查】
① 我这边:DSH 版本、Node 版本、操作系统、当前 profile(web / desktop)。
② 读它的 README、package.json、插件 manifest,列出它要求的 DSH 版本 / Node 版本 / 操作系统 / 外部依赖 / 需要另外先装的运行时。
③ 逐条比对,结论只写「满足 / 不满足 / 未知」三种;不满足的给出可行替代方案。
④ 检查是否和我已装的插件冲突:命令名重复、skill / tool 重名、端口占用、重复注册的 MCP server。
【2 安全性检查】
① 仓库可信度:和上面「本站登记」是否一致;star / fork 数、创建时间、最近提交,是否归档或长期停更。
② 安装脚本:逐行看 package.json 的 preinstall / install / postinstall,以及 install.sh、setup.ps1 之类脚本。出现 curl|bash、下载后直接执行、混淆代码、访问与插件功能无关的域名,立刻停下来告诉我,不要继续装。
③ 依赖:列出新增依赖,标出无人维护、或与知名包拼写近似的可疑包(typosquatting)。
④ 权限与副作用:它会读写哪些目录、访问哪些域名、需要哪些 DSH 权限(filesystem / network / shell / clipboard 等),以及怎么卸载和回滚。
⑤ 如果它要求 sudo / 管理员权限,或权限明显超出功能所需,先停下来问我。
【3 安装】
上面两步没有「不满足」和「高危项」时才执行;用官方推荐方式安装,不要自行提权。
【4 汇报】
用表格输出:检查项 / 结论 / 依据 / 是否需要我决策。拿不准的一律写「未知」并说明要我怎么确认——不要猜,也不要替我决定。
Send this message to DSH in your current session: it verifies compatibility and security first (answering met / not met / unknown item by item) and only installs once everything checks out — it will stop and ask you if it finds a high-risk item. The box scrolls; the copy is the full prompt. CLI install commands may not be accurate across systems, so DSH is the safer route.把上面这条消息直接发给当前会话里的 DSH:它会先核对兼容性与安全性(逐条给「满足 / 不满足 / 未知」),确认没问题再安装,有高危项会停下来问你。框内可滚动,复制到的是完整提示词;安装命令不一定准确,发给 DSH 更稳。
- Only 3 stars - very few users, little community feedback星标只有 3,几乎没人在用,遇到问题缺少社区反馈
DSH walks through these 9 checksDSH 会逐条核对这 9 项
Compatibility兼容性
- DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
- External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
- Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册
Security安全性
- Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
- Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
- curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
- Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
- Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
- Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式
Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。
Or use CLI install (for developers)或使用命令行安装(适合开发者)
CLI Install命令行安装
dsh plugin --profile web add github:sakikoTGW/pack-agent
把 sakikoTGW/pack-agent 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
Agent Modpack
English | 中文
Manage DeepSeek Harness config like a Minecraft modpack. Agent Modpack (packagent) packs skills, rules, and MCP into a .pack.zip and installs them into Claude Code, Codex, Cursor, and other harnesses. Uninstall uses the install ledger.
Requires Bun ≥ 1.1. npm: @sakikotgw/pack-agent.
agent-pack for DSH lives in agent-pack-dsh/. Product design: agent-pack-dsh/docs/PRODUCT.md. Plugin package: @sakikotgw/pack-agent-dsh. See agent-pack-dsh/plugin/README.md.
Install
From npm
npm install @sakikotgw/pack-agent
packagent detect
One-off:
npx --yes -p @sakikotgw/pack-agent packagent install foo.pack.json
On Windows, npx --package @sakikotgw/pack-agent -- pack-agent fails. The bin name is packagent.
Use
packagent agents init
packagent export --agent <id>
packagent install .agent-pack/exports/<id>.pack.json --runtime claude-code
packagent eject --name <id>
--runtime installs to one harness. Without it, install targets every harness listed under Will install to in packagent detect. Install writes the current project only. Pass --global-config to write user-global harness config.
MCP
{
"mcpServers": {
"agent-pack": {
"command": "bun",
"args": ["node_modules/@sakikotgw/pack-agent/mcp/server.ts"],
"env": { "AGENT_PACK_CWD": "." }
}
}
}
Supported harnesses
| id | skills | rules | MCP |
|---|---|---|---|
claude-code |
.claude/skills |
CLAUDE.md |
.mcp.json |
codex |
.agents/skills |
AGENTS.md |
.codex/config.toml |
opencode |
.opencode/skills |
AGENTS.md |
opencode.json |
openclaw |
skills.load.extraDirs |
AGENTS.md |
config/mcporter.json |
hermes |
external_dirs | AGENTS.md |
~/.hermes/config.yaml |
gemini-cli |
.gemini/skills |
GEMINI.md |
.gemini/settings.json |
windsurf |
.windsurf/skills |
— | .windsurf/mcp_config.json |
github-copilot |
— | .github/copilot-instructions.md |
.vscode/mcp.json |
Run from source
git clone https://github.com/sakikoTGW/pack-agent.git
cd pack-agent
bun install
omdsh-dev/DSH-better-sidebar
LiPu-jpg/Openwrite
cocode-agency/cocode
drewnekota/cetus
cosyncing/cosyncing
UNLINEARITY/dsh-code
Cerbur/clutch-dsh
cofy-x/dsh-console