AI Skill MartBrowse skillsPromptsProgramsLearnWhat is a Skill?
 
← Back to list

Imitation Learning for Robot Manipulation

A decision-by-decision playbook for robot imitation learning: demo collection, policy choice, training, statistically honest evaluation, and on-robot deployment.

Dev & CodingAdvanced★ 407⑂ 51AI score 9/10Last updated: Nov 19, 2026

What it does

Walks through every decision in an imitation-learning (learning-from-demonstration) project for robot manipulation, in the order you actually face them:

  • Is IL the right tool? A comparison table against scripted control and sim RL
  • Demo collection design: how many demos, what to hold constant vs randomise, why recovery demos matter, and why idle frames make policies freeze
  • Observation & action design: joint vs end-effector, absolute vs delta, rotation representation, action chunking defaults (ACT 100 @ 50 Hz, Diffusion Policy 16/8 @ 10 Hz), history and the copycat problem, normalisation stats shipped with the checkpoint
  • Policy choice: a decision tree across BC MLP, ACT, Diffusion Policy, flow matching, and VLAs (SmolVLA, pi0/pi0.5, OpenVLA-OFT, GR00T), plus licence caveats
  • Training: episode-level splits, augmentation rules, and selecting checkpoints by rollouts rather than validation loss
  • Evaluation: fixed initial-condition sets, interleaved blind trials, Wilson intervals, Fisher/McNemar tests, trial-count sizing
  • Deployment: latency budget, sync vs temporal ensembling vs async execution, safety clamps, warm-up, open-loop replay test
  • Failure-mode table: drift, freezing, gripper chatter, oscillation, wild motions — with likely causes and fixes

Details live in seven references/ documents loaded on demand.

Who it's for

  • Robotics engineers and researchers collecting teleop demos and training behaviour-cloning policies
  • Teams adopting LeRobot, ACT, Diffusion Policy, or fine-tuning a VLA for the first time
  • Anyone stuck in the "loss looks fine but the robot fails" loop
  • Practitioners who need to report success rates defensibly

Example uses

  1. "I have 200 demos — ACT or Diffusion Policy?" → the decision tree weighs multimodality, data volume and robot setup, then cites published starting hyperparameters.
  2. "My policy doesn't move at episode start." → points at idle frames in demos or a stale normalisation stats file, and prescribes the open-loop replay test plus idle trimming.
  3. "Policy A got 8/10, B got 5/10 — can I say A is better?" → explains that p = 0.35 is no evidence, gives the trial counts needed and a Wilson-interval reporting template.

· · · Install guide · · ·

Try it now, no install

Paste this into Claude to use the skill without installing anything.

Read the instructions in this file and follow them to help me:
https://raw.githubusercontent.com/arpitg1304/robotics-agent-skills/HEAD/skills/imitation-learning/SKILL.md

What I want: (describe your task here)

If Claude can't open the link, open it yourself and paste the contents instead.

↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.

Install in the Claude app (no terminal)
  1. Download the ZIP with the button below.
  2. In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
  3. Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
↓ Download ZIP
Install in Claude Code

Let Claude do it — paste this into Claude Code

Install the skill I found on AI Skill Mart.
Copy the skills/imitation-learning folder from the GitHub repo arpitg1304/robotics-agent-skills into my ~/.claude/skills/imitation-learning/.
When it's done, tell me in one line what this skill can do.

Install with a command instead

git clone https://github.com/arpitg1304/robotics-agent-skills.git /tmp/robotics-agent-skills && mkdir -p ~/.claude/skills && cp -r /tmp/robotics-agent-skills/skills/imitation-learning ~/.claude/skills/

⚠ This is a third-party skill. Check the source repository before installing.

  1. Open a terminal.
  2. Clone the repository: git clone https://github.com/arpitg1304/robotics-agent-skills.git
  3. Create the skills directory if needed: mkdir -p ~/.claude/skills
  4. Copy just this skill: cp -r robotics-agent-skills/skills/imitation-learning ~/.claude/skills/
  5. Confirm the ~/.claude/skills/imitation-learning/references/ folder came along — the skill loads those files on demand.
  6. Restart Claude Code and test with a prompt like "how many demos do I need for a block-in-bowl task?" or "ACT vs Diffusion Policy".
  7. (Optional) Install the companion skills lerobot and robot-data-quality the same way for the full workflow.
View source on GitHub ↗License: Apache-2.0