Back to Skills

opentrons

Expert guidance for Opentrons Python API v2 - automated liquid handling, protocol development, labware management, and hardware module integration for OT-2 and Flex robots

15stars2forksUpdated 3/3/2026

Security Assessment

Safe(100/100)
Security Score100/100

About opentrons

The Opentrons Python API v2 provides a powerful framework for automating laboratory tasks, particularly in liquid handling. By utilizing Python protocols, users can control robots like the OT-2 and Flex to execute complex workflows with reproducible precision. This skill transforms traditionally manual tasks, such as pipetting, temperature control, and magnetic separation, into automated procedures, saving valuable time and reducing human error. Whether it's for scientific research, pharmaceutical testing, or academic labs, the Opentrons API ensures that liquid handling protocols are efficient, accurate, and easy to manage.

FAQ

What types of robots does the Opentrons Python API v2 support?

The API supports the OT-2 and Flex robots. Both platforms use the same API syntax, though there are platform-specific parameters like deck slots and module options for the Flex.

Can I use the Opentrons skill with non-Opentrons liquid handling robots?

No, the Opentrons skill is specifically designed for Opentrons robots (OT-2 and Flex) and is not compatible with other liquid handling robots.

Are there specialized subskills available?

Yes, there are several specialized subskills, including `heater-shaker` for temperature control with mixing, `absorbance-reader` for spectrophotometry, and `gripper` for automated labware movement (available on Flex only).

What is the protocol structure in Opentrons Python API v2?

Every protocol follows a structure that includes metadata for identification, requirements for the robot specification, and a main function where setup and commands are executed to control the robot's actions.

Is the Opentrons Python API v2 compatible with all versions of the Opentrons robots?

The API is compatible with the OT-2 and Flex robots, but certain features, like trash bin handling and staging area slots, are specific to the Flex robot and require API 2.16+.

Install opentrons

Download and extract the skill files to your .claude/skills/ directory.

Quick Setup:

  1. Copy the skill folder to .claude/skills/
  2. Claude will automatically detect and use the skill

Repository

jkitchin/skillz