AGENT SKILL

data-pipeline

Use RoboTwin datasets, collect demonstrations, validate XPolicyLab HDF5 trajectories, and convert legacy data layouts.

License 许可
MIT
最近更新
2026-09-03
Stars
★ 351
Forks
27

01 前言 Front Matter

name
data-pipeline
license
MIT
metadata
{ "disco-role": "operating" }
description
Use RoboTwin datasets, collect demonstrations, validate XPolicyLab HDF5 trajectories, and convert legacy data layouts.
disable-model-invocation
true

02 资源文件 5

03 SKILL.md 正文

RoboTwin data pipeline

Use this sub-skill when the user asks about RoboTwin pre-collected data, data collection, trajectory layout, HDF5 validation, legacy data conversion, asset downloads, or preparing data for XPolicyLab/LeRobot workflows.

Route first

  • For SAPIEN, Base_Task, robot/camera/config bootstrap, or render/backend setup, read simulation-core.
  • For policy rollout/evaluation, scheduler configs, remote server mode, or action adapter shapes, read policy-eval.
  • For adding new tasks or language templates, read task-authoring.

Main workflows

  1. Use pre-collected data: prefer public XPolicyLab-format RoboTwin trajectories when the task is training or evaluation data preparation. Read workflows.md.
  2. Collect demonstrations: use task/config/GPU arguments and verify simulation prerequisites first. Read workflows.md and troubleshooting.md.
  3. Validate a trajectory file or downloaded layout: use scripts/inspect_xpolicylab_hdf5.py for one file and scripts/validate_download_layout.py for a downloaded task/config/embodiment directory.
  4. Convert old raw data: read data-formats.md and the conversion section in workflows.md.
  5. Create or bootstrap a standalone workspace: use the root workspace bootstrapper instead of expecting the original checkout.

Key layout facts

  • Recommended downloaded/current collection layout:

    data/<task_config>/<task_name>/<embodiment>/
      data/episode_0000000.hdf5
      video/episode_0000000.mp4
      instruction/episode_0000000.json
    
  • Legacy raw layout converted by the repository utility:

    data/<task_name>/<task_config>/data/episode0.hdf5
    
  • Default config/embodiment examples: demo_clean, demo_randomized, aloha_agilex.

  • Collection writes XPolicyLab trajectory HDF5 directly in current RoboTwin 2.0 paths.

Validation signals

  • HDF5 contains data_format_version, state/, action/, vision/, and additional_info/frequency.
  • Required state/action datasets have matching horizon lengths.
  • RGB camera data lives under vision/cam_head/colors and optionally wrist camera groups.
  • Instruction data exists as instruction or instructions.
  • Downloaded layout contains at least one episode_0000000.hdf5; videos/instructions are useful but may be optional depending on archive version.

Safety

  • Dataset download and asset download commands can be large and network-heavy; do not run them unless the user asks or the workspace clearly needs them.
  • Data collection launches SAPIEN simulation and can use GPU/rendering resources; start with one small task/config before scaling.
  • Do not delete stuck episodes or rewrite seed files unless the user explicitly wants data cleanup.

04 同仓库更多 Skills

VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-triton-opt

Make a single PassNet Triton kernel fast AND numerically faithful: performance model (when a replacement can win at all), block/grid/warp tuning, autotune policy, launch overhead, and per-op numeric recipes to pass the dtype baseline tolerances. Use when a pass matches and is correct but speedup below expected, or when correctness fails by small numeric margins.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-solve

END-TO-END playbook for solving one PassNet sample: analyze the computation graphs, decide the optimization strategy (what to fuse, what to replace, what to leave alone), drive the iteration loop, and maximize the sample score. This is the ENTRY skill — invoke it first for any PassNet optimization task; it tells you when to use passnet-pattern-fusion, passnet-triton-opt and passnet-feedback.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-skill

PassNet GPU kernel optimization via compiler passes. Design and implement Triton-based optimization passes, create pass files under ./pass_dir/, self-evaluate with pass_evaluator, and iterate to maximize GPU speedup.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-pattern-fusion

Author PassNet pass files: write patterns that actually MATCH the FX graph, pick fusion regions (which ops to absorb into one Triton kernel), and structure multi-pass submissions with the mandatory shared-dispatch architecture. Use when creating or fixing pattern()/replacement_args()/replacement_func() files, when a pass "failed to match", or when deciding how to fuse multiple kernels/ops.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-orchestrate

Round/batch planning and decision support for PassNet graph optimization. Use for multi-sample triage, worker allocation, eval-budget policy, and post-eval keep/revert decisions. For solving one concrete sample end to end, use passnet-solve as the entry skill; consult this skill only when you need broader planning or a specific decision gate.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-feedback

Fast, deterministic feedback for PassNet work: pre-flight pattern/match verification WITHOUT burning a GPU evaluation, per-node bottleneck analysis of a sample's graphs, and eval-log parsing into per-variant status + estimated score + failure classification. Use BEFORE every GPU evaluation (check_pattern), at the START of a sample (analyze_graph), and AFTER every evaluation (parse_eval_log).

★ 351