K-Dense-AI/scientific-agent-skills / skills/opentrons-integration
opentrons-integration
VerifiedAuthors, reviews, migrates, simulates, and troubleshoots official Opentrons Python Protocol API v2 protocols for Flex and OT-2 robots. Use for robot-specific liquid handling, deck and labware setup, pipettes, modules, runtime parameters, liquid classes, and Opentrons App analysis. Use pylabrobot instead when one workflow must support multiple robot vendors.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 14.9 KB |
| references/api_reference.md | markdown | 12.6 KB |
| references/liquid_handling.md | markdown | 12.9 KB |
| references/migration-api-2-19-to-2-29.md | markdown | 8.5 KB |
| references/modules_and_deck.md | markdown | 11.9 KB |
| references/protocol_authoring.md | markdown | 11.4 KB |
| references/sources.md | markdown | 9.1 KB |
| references/validation_and_operations.md | markdown | 10.2 KB |
| requirements-flex.txt | markdown | 18 B |
| requirements-ot2.txt | markdown | 17 B |
| scripts/absorbance_reader_template.py | script | 2.3 KB |
| scripts/basic_protocol_template.py | script | 1.8 KB |
| scripts/ot2_basic_protocol_template.py | script | 1.7 KB |
| scripts/pcr_setup_template.py | script | 4.7 KB |
| scripts/runtime_parameters_template.py | script | 3.2 KB |
| scripts/serial_dilution_template.py | script | 3.3 KB |
scripts/serial_dilution_template.py
View on GitHub"""Full-plate 1:2 serial dilution on Opentrons Flex.
Physical setup:
- Put at least 12 mL diluent in reservoir A1.
- Put 200 µL stock in every well of plate column 1.
- Leave plate columns 2-12 empty.
- Leave reservoir A12 empty for 800 µL of liquid waste.
The protocol fills columns 2-12 with 100 µL diluent, serially transfers
100 µL across the plate, and removes 100 µL from column 12 so every well
finishes at 100 µL. Simulate, dry-run, and validate the assay before use.
"""
from opentrons import protocol_api
metadata = {
"protocolName": "Flex 8-Channel Serial Dilution Template",
"author": "Customize before use",
"description": "Create eleven 1:2 dilution steps across a 96-well plate.",
}
requirements = {
"robotType": "Flex",
"apiLevel": "2.29",
}
def run(protocol: protocol_api.ProtocolContext) -> None:
"""Perform the same serial dilution across all eight plate rows."""
tips_1 = protocol.load_labware(
"opentrons_flex_96_tiprack_200ul",
"D1",
label="Tips 1",
)
tips_2 = protocol.load_labware(
"opentrons_flex_96_tiprack_200ul",
"C1",
label="Tips 2",
)
reservoir = protocol.load_labware(
"nest_12_reservoir_15ml",
"D2",
label="Diluent and Liquid Waste Reservoir",
)
plate = protocol.load_labware(
"corning_96_wellplate_360ul_flat",
"C2",
label="Dilution Plate",
)
protocol.load_trash_bin("A3")
pipette = protocol.load_instrument(
instrument_name="flex_8channel_1000",
mount="left",
tip_racks=[tips_1, tips_2],
)
diluent = protocol.define_liquid(
name="Diluent",
description="Buffer or media used for the dilution series",
display_color="#9ECAE1",
)
stock = protocol.define_liquid(
name="Stock",
description="Starting material at the highest concentration",
display_color="#DE2D26",
)
reservoir.load_liquid(
wells=["A1"],
volume=12_000,
liquid=diluent,
)
plate.load_liquid(
wells=plate.columns()[0],
volume=200,
liquid=stock,
)
reservoir.load_empty(wells=["A12"])
# With a full 8-channel pipette, A-row wells address entire columns.
column_anchors = plate.rows()[0]
with protocol.group_steps(
name="Add Diluent",
description="Fill columns 2-12 with 100 µL diluent.",
):
pipette.transfer(
volume=100,
source=reservoir["A1"],
dest=column_anchors[1:],
new_tip="once",
)
with protocol.group_steps(
name="Serial Dilution",
description="Transfer and mix through eleven 1:2 dilution steps.",
):
pipette.transfer(
volume=100,
source=column_anchors[:11],
dest=column_anchors[1:],
mix_after=(3, 50),
new_tip="always",
)
with protocol.group_steps(
name="Equalize Final Volume",
description="Remove 100 µL from every well in column 12.",
):
pipette.pick_up_tip()
pipette.aspirate(100, column_anchors[11])
# All eight channels dispense into one separate reservoir trough.
pipette.dispense(100, reservoir["A12"])
pipette.drop_tip()
protocol.comment("Serial dilution complete: columns 1-12 contain 100 µL per well.")
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| planning-and-task-breakdownaddyosmani/agent-skillsBreaks work into ordered tasks. Use when you have a spec or clear requirements and need to break work into implementable tasks. Use when a task feels too large to start, when you need to estimate scope, or when parallel work is possible. | Stars: 119k | Updated | Claude CodeCodex | Verified | Install |
| screenpipethedotmack/claude-memSearch screen and audio history recorded by Screenpipe and optionally save selected context into claude-mem. Use when the user asks to recall desktop activity, a meeting, or something seen in another app through Screenpipe. | Stars: 118k | Updated | Claude CodeCodex | Verified | Install |
| contact-widgetnexu-io/open-designSelf-contained floating chat widget with welcome screen, social links, meeting button, and message input. Single HTML file, zero dependencies. | Stars: 108k | Updated | Claude CodeCodex | Verified | Install |
| meeting-notesnexu-io/open-designMeeting notes page — title bar with attendees, agenda checklist, decisions block, action items table with owners + dates, and a "next meeting" footer. Use when the brief mentions "meeting notes", "minutes", "1:1 notes", "all-hands recap", or "会议纪要". | Stars: 108k | Updated | Claude CodeCodex | Verified | Install |