Hardware-agnostic Python liquid-handler library: portable scripts run on Hamilton STAR, Tecan Freedom EVO, Opentrons OT-2, or a simulator without vendor lock-in. For protocol automation, method dev, plate reformatting, serial dilutions, and Python lab workflows.
SkillScore100Maintained
Automatic
◆Coding pack
Last verified 8/23/2026
What it changes
Passed 23 of 23 test cases with the skill, and 12 of 23 without it.
Without skill52%
With skill100%
Checks it passed that the model alone missed
Names the resource class Trough_1_Row_1_Col_4
Calls await lh.stop() to close hardware connection
Calls await lh.setup() to establish hardware connection
and 13 more in the full report
11 fixed12 passed either way0 still failing0 broke
Pass-rate lift
+48 pp
Tokens
+161%
Agent turns
0%
Response time
-39%
Model gemini-3.6-flashMeasured 8/23/2026v123 of 23 cases passed with skill
Tokens, turns and time describe resource use, not a dollar price.
See it in action
One of 11 test cases the skill fixed. Same model, same prompt, with and without the skill.
1 of 11
Prompt
What pip command is used to install PyLabRobot along with support for Hamilton STAR USB hardware drivers?
What was checked, without and with the skill
Checked
Without skill
With skill
Specifies pip install "pylabrobot[hamilton]" to install Hamilton extras
Missed
Passed
case-18 · gemini-3.6-flash · 8/23/2026 · answers are capped and redacted
What's inside
The instructions your model reads when the skill loads.
SKILL.md420 linessingle file
pylabrobot
Overview
PyLabRobot is an open-source Python library that abstracts liquid handling robot hardware behind a unified API. Write a protocol once and run it on any supported robot — Hamilton STAR, Tecan Freedom EVO, Opentrons OT-2, or a simulated backend — without changing the protocol code. PyLabRobot handles deck layout, resource management, and aspirate/dispense operations through a clean, async-first interface.
When to Use
Writing portable liquid handling protocols: You want a single Python script that works across Hamilton, Tecan, Opentrons, and a simulator without code changes.
Developing and testing protocols before robot time: Use the simulation backend to validate logic, volumes, and deck layouts without occupying physical hardware.
Automating plate reformatting and cherry-picking: Transfer specific wells between plates based on upstream data (e.g., hit compounds from a screen).
Building serial dilution curves: Systematically aspirate and dispense across a plate with precise volume steps.
Integrating liquid handling into Python data pipelines: Trigger robot actions from analysis code, LIMS queries, or machine learning models.
Rapid method development: Iterate quickly in Python rather than in vendor-specific scripting environments.
For Opentrons-specific features (temperature module control, built-in app integration), use the opentrons Python SDK instead; for multi-vendor portability use PyLabRobot.
Prerequisites
Python packages: pylabrobot
Optional backends: pylabrobot[hamilton] for Hamilton STAR, pylabrobot[opentrons] for OT-2
Data requirements: None — deck resources are defined in Python