lerobot

lerobot is a skill for Claude Code, Codex from robium-ai/robium. It costs 172 tokens per session (6,976 once invoked), scanned B, a copy of lerobot, MIT.

A guide to Hugging Face LeRobot, a library for training and evaluating robot-manipulation policies from recorded episodes. It covers dataset handling, simulation, teleoperation, and policy families such as ACT and diffusion models.

In plain words
What is it for?
Recording and loading robot episodes, training imitation-learning or vision-language-action policies, evaluating them in simulation, and teleoperating a robot arm.
Why use it?
It explains the practical steps between collecting robot demonstrations and training or evaluating a model.

Skill for Claude CodeCodex

Part of the robium plugin — 72 skills, 1 agent, 6 hooks shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/robium-ai/robium/lerobot
Any agent
npx skills add robium-ai/robium --skill lerobot
Clone the repo
git clone --depth 1 https://github.com/robium-ai/robium

Made for: Claude Code, Codex.

Or install robium, the plugin that ships this one along with the rest of its 72 skills, 1 agent, 6 hooks.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for lerobot

README.md
[![agentmods](https://agentmods.dev/badge/skills/robium-ai/robium/lerobot.svg)](https://agentmods.dev/skills/robium-ai/robium/lerobot)
Your own site
<a href="https://agentmods.dev/skills/robium-ai/robium/lerobot"><img src="https://agentmods.dev/badge/skills/robium-ai/robium/lerobot.svg" alt="Measured on agentmods" height="20"></a>
Per session 172 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,976 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. Scan, not verified.
Origin 91% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00172 $0.06976
Opus 5 $0.00086 $0.03488
Sonnet 5 $0.00034 $0.01395
Haiku 4.5 $0.00017 $0.00698

Measured 2d ago against content hash ab5d7c4f8a06, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade B, and why

lerobot scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (examples/load-dataset-snippet.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

`ffmpeg` for video decoding: `sudo apt install ffmpeg` (Linux) or
Origin

This is a copy

91% identical to lerobot — 153 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/lerobot/SKILL.md · 419 lines

How it starts

The opening of the file, as written. The whole thing — 419 lines — stays where its author put it; the contents beside it link to each section on GitHub.

lerobot

The manipulation-vertical core tool skill for robium: the LeRobotDataset format, loading and recording episodes, training imitation-learning and VLA policies (ACT, Diffusion, Pi0/Pi0.5/SmolVLA and others), evaluating in simulation, and teleoperation. LeRobot (huggingface/lerobot, PyPI package lerobot, version 0.6.0 as of 2026-07-12 (PyPI-verified; re-check: this number goes stale fast), requires-python >=3.12) is HuggingFace's end-to-end robot-learning library; this skill embeds the robotics-specific glue (dataset shape, training/eval CLI, sim envs, teleoperation) and routes Hub mechanics (auth, upload/download, model cards, Jobs operations) to Robium's self-contained huggingface skill. LeRobot moves fast; every command below is either a direct upstream docstring/doc example fetched on 2026-07-10 or marked with how it was verified; re-check before relying on exact flags in a real project.

When to use this skill

  • Any manipulation/imitation-learning task: loading or recording a LeRobotDataset, training a policy (ACT, Diffusion, Pi0-family, SmolVLA, ...), evaluating a policy in simulation, teleoperating a robot arm.
  • The trigger phrases in the description: 'lerobot', 'manipulation policy', 'imitation learning', 'train a robot arm policy', 'ACT', 'diffusion policy'.
  • Cross-references: go to the sibling skill instead when the question is:
    • Hub auth, dataset/model upload-download, model cards, repo management, Dataset Viewer, and Jobs lifecycle mechanics → the self-contained huggingface skill. This skill keeps only LeRobot-specific artifact and training semantics inline.
    • Whether to use uv or Docker, GPU passthrough, headless/remote display → environments (load first if not already decided; see Key directives).
    • Deciding which dataset(s) to source or combine for a task → the data umbrella skill's territory.
    • Rendering/inspecting recorded episodes in depth → the rerun skill; LeRobot's own --viz extra and lerobot-dataset-viz script wrap Rerun directly, cross-referenced here by name, not re-taught.
    • Classical motion planning (no learned policy) → out of scope repo-wide; this skill and the manipulation vertical are learning-based only.
    • The NVIDIA Isaac Lab RL stack (GPU-parallel RL/IL training environments, prebuilt tasks, policy export) → isaac-lab.
    • The whole-stack decision this feeds into → architect (routes here).

Read the full file on GitHub · 419 lines

Files

What ships with it

6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 419 lines · 172 tokens per session scan B ab5d7c4f8a06

Subscribe to this mod's changes

lerobot is a skill published in the GitHub repository robium-ai/robium (9 stars, last pushed 7d ago), licensed MIT. It adds 172 tokens to every session and 6,976 once invoked, about $0.0009 per session on Opus 5. A static security scan graded it B with 1 finding (asks for root). It is 91% identical to lerobot, differing in 153 lines, and is treated as a copy.

Related

Other skills, from other repositories

spark-environment-setup

Set up a working ML training/inference environment on NVIDIA DGX Spark (GB10, aarch64, CUDA 13). Use when installing PyTorch/Unsloth/TRL/vLLM on DGX Spark, hitting libcudart or wheel-ABI errors on aarch64, or choosing between NGC containers and bare pip installs.

wshobson/agents · 76 tokens

spark-memory-thermal-ops

Manage unified memory and thermals during long-running ML jobs on NVIDIA DGX Spark. Use when planning memory headroom for a training run on GB10, when a job OOMs on unified memory, or when monitoring temperature and power during multi-hour training.

wshobson/agents · 59 tokens

spark-training-gotchas

Preflight and diagnose the ten known failure modes for ML training on NVIDIA DGX Spark. Use when a training run on DGX Spark fails to start, OOMs below the 128GB limit, slows down mid-run, or before any multi-hour training job on GB10.

wshobson/agents · 63 tokens

local-inference-tuning

Select and tune a local LLM inference engine for the user's hardware. Use when setting up or auditing local/private model serving, choosing between MLX, llama.cpp, Ollama, and vLLM, estimating model fit, deciding cache/storage policy, tuning batching and KV cache flags, running smoke benchmarks, or exposing an…

markoblogo/abvx-agent-skills · 76 tokens

yolo-export

Use when exporting or deploying Ultralytics YOLO models in Platform or code — the Platform Export tab and yolo export/model.export() for ONNX, TensorRT, CoreML, Core AI, OpenVINO, LiteRT, NCNN, ExecuTorch, and NPUs (RKNN, QNN, Hailo, Ascend, IMX, Axelera, DeepX), FP16/INT8 quantization, benchmarking, and non-Python…

ultralytics/skills · 117 tokens

gpu-debian-setup

Install and verify NVIDIA proprietary GPU drivers on Debian (including trixie/13) so local LLM tools (Ollama, llama.cpp, vLLM) can use the GPU. Covers nouveau blacklist, initramfs, the trixie nvidia-smi transitional-dummy gotcha and its official .run extraction fix, and verifying Ollama actually uses VRAM. Use…

pedroiff0/awesome-skills · 119 tokens