rerun-blueprint
它能做什么
这个技能指导你的 AI 使用蓝图设置 Rerun 查看器的布局和外观。适合希望录制或表格默认就清晰易读的人员。
适用场景
- ✓你想更改 Rerun 录制的布局或视图的时候。
- ✓你想在目录表格中隐藏列、调整列顺序或筛选行的时候。
- ✓你想设计默认蓝图,使数据集以易读的布局打开的时候。
技能链接
https://github.com/rerun-io/rerun/blob/main/skills/rerun-blueprint/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请设置 Rerun 查看器,使这段录制并排显示摄像头视图和 3D 视图。”
每周 5 个新技能,1 分钟读完。
工作原理
这个技能先读取录制的数据,设计布局,然后编写蓝图并检查查看器的状态。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Rerun blueprint
To change how the viewer looks, change the blueprint. This holds for a
recording's layout, views and their properties, and for a table's columns, row
filters and cards. Don't click through the viewer's menus to do it. With the
viewer MCP, read and write the blueprint with rerun_get_blueprint and
rerun_set_blueprint rather than the low-level click tools.
A blueprint decides how a recording is shown, and the recording decides what exists.
Read the data, design a first layout, then verify state before assessing screenshots until it reads at a glance.
The constructors are discoverable (dir(rrb),
help(rrb.Spatial3DView)); this skill covers what you can't guess. Import as
import rerun.blueprint as rrb.
Editing a recording's blueprint through MCP
If a request could apply to multiple views and the intended view is unclear, use elicitation to ask the user which view they mean before editing.
Without a target, rerun_get_blueprint and rerun_set_blueprint use what is on screen: the table if one is shown, else the active recording.
Use {"recording": {}} to target the active recording even when a table is shown.
rerun_set_blueprint accepts mode: "full" (default) or mode: "partial".
Use partial mode for focused edits: send only changed fields, leaving the layout and all omitted fields untouched.
Full mode clears omitted fields and entities; use it for a complete layout, reading the existing blueprint first to preserve settings you intend to keep.
Both modes replace arrays and struct-valued fields as a whole, so preserve other entries when changing lists such as component_map or instruction_ids.
Set a field to null to clear it; an empty object is a no-op in partial mode.
Reuse view and container UUIDs when editing them.
For a deliberate layout, set root_container to the root container UUID and set both auto_layout and auto_views to false in /viewport → ViewportBlueprint.
Automatic layout can rearrange the supplied tree, and automatic views can add unwanted panes.
In full mode, an explicit root defaults omitted automatic options to false, but values copied from the previous blueprint are preserved.
Partial mode preserves omitted automatic options, even when changing the root.
A write that would break a reference is rejected, and nothing is written.
That covers a missing or unreferenced view, container, or visualizer instruction, and a loop of containers.
So add a new view and the reference to it in the same call, and delete a view with {"Clear": {"is_recursive": true}} in the same call that takes it out of contents.
After each write, check the views and their reports in rerun_get_state, plus logs appended to tool results.
If the structure differs, inspect rerun_get_blueprint before retrying.
Then check a screenshot for framing and readability before reporting completion.
Component defaults and overrides
For view-wide styling, prefer component defaults.
For example, send {"/view/<view UUID>/defaults": {"Boxes3D": {"show_labels": false}}} as the json string of a partial update to hide Boxes3D labels.
Defaults apply across the view but do not supersede logged values or per-entity overrides.
For selected entities or to supersede logged values, follow the MCP component override example. Verify the effective value in the entity's Visualizers section and the visual result, not just stored rows.
Tables
A dataset's segment table and catalog tables have a table blueprint of their own, separate from a recording's. It sets which columns show, their order and names, the row filters, and whether rows show as a table or as cards. When asked to make a table look nice, hide columns or filter rows, write this blueprint.
This hides two columns and shows three others first. Listed columns come first, the rest keep their default order and visibility:
blueprint = rrb.TableBlueprint(
table_layout=rrb.table.TableLayout(
columns=[
rrb.table.Column("recording link"),
rrb.table.Column("property:episode:current_task", name="Task"),
rrb.table.Column("property:episode:success"),
rrb.table.Column("property:episode:ext1_cam_serial", visible=False),
rrb.table.Column("property:episode:ext2_cam_serial", visible=False),
],
),
)
常见问题
它会更改录制本身吗?
不会。这个技能更改的是蓝图,蓝图控制查看器如何显示录制。
它可以配合查看器 MCP 使用吗?
可以。这个技能说明,应配合查看器 MCP 使用 rerun_get_blueprint 和 rerun_set_blueprint。
如果一个请求可能适用于多个视图怎么办?
这个技能要求在进行更改前先询问指的是哪个视图。
详情
作者的原始描述
Change how the Rerun viewer looks by writing a blueprint, for a recording or for a table. Read this whenever asked to change the look of the viewer, such as laying out a recording or dataset, designing a default blueprint, deciding which views show which entities, or making a segment or catalog table look nice by hiding columns, changing column order or filtering rows. Covers archetype-to-view mapping, layout reasoning, the rrb construction API, the contents grammar, table blueprints, and the screenshot loop.
repo: rerun-io/rerun
热度
- GitHub 星标
- 12k
- 排名
- #11548
- 许可证
- Apache-2.0
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
investigate-puffin
12k帮你的智能体分析 Puffin 性能分析录制文件(.puffin 文件),找出耗时较长的代码段,并比较变更前后的跟踪记录。
rerun-catalog-queries
12k帮你的智能体从 Python 更快地查询 Rerun 目录,并附有关于往返次数、载荷大小和数据集读取缓慢的提示。
rerun-chunk-processing
12k教你的智能体使用读取器和 lens 构建 Rerun 数据流水线,将 MCAP、Parquet、视频或 RRD 文件转换为录制。
rerun-data-model
12k帮你的智能体把机器人或多模态数据映射到 Rerun 的数据模型上,先确定实体、组件,以及静态值还是随时间变化的值。