Skip to content

C402 Prompts: AI Assistant Prompts for Human Data and Robot Learning

These prompts hand one practical job each to an AI assistant (Claude, ChatGPT, Gemini or another). Paste your own files and values where the square brackets are. Each prompt states what it needs, which tool it targets, how to check what comes back, and the field guide page whose facts it relies on.

An assistant can mix up the human rig and the robot’s cameras, invent a scaling rule, or quietly assume an action convention, as easily as a person can. The prompts tell it not to, and every one ends with a check you run yourself. Treat the output as a draft until that check passes.

Our robot has [a two-finger parallel gripper / a multi-finger hand: describe]. Using
Doshi, Huang and Coros (2023, arXiv:2311.01832), sort each task below into their three
cases: (1) same strategy with grippers as with hands; (2) not possible with handheld
parallel grippers within a time limit; (3) possible, but the strategy must change. For
each task, say which of the paper's four gripper limits applies (fewer degrees of freedom,
gripping width, fewer points of contact, bulk that cannot reach into openings), and
whether bare-hand video, a handheld gripper or teleoperation is the better way to record it.
Mark any task you are unsure about instead of guessing.
Tasks: [paste list]

Compare my human rig with my robot, gap by gap

Section titled “Compare my human rig with my robot, gap by gap”
  • Inputs: a description of the human capture rig and of the robot, each in its own list.
  • Tool: none; a written comparison.
  • Relies on: The five gaps and Lesson 2.
  • How to check: every camera in the answer is labelled as on the person or on the robot, and each named bridge links to a published system on the field guide page.
Human capture rig (on the person): [cameras and where they are worn, hand tracking, IMU,
any gloves or handheld devices].
Robot (at deployment): [arm, end-effector, cameras and where they are mounted, whether the
head moves].
For each of the five embodiment gaps (morphology, kinematics and speed, viewpoint, sensors,
appearance), describe the mismatch between our human data and the robot, and name a
published bridge for it (camera-frame actions from SLAM, matched camera layouts, time
rescaling, per-embodiment normalisation, masking or inpainting, 3D keypoints, latent
alignment). Keep the human rig and the robot in separate columns throughout and never
describe a robot camera as part of the human rig. Do not recommend a camera count or
camera angles; work from the hardware as described.

Audit a LeRobot dataset’s action convention

Section titled “Audit a LeRobot dataset’s action convention”
  • Inputs: a dataset repo id on Hugging Face.
  • Tool: Python with huggingface_hub, pandas and NumPy.
  • Relies on: Open Handheld-Gripper Datasets (adapted from the prompt there) and the lab.
  • How to check: run it on RoboX lerobot-dataset (action is a per-frame delta) and UMI-Live (action is a same-frame copy); it must tell the two apart, matching their cards.
Write a Python script that, for a LeRobot v3.0 dataset on Hugging Face, reads
meta/info.json and the first Parquet file under data/, and for each of the first five
episodes reports: whether action[t] equals observation.state[t], equals
observation.state[t+1], or equals observation.state[t+1] - observation.state[t] for the
non-rotation channels (with the largest absolute difference for each test); what the
action holds on each episode's last frame; whether each episode's first pose is zero; and
the declared fps. Use huggingface_hub to download files and pandas to read Parquet. Do not
assume channel names or orders: print them from meta/info.json. If the dataset is gated,
stop with a clear message instead of trying to get around it.
Repo id: [owner/name]

Build relative action chunks from a LeRobot dataset

Section titled “Build relative action chunks from a LeRobot dataset”
  • Inputs: the dataset’s state layout and action convention, from its card.
  • Tool: PyTorch with LeRobot’s LeRobotDataset.
  • Relies on: Relative beats delta and absolute and the UMI policies prompt (adapted).
  • How to check: at the first frame of a chunk the relative pose is the identity; a chunk never crosses an episode boundary; LeRobot’s action_is_pad is respected.
Write a PyTorch dataset wrapper around lerobot.datasets.LeRobotDataset for [repo id]. The
state is [layout, e.g. per arm x, y, z, rx, ry, rz, gripper, poses relative to each arm's
episode start, rotation vectors]; the stored action is [convention from the card]. For a
query index t0 and horizon H, use delta_timestamps to load the next H states, express each
as an SE(3) transform relative to the pose at t0 (compose transforms; do not subtract
rotation vectors), keep gripper values as stored, and return a mask from action_is_pad or
observation.state_is_pad for steps past the episode end. Include a unit test where a still
gripper gives identity transforms.

Move wrist poses out of a moving head camera

Section titled “Move wrist poses out of a moving head camera”
  • Inputs: per-frame camera poses from SLAM, wrist poses in the camera frame, an IMU gravity vector if you have one.
  • Tool: Python with NumPy and SciPy.
  • Relies on: Wrist: from camera frame to robot frame (adapted from the prompt on that page) and Removing head motion from hand actions.
  • How to check: the script’s own test, a pure head rotation with a still hand, gives zero wrist action.
