Agent skill · Backend & API

opentrons-protocol-api

Python API v2 for Opentrons OT-2/Flex liquid handlers: protocols as Python files with metadata and run(); control pipettes, labware, and modules (thermocycler, heater-shaker, magnetic, temperature). Simulate via opentrons_simulate then upload. Use PyLabRobot for vendor-agnostic scripts (Hamilton, Tecan).

BioTender-maxgithub.com/BioTender-maxGitHub ↗
claude-codeNOASSERTION
Install
npx skills add BioTender-max/awesome-bio-agent-skills --skill opentrons-protocol-api --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 30 KB
Bundled scripts: none
Path: skills/sciagent/opentrons-protocol-api/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 135
Language: Python

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Opentrons Python Protocol API ## Overview The Opentrons Protocol API v2 lets you write liquid handling protocols as plain Python files that run on OT-2 or Flex robots. Every protocol defines a `metadata` dictionary, an optional `requirements` dictionary, and a `run(protocol)` function. The `ProtocolContext` object passed to `run()` exposes all deck setup, pipette operations, module control, and utility methods. Protocols can be simulated on any computer with `opentrons_simulate` before uploading to the robot through the Opentrons App or HTTP API. ## When to Use - **Setting up PCR reactions**: Distribute master mix from a tube rack into a thermocycler plate, add template DNA from individual tubes, then execute a PCR profile automatically. - **Running serial dilutions**: Programmatically step a multi-channel pipette across a 96-well plate to create 2-fold or custom dilution curves with defined diluent volumes. - **Performing ELISA plate layouts**: Add blocking buffer, primary antibody, secondary antibody, and substrate to defined wells with tip changes between each reagent. - **Automating magnetic bead cleanups**: Engage/disengage the magnetic module, aspirate supernatant, wash wit

What's inside
Steps it walks through
  1. Overview
  2. When to Use
  3. Prerequisites
  4. Quick Start
  5. Core API
  6. Module 1: Protocol Metadata and Deck Setup
  7. Module 2: Pipette Operations
  8. Module 3: transfer() Shortcut
  9. Module 4: Labware, Liquids, and Well Access
  10. Module 5: Hardware Modules
  11. Module 6: Advanced Protocol Features
  12. Common Workflows
  13. Workflow 1: PCR Setup with Thermocycler
  14. Workflow 2: ELISA Serial Dilution with Multi-Channel Pipette
Commands it runs
pip install opentrons
Verify installation and simulate a protocol locally
opentrons_simulate my_protocol.py
Simulate locally — no robot needed
opentrons_simulate simple_reagent_distribution.py
opentrons_simulate my_pcr_setup.py
More from awesome-bio-agent-skills
All skills →
About this skill
What does the opentrons-protocol-api skill do?

Python API v2 for Opentrons OT-2/Flex liquid handlers: protocols as Python files with metadata and run(); control pipettes, labware, and modules (thermocycler, heater-shaker, magnetic, temperature). Simulate via opentrons_simulate then upload. Use PyLabRobot for vendor-agnostic scripts (Hamilton, Tecan).

How do I install it?

Run `npx skills add BioTender-max/awesome-bio-agent-skills --skill opentrons-protocol-api --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From BioTender-max/awesome-bio-agent-skills, a repository with 135 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going