sakikoTGW/pack-agent
Agent Modpack — 像装 MC 整合包一样,装你的 agent。
已收录
2
Tools
Bundle 已验证
预览
功能介绍
把 .pack.json/.pack.zip 投影到 .agent-pack/modpacks/,按工作区白名单暴露 skill。
适合
- 需要以 .pack.json 或 .pack.zip 整合包分发精选智能体技能的项目。
- 希望通过工作区白名单控制哪些打包技能可见的工作区维护者。
- 需要在 .agent-pack/modpacks/ 下维护项目级智能体包的用户。
不适合
- 无法提供 Bun 1.1 或更高版本的环境。
- 没有打包技能,或不需要工作区级暴露控制的工作流。
- 需要托管式市场或远程技能服务,而不是项目文件投影的用户。
README
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
License
常见问题常见问题
在启用了 DSH 的终端中执行已验证命令 dsh plugin --profile default add github:sakikoTGW/pack-agent。命令会解析公开 package 元数据,并保持插件与本页展示的目录身份一致。
兼容性以页面上展示的 bundle 与 profile 状态为准。如果某个 profile 尚未检测到,请先保持禁用,并在生产启用前阅读仓库文档。
GitHub 链接和 activity 元数据是 release 与维护状态的来源。新版本发布后重新查看本页,确认目录已经观察到最新版本。