rerun-data-model
Skill này làm gì
Skill này giúp AI quyết định cách tổ chức dữ liệu thô từ robot hoặc cảm biến trong Rerun trước khi viết code chuyển đổi. Skill dành cho người chuẩn bị dataset cho bản ghi Rerun.
Khi nào nên dùng
- ✓Khi bạn sắp chuyển hoặc đưa dữ liệu robot vào một file .rrd của Rerun.
- ✓Khi bạn cần quyết định giá trị nào là entity, component hoặc thuộc tính bản ghi.
- ✓Khi bạn muốn điền một bảng ánh xạ trước khi viết bất kỳ code chuyển đổi nào.
Liên kết skill
https://github.com/rerun-io/rerun/blob/main/skills/rerun-data-model/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Trước khi chúng ta chuyển dataset robot của tôi sang Rerun, hãy giúp tôi quyết định mỗi cảm biến ánh xạ vào entity và component thế nào.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Skill đi qua các lựa chọn mô hình hóa, như entity và component, hay giá trị tĩnh và theo thời gian, rồi điền bảng ánh xạ trước khi viết code.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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 |
Câu hỏi thường gặp
Skill có viết code chuyển đổi không?
Skill tập trung vào các quyết định thiết kế. Chi tiết cơ chế nằm ở các skill liên quan như rerun-chunk-processing.
Giá trị tĩnh là gì?
Giá trị tĩnh không thay đổi theo thời gian, còn giá trị theo thời gian được ghi tại các thời điểm nhất định.
Loại nguồn nào có skill riêng?
Skill chuyển dữ liệu MCAP, URDF, Parquet, mp4 và LeRobot đến các skill nhập dữ liệu riêng.
Chi tiết
Mô tả gốc của tác giả
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
Độ phổ biến
- Sao GitHub
- 12k
- Vị trí xếp hạng
- #11551
- Giấy phép
- Apache-2.0
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
investigate-puffin
12kGiúp agent phân tích các bản ghi profiler Puffin (file .puffin), tìm đoạn code chậm và so sánh trace trước và sau một thay đổi.
rerun-blueprint
12kDạy agent thay đổi giao diện trình xem Rerun bằng cách viết blueprint cho một bản ghi hoặc bảng, gồm bố cục, view và các cột ẩn.
rerun-catalog-queries
12kGiúp agent truy vấn catalog Rerun từ Python nhanh hơn, với các mẹo về số lượt gọi qua lại, dung lượng dữ liệu và việc đọc dataset chậm.
rerun-chunk-processing
12kDạy agent xây dựng pipeline dữ liệu Rerun với reader và lens, chuyển các file MCAP, Parquet, video hoặc RRD thành bản ghi Rerun.
Skill tương tự
gitcrawl
394kCho phép agent của bạn tìm trong kho lưu trữ issue và pull request GitHub, gom các mục trùng lặp và kiểm tra trạng thái hiện tại trên GitHub.
slacrawl
394kCho phép agent của bạn tìm và đếm tin nhắn trong kho lưu trữ Slack cục bộ, kiểm tra kho đó mới đến mức nào và làm mới khi cần.
goplaces
394kGiúp agent của bạn tìm địa điểm, lấy chi tiết và đánh giá, và xác định tên địa điểm bằng Google Places, với đầu ra JSON cho script.