rerun-data-model
できること
このスキルは、変換コードを書く前に、生のロボットやセンサーのデータをRerunでどう整理すべきかを決めるよう、AIを支援します。Rerunの録画用にデータセットを準備する人に向けたものです。
使う場面
- ✓ロボットのデータをRerunの.rrdファイルに変換または取り込もうとしているとき。
- ✓どの値をエンティティ、コンポーネント、録画のプロパティにするかを決める必要があるとき。
- ✓変換コードを書く前に、対応表を埋めたいとき。
スキルのリンク
https://github.com/rerun-io/rerun/blob/main/skills/rerun-data-model/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“ロボットのデータセットをRerunに変換する前に、各センサーをエンティティとコンポーネントにどう対応づけるかを決めるのを手伝ってください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
このスキルは、エンティティかコンポーネントか、静的か時間依存かといったモデリングの選択を順に検討し、変換コードを書く前に対応表を埋めます。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Rerun data model
The hard part of ingesting a dataset is the modeling decision, not the API call.
Get the model right and any mechanism works; get it wrong and queries, views, and training all break.
This skill is just the decisions.
For mechanism details see rerun-chunk-processing (pipeline mechanics) and the importer skills it routes to: rerun-mcap,rerun-urdf,rerun-parquet, rerun-mp4, rerun-lerobot.
For exact signatures, the docs at rerun.io/docs/concepts/logging-and-ingestion.
Before writing conversion code, fill in the mapping table below. It is the design, and a human can review it in seconds.
Pick the mechanism before you model the bytes
Modeling decides what each datum becomes; this decides how it gets there — and the default is a reader + lenses, not hand-built chunks:
- Does a reader exist for this source? MCAP→
McapReader, URDF→UrdfTree, parquet→ParquetReader, HDF5→Hdf5Reader, RRD→RrdReader, LeRobot dir→log_file_from_path. Yes →reader.stream()+ lenses; the reader produces the chunks, you do not. - No, and it is genuine external metadata (JSON calibration, offsets) or a specific custom use case that can't be covered by a generic reader**→**
Chunk.from_columns. - Otherwise: consider if you are about to hand-build something a reader or lens should produce and ask for clarification.
For MCAP specifically: a Foxglove- or ROS-decodable file emits archetypes like Transform3D, Pinhole, and VideoStream for certain supported message schemas ready-made — pass those through, never re-derive them; only custom protobuf signal topics need lenses. The full decision tree and the anti-pattern list are in rerun-chunk-processing.
The model
Dataset → Segment → Layer → Recording → Entity → Component → Chunk
- Entity = a thing, named by a path (
/robot/arm/camera). Component = one typed field on it (positions, image, a scalar). Archetype = a standard bundle of components that log and render together (Points3D,Image,Transform3D). - Every value you log sits on two axes: where (entity path + component) and when (which timeline, or static = all time).
- Segment = one episode; on registration its
recording_idbecomes thesegment_id. Layer = an extra.rrdon top of a segment. It attaches by matching the segment'srecording_idand nothing else: that shared id is the whole layering mechanism.
The decisions
Entity vs component on an existing entity
New entity if it has its own spatial frame (Transform3D/Pinhole), its own annotation context, or should be shown/cleared/shared independently (each robot link, each camera, each sensor). Same entity + extra component for auxiliary data at the same instances (per-point confidence).
Use AnyValues for non-standard fields.
Property vs component vs layer (the most common confusion)
- Component: per-timestamp signal on the timeline (joint angle, image).
- Segment property: one-per-episode metadata for catalog filter/search (operator, robot, site, task, date). Not per timestamp.
- Layer: a whole derived
.rrdover a base segment (FK transforms, point clouds, gripper state, labels, quality scores). Queryable as if part of base.
Static vs temporal Static belongs to all timelines and shadows any temporal value of the same component on the same entity. Use it for invariants (calibration, coordinate frames, robot meshes, annotation context, a video asset). Never make per-frame data static.
Which timeline
A timestamp timeline (ns since epoch) for cross-sensor clock alignment, a sequence timeline for frame/ordinal alignment; stamp on both when useful.
Do not resample to a common rate. Latest-at reconciles multi-rate streams at query time by holding each component's last sample (no interpolation).
Base vs layer
Base = faithful conversion of the raw streams, nothing computed.
Layer = anything derived (FK from URDF + joint states, clouds from depth + intrinsics).
Keep them separate .rrds.
The mapping table (produce before coding)
| Source (topic/column/key) | Entity path | Archetype | Component(s) | Timeline | Static/temporal | Base/layer | Property? |
|---|---|---|---|---|---|---|---|
| mcap |
よくある質問
変換コードも書きますか?
スキルは設計上の判断に焦点を当てています。仕組みの詳細はrerun-chunk-processingなどの関連スキルにあります。
静的な値とは何ですか?
静的な値は時間とともに変わらない値で、時間依存の値は時点ごとに記録される値です。
どの元データの種類に専用のスキルがありますか?
このスキルは、MCAP、URDF、Parquet、mp4、LeRobotのデータを、それぞれ別の取り込みスキルに振り分けます。
詳細
作者による元の説明
How raw multimodal robot data maps onto the Rerun data model. Read FIRST, before modeling or converting a dataset — and whenever you are about to convert/ingest/preprocess robot data into an .rrd or build a Rerun recording, even if not asked for the data model. Resolves the entity-vs-component, property-vs-component-vs-layer, and static-vs-temporal decisions and routes to the mechanism (do it with readers and lenses, not hand-built chunks or per-message rr.log): rerun-chunk-processing and the importer skills rerun-mcap, rerun-urdf, rerun-parquet, rerun-mp4, rerun-lerobot.
repo: rerun-io/rerun
人気
- GitHubのスター
- 12k
- ランキング
- #11551
- ライセンス
- Apache-2.0
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
investigate-puffin
12kPuffinプロファイラーの記録(.puffinファイル)を調べ、遅いコード箇所を見つけ、変更前後のトレースを比較するようエージェントを支援します。
rerun-blueprint
12kブループリントを書いてRerunビューアーの見た目を変える方法を、レイアウト、ビュー、非表示の列を含めてエージェントに教えます。
rerun-catalog-queries
12k往復回数、データ量、遅いデータセットの読み取りに関するヒントを使い、PythonからRerunカタログへのクエリを速くするようエージェントを支援します。
rerun-chunk-processing
12kreaderとlensを使ってMCAP、Parquet、動画、RRDのファイルを録画に変換するRerunのデータパイプラインを作る方法をエージェントに教えます。
似ているスキル
gitcrawl
394k保存されたGitHubのイシューとプルリクエストのアーカイブを検索し、重複をまとめ、GitHub上の現在の状態を確認するようエージェントを支援します。
slacrawl
394kローカルのSlackアーカイブ内のメッセージを検索して件数を数え、アーカイブの新しさを確認し、必要に応じて更新するようエージェントを支援します。
goplaces
394kGoogle Placesを使って、場所を検索し、詳細や口コミを取得し、場所の名前を解決するようエージェントを支援します。スクリプト用にJSON出力もできます。