DeepSeek Harness 插件

sakikoTGW/pack-agent

Star 数 ★ 3 下载量(近 30 天) 281 分类 工具与能力 收录于 2026-08-14 npm @sakikotgw/pack-agent

把 .pack.json/.pack.zip 投影到 .agent-pack/modpacks/,按工作区白名单暴露 skill。

安装

# npm 包(预构建)

dsh plugin --profile web add @sakikotgw/pack-agent

# GitHub 源码(首次需按提示配置 allowBuilds 构建授权后重试)

dsh plugin --profile web add github:sakikoTGW/pack-agent

装任何插件都等于在你的机器上跑第三方代码,权限和你本人一样大——能读你的文件、用你的凭据、访问网络,工具审批管不到它。GitHub 来源的插件还会在安装时执行构建脚本——pnpm 默认拦截,所以安装可能停在 ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED 或 ERR_PNPM_IGNORED_BUILDS;dsh 会打印出需要添加的确切键名,把它加进该 profile 的 pnpm-workspace.yaml 的 allowBuilds 下,重跑一次即可装上。放行构建本身就是一次信任判断:请只安装可信来源,并尽量锁定 commit(github:owner/repo#sha)。

README

English | 中文

像 MC 整合包一样管理 DeepSeek Harness 配置。Agent Modpack(packagent)把 skills、rules、MCP 打成 .pack.zip,装进 Claude Code、Codex、Cursor 等 harness。卸装按账本撤。

需要 Bun ≥ 1.1。npm:@sakikotgw/pack-agent。

agent-pack for DSH 整棵在 agent-pack-dsh/。产品设计:agent-pack-dsh/docs/PRODUCT.md。插件包:@sakikotgw/pack-agent-dsh。见 agent-pack-dsh/plugin/README.zh.md。

安装

通过 npm

npm install @sakikotgw/pack-agent
packagent detect

只跑一次:

npm exec --yes --package=@sakikotgw/pack-agent -- packagent install foo.pack.zip

Windows 不要写成 npx --package @sakikotgw/pack-agent -- pack-agent,命令名是 packagent。

使用

packagent agents init
packagent export --agent <id>
packagent install .agent-pack/exports/<id>.pack.json --runtime claude-code
packagent eject --name <id>

--runtime 只装一家。不加则装到 packagent detect 里 Will install to 列出的 harness。默认只写当前项目。要写用户全局配置时加 --global-config。

MCP

{
  "mcpServers": {
    "agent-pack": {
      "command": "bun",
      "args": ["node_modules/@sakikotgw/pack-agent/mcp/server.ts"],
      "env": { "AGENT_PACK_CWD": "." }
    }
  }
}

支持的 harness

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

从源码运行

git clone https://github.com/sakikoTGW/pack-agent.git
cd pack-agent
bun install

许可证

MIT

内容来自项目 README(GitHub)↗

链接

同类插件

查看整个分类 →

社区评论

评论公开保存在 GitHub Discussions。加载评论会连接 GitHub 和 Giscus;发表内容需要 GitHub 账号。