Our capture gives per-frame camera poses T_world_cam(t) from SLAM and wrist poses in the
camera frame. Write numpy/scipy code that (1) moves wrist poses into a gravity-aligned world
frame, using an IMU gravity vector when available and a fitted table-plane normal otherwise,
and (2) expresses each future wrist pose in the camera frame at the current time t, as
inverse(T_world_cam(t)) · T_world_cam(t+i) · p_wrist(t+i). State every frame convention
(which frame each transform maps from and to) in comments. Include a test where a pure head
rotation with a still hand produces zero wrist action.
  • Inputs: 3D hand keypoints per frame and the robot hand’s URDF.
  • Tool: dex-retargeting, or CasADi with IPOPT.
  • Relies on: Fingers: task-space vector optimisation (adapted from the prompt on that page).
  • How to check: joint limits are never exceeded; the per-frame residual report shows where the robot hand cannot reach the human pose; replaying the result in a viewer shows no sudden jumps.
I have [rate] Hz 3D hand keypoints ([N] per hand, [MANO / other] order) and a URDF for
[robot hand]. Write a Python retargeter with dex-retargeting or CasADi/IPOPT that:
1. Matches palm-to-fingertip and palm-to-middle-phalanx vectors with per-finger scale factors.
2. Enforces the URDF joint limits.
3. Warm-starts each frame from the previous solution, adds a temporal smoothness term, and
low-pass filters the output.
Report per-frame residuals so I can find frames where the robot cannot reach the human pose.
  • Inputs: your robot and human datasets, their sizes, and the robot’s camera layout.
  • Tool: your training framework.
  • Relies on: Co-Training on Human and Robot Data (adapted from the prompt there).
  • How to check: every recommendation names the paper and table it comes from, and the plan includes a robot-only baseline.
We are co-training a manipulation policy on [N_R] teleoperated robot demonstrations
([robot, end-effector, robot camera layout, control rate]) and [N_H] human demonstrations
recorded with [human capture rig: cameras on the person, hand tracking, SLAM]. Using
EgoMimic (arXiv 2410.24221), DexWild (2505.07813) and π0.5 + ego (2512.22414) as
references, write out: (1) how to express human and robot action chunks in a common frame;
(2) how to measure our human-to-robot speed ratio and rescale the chunk horizon;
(3) per-embodiment normalisation of states and actions; (4) how to handle robot sensors our
human data lacks; (5) a batch-ratio ablation (1:1, 1:2, 1:5 robot-to-human) with a
robot-only and a human-only baseline, and what each paper found. Cite the table for every
number and do not state an optimal ratio for our setup.

Check a scaling claim before it goes in a plan

Section titled “Check a scaling claim before it goes in a plan”
  • Inputs: the claim, and the paper, figure or table it cites.
  • Tool: none; or Python with NumPy and SciPy for refitting your own measurements.
  • Relies on: Data Scaling Evidence and Lesson 4.
  • How to check: the answer gives the tested range and metric for every claim, and flags any extrapolation.
Here is a claim from our planning document: [paste]. It cites [paper, figure or table].
Check it against the source: (1) what was scaled, over what range, with which metric (loss,
offline action error, video quality or real-robot success); (2) whether the claim extends
the result beyond the tested range; (3) what else was in place (aligned human data, a
pretrained base model, robot data in the mix); (4) whether it compares numbers across
different papers' tasks and robots. If the claim uses EgoScale's fit
L = 0.024 - 0.003·ln(D), note that read with D in hours it falls below zero inside the
tested range, so only its shape can be used. Rewrite the claim so it says only what the
source measured.

Pick the method family closest to our setup

Section titled “Pick the method family closest to our setup”
  • Inputs: your robot, its cameras, the human data you have or plan, and your robot-data budget.
  • Tool: none; a written comparison.
  • Relies on: Human-to-Robot Methods Compared (adapted from the prompt there).
  • How to check: each family it names appears on the methods page with the robot and budget it quotes; no numbers are compared across rows.
We want to train manipulation policies from human demonstrations. Our setup:
- Target robot and end-effector: [describe]
- Robot cameras at deployment: [list them]
- Human capture hardware or data we already have: [describe; keep separate from the robot]
- Robot teleoperation budget: [none / a few demos per task / hundreds per task]
- Task precision: [tolerant pick-and-place / tight insertion]
Using the method families on the field guide's methods page (handheld grippers and worn
hands; zero robot data from bare-hand video; co-training; pretraining on 3D hand
trajectories; latent actions and world models; visual encoders), list the two or three
families whose published setups are closest to ours, the robot and robot-data budget in
each closest paper, and what we would need to measure to know whether the result transfers
to our setup. Cite the paper for every number, and do not compare headline numbers across
different papers.