rig-bundles-and-shareable-artifacts
它能做什么
这项技能讲解如何把团队设置打包成可分享的捆绑包,并安全地安装。适合希望在多台电脑之间复用已验证的智能体配置的团队。
适用场景
- ✓当你想把一套经过验证的智能体团队配置打包给别人时。
- ✓当你想在安装之前先检查捆绑包的时候。
- ✓当你需要确认捆绑包在你自己的电脑之外也能运行的时候。
技能链接
https://github.com/mvschwarz/openrig/blob/main/packages/daemon/specs/agents/shared/skills/core/rig-bundles-and-shareable-artifacts/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请把我们测试过的评审团队配置打包成一个捆绑包,让同事可以在一台全新的 OpenRig 电脑上安装。”
每周 5 个新技能,1 分钟读完。
工作原理
它说明捆绑包包含什么、它与扩展有何不同,以及如何在安装前检查并测试其可移植性。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Rig Bundles and Shareable Artifacts
A rig bundle is a packaged, shareable artifact that can instantiate an opinionated OpenRig topology and workflow. It may include:
- rig specs
- agent specs
- workflow specs
- startup files
- skills or skill references
- operating-mode declarations
- proof expectations
- supporting fragments
Shareable artifact is broader than bundle: specs, bundles, skills, workflows, and extensions can all be shared. A bundle is the packaged form for "load this topology and way of working."
Use this when
- Authoring a bundle from a proven lab pattern
- Installing a bundle (
rig bundle install <path>) - Inspecting a bundle before install (
rig bundle inspect <path>) - Reasoning about bundle vs extension boundary (bundle declares topology + workflow; extension adds behavior)
- Auditing a bundle for portability — does it work on a clean OpenRig environment, or only the author's machine?
Don't use this when
- The work is a one-off topology you won't reuse. Specs alone are sufficient.
- The intent is to add runtime behavior (commands, views, dashboards). Use
extension-and-user-workspace, not bundles. - You want to ship a workflow as a daemon feature. Bundle is the path before daemon promotion.
The bundle vs extension boundary (load-bearing)
| Concept | Declares | Example |
|---|---|---|
| Bundle | Rig shape + workflow ("load this topology and way of working") | A Velocity Team bundle |
| Extension | Behavior added to user workspace/runtime | A custom command, view, or dashboard |
Don't confuse them. A bundle is opinionated content; an extension is added behavior. Both can be shareable artifacts, but they're structurally distinct.
Failure modes (4)
- A bundle works only on the operator's machine because paths, providers, or credentials are implicit. Bundles must be self-describing for a clean OpenRig environment.
- A bundle includes too much local state and becomes a backup archive instead of a reusable artifact. Bundle is the intended shape, not the current state of one specific install.
- A bundle declares topology but omits proof expectations or workflow mode. Topology alone doesn't tell users what "working as advertised" means.
- Users cannot inspect what a bundle will create before installing it.
rig bundle inspectmust show what will be created without side effects.
From an exported team to a submission
rig export <rig> -o <folder>/rig.yaml writes the spec, not a README,
so an exported team has none of its own. Before you bundle or submit
it, add a README.md to the folder, declare it in rig.yaml as
docs: [{ path: README.md }], and run rig bundle check <folder>
until it reports no findings. The openrig.dev/rigs registry check runs
the same check on the folder at the submitted ref, and any finding
fails it. The full walk-through is the publishing guide,
publishing-a-rig-bundle.md in $OPENRIG_HOME/reference/.
Proof standard
Proof should:
- Install the bundle into a clean OpenRig environment
- Instantiate it
- Verify the expected seats and workflow mode
- Run a small smoke proof that the topology behaves as advertised
Bundle path → product
Bundles are how proven lab patterns become reusable product experiences:
local dogfood pattern
→ bundle (with manifest, parameterization, proof expectations)
→ installed by another user on clean OpenRig
→ opinionated workflow shipped without becoming a daemon feature
→ if dependable, graduate parts into core daemon
This is also how OpenRig can ship opinionated workflows without making every workflow a daemon feature.
See also
extension-and-user-workspaceskill — sibling primitive for user-owned behavior added to runtime; bundle vs extension boundaryspecification-systemskill — rig specs / agent specs / workflow specs that bundles packageagent-startersskill — bundles can include or reference Agent Startersopenrig-userskill —rig bundle create / inspect / installCLI surface
常见问题
捆绑包包含什么?
它可以包括 rig 规格、智能体规格、工作流规格、启动文件、技能以及验证要求。
捆绑包与扩展有什么不同?
捆绑包声明团队结构和工作流,而扩展用于添加运行时行为,例如命令或视图。
安装捆绑包之前需要检查吗?
需要。这项技能建议先检查再安装。
详情
作者的原始描述
Use when authoring or installing a rig bundle (packaged, shareable artifact that instantiates an opinionated OpenRig topology + workflow), reasoning about the bundle vs extension boundary, or auditing a bundle for portability. Covers the 4 failure modes that prevent bundles from working anywhere but the operator's machine, and the inspect-before-install discipline.
repo: mvschwarz/openrig
热度
- GitHub 星标
- 8.6k
- 排名
- #12410
- 许可证
- Apache-2.0
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
agent-operated-software
8.6k帮你的智能体设计、构建或调试一个后端包含 AI 智能体的持续运行应用,例如基于 Markdown 或 JSON 的智能体控制层。
agent-operated-workflows
8.6k帮你的智能体判断一个有边界的流程应由 AI 智能体还是普通代码执行,并基于已验证的证据从中断处恢复。
applying-a-permission-policy
8.6k帮你的智能体在团队设置时配置 AI 编程智能体使用的命令权限,让常规命令减少审批提示。
claude-compaction-restore
8.6k帮助 Claude Code 智能体在上下文被压缩后,借助保存的恢复图、对话记录和它改动过的文件,重建工作认知。