[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7EPG0HM6NFWV6S3R0R5WKC5":3,"skill-same:01M7EPG0HM6NFWV6S3R0R5WKC5":66},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":14,"repositoryHtmlUrl":27,"repositoryHomepageUrl":28,"ownerHtmlUrl":29,"ownerBlogUrl":6,"ownerDescription":30,"updatedAt":31,"install":32,"resources":45},"01M7EPG0HM6NFWV6S3R0R5WKC5","opentrons-integration",null,"Lab automation platform for Flex\u002FOT-2 robots. Write Protocol API v2 protocols, liquid handling, hardware modules (heater-shaker, thermocycler), labware management, for automated pipetting workflows.","marnixGeerkens\u002Frocketlauncher-claude-code","marnixGeerkens","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F143275741?v=4","01M7EJY825SFPHDDZNFDAJHCA9","Marnix Geerkens","01M7EJY82TBA6ABXJ62JWR9B9F",0,"MIT","https:\u002F\u002Fgithub.com\u002FmarnixGeerkens\u002Frocketlauncher-claude-code\u002Fblob\u002Fmain\u002Fcomponents\u002Fskills\u002Fscientific\u002Fopentrons-integration\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: opentrons-integration\ndescription: \"Lab automation platform for Flex\u002FOT-2 robots. Write Protocol API v2 protocols, liquid handling, hardware modules (heater-shaker, thermocycler), labware management, for automated pipetting workflows.\"\n---\n\n# Opentrons Integration\n\n## Overview\n\nOpentrons is a Python-based lab automation platform for Flex and OT-2 robots. Write Protocol API v2 protocols for liquid handling, control hardware modules (heater-shaker, thermocycler), manage labware, for automated pipetting workflows.\n\n## When to Use This Skill\n\nThis skill should be used when:\n- Writing Opentrons Protocol API v2 protocols in Python\n- Automating liquid handling workflows on Flex or OT-2 robots\n- Controlling hardware modules (temperature, magnetic, heater-shaker, thermocycler)\n- Setting up labware configurations and deck layouts\n- Implementing complex pipetting operations (serial dilutions, plate replication, PCR setup)\n- Managing tip usage and optimizing protocol efficiency\n- Working with multi-channel pipettes for 96-well plate operations\n- Simulating and testing protocols before robot execution\n\n## Core Capabilities\n\n### 1. Protocol Structure and Metadata\n\nEvery Opentrons protocol follows a standard structure:\n\n```python\nfrom opentrons import protocol_api\n\n# Metadata\nmetadata = {\n    'protocolName': 'My Protocol',\n    'author': 'Name \u003Cemail@example.com>',\n    'description': 'Protocol description',\n    'apiLevel': '2.19'  # Use latest available API version\n}\n\n# Requirements (optional)\nrequirements = {\n    'robotType': 'Flex',  # or 'OT-2'\n    'apiLevel': '2.19'\n}\n\n# Run function\ndef run(protocol: protocol_api.ProtocolContext):\n    # Protocol commands go here\n    pass\n```\n\n**Key elements:**\n- Import `protocol_api` from `opentrons`\n- Define `metadata` dict with protocolName, author, description, apiLevel\n- Optional `requirements` dict for robot type and API version\n- Implement `run()` function receiving `ProtocolContext` as parameter\n- All protocol logic goes inside the `run()` function\n\n### 2. Loading Hardware\n\n**Loading Instruments (Pipettes):**\n\n```python\ndef run(protocol: protocol_api.ProtocolContext):\n    # Load pipette on specific mount\n    left_pipette = protocol.load_instrument(\n        'p1000_single_flex',  # Instrument name\n        'left',               # Mount: 'left' or 'right'\n        tip_racks=[tip_rack]  # List of tip rack labware objects\n    )\n```\n\nCommon pipette names:\n- Flex: `p50_single_flex`, `p1000_single_flex`, `p50_multi_flex`, `p1000_multi_flex`\n- OT-2: `p20_single_gen2`, `p300_single_gen2`, `p1000_single_gen2`, `p20_multi_gen2`, `p300_multi_gen2`\n\n**Loading Labware:**\n\n```python\n# Load labware directly on deck\nplate = protocol.load_labware(\n    'corning_96_wellplate_360ul_flat',  # Labware API name\n    'D1',                                # Deck slot (Flex: A1-D3, OT-2: 1-11)\n    label='Sample Plate'                 # Optional display label\n)\n\n# Load tip rack\ntip_rack = protocol.load_labware('opentrons_flex_96_tiprack_1000ul', 'C1')\n\n# Load labware on adapter\nadapter = protocol.load_adapter('opentrons_flex_96_tiprack_adapter', 'B1')\ntips = adapter.load_labware('opentrons_flex_96_tiprack_200ul')\n```\n\n**Loading Modules:**\n\n```python\n# Temperature module\ntemp_module = protocol.load_module('temperature module gen2', 'D3')\ntemp_plate = temp_module.load_labware('corning_96_wellplate_360ul_flat')\n\n# Magnetic module\nmag_module = protocol.load_module('magnetic module gen2', 'C2')\nmag_plate = mag_module.load_labware('nest_96_wellplate_100ul_pcr_full_skirt')\n\n# Heater-Shaker module\nhs_module = protocol.load_module('heaterShakerModuleV1', 'D1')\nhs_plate = hs_module.load_labware('corning_96_wellplate_360ul_flat')\n\n# Thermocycler module (takes up specific slots automatically)\ntc_module = protocol.load_module('thermocyclerModuleV2')\ntc_plate = tc_module.load_labware('nest_96_wellplate_100ul_pcr_full_skirt')\n```\n\n### 3. Liquid Handling Operations\n\n**Basic Operations:**\n\n```python\n# Pick up tip\npipette.pick_up_tip()\n\n# Aspirate (draw liquid in)\npipette.aspirate(\n    volume=100,           # Volume in µL\n    location=source['A1'] # Well or location object\n)\n\n# Dispense (expel liquid)\npipette.dispense(\n    volume=100,\n    location=dest['B1']\n)\n\n# Drop tip\npipette.drop_tip()\n\n# Return tip to rack\npipette.return_tip()\n```\n\n**Complex Operations:**\n\n```python\n# Transfer (combines pick_up, aspirate, dispense, drop_tip)\npipette.transfer(\n    volume=100,\n    source=source_plate['A1'],\n    dest=dest_plate['B1'],\n    new_tip='always'  # 'always', 'once', or 'never'\n)\n\n# Distribute (one source to multiple destinations)\npipette.distribute(\n    volume=50,\n    source=reservoir['A1'],\n    dest=[plate['A1'], plate['A2'], plate['A3']],\n    new_tip='once'\n)\n\n# Consolidate (multiple sources to one destination)\npipette.consolidate(\n    volume=50,\n    source=[plate['A1'], plate['A2'], plate['A3']],\n    dest=reservoir['A1'],\n    new_tip='once'\n)\n```\n\n**Advanced Techniques:**\n\n```python\n# Mix (aspirate and dispense in same location)\npipette.mix(\n    repetitions=3,\n    volume=50,\n    location=plate['A1']\n)\n\n# Air gap (prevent dripping)\npipette.aspirate(100, source['A1'])\npipette.air_gap(20)  # 20µL air gap\npipette.dispense(120, dest['A1'])\n\n# Blow out (expel remaining liquid)\npipette.blow_out(location=dest['A1'].top())\n\n# Touch tip (remove droplets on tip exterior)\npipette.touch_tip(location=plate['A1'])\n```\n\n**Flow Rate Control:**\n\n```python\n# Set flow rates (µL\u002Fs)\npipette.flow_rate.aspirate = 150\npipette.flow_rate.dispense = 300\npipette.flow_rate.blow_out = 400\n```\n\n### 4. Accessing Wells and Locations\n\n**Well Access Methods:**\n\n```python\n# By name\nwell_a1 = plate['A1']\n\n# By index\nfirst_well = plate.wells()[0]\n\n# All wells\nall_wells = plate.wells()  # Returns list\n\n# By rows\nrows = plate.rows()  # Returns list of lists\nrow_a = plate.rows()[0]  # All wells in row A\n\n# By columns\ncolumns = plate.columns()  # Returns list of lists\ncolumn_1 = plate.columns()[0]  # All wells in column 1\n\n# Wells by name (dictionary)\nwells_dict = plate.wells_by_name()  # {'A1': Well, 'A2': Well, ...}\n```\n\n**Location Methods:**\n\n```python\n# Top of well (default: 1mm below top)\npipette.aspirate(100, well.top())\npipette.aspirate(100, well.top(z=5))  # 5mm above top\n\n# Bottom of well (default: 1mm above bottom)\npipette.aspirate(100, well.bottom())\npipette.aspirate(100, well.bottom(z=2))  # 2mm above bottom\n\n# Center of well\npipette.aspirate(100, well.center())\n```\n\n### 5. Hardware Module Control\n\n**Temperature Module:**\n\n```python\n# Set temperature\ntemp_module.set_temperature(celsius=4)\n\n# Wait for temperature\ntemp_module.await_temperature(celsius=4)\n\n# Deactivate\ntemp_module.deactivate()\n\n# Check status\ncurrent_temp = temp_module.temperature  # Current temperature\ntarget_temp = temp_module.target  # Target temperature\n```\n\n**Magnetic Module:**\n\n```python\n# Engage (raise magnets)\nmag_module.engage(height_from_base=10)  # mm from labware base\n\n# Disengage (lower magnets)\nmag_module.disengage()\n\n# Check status\nis_engaged = mag_module.status  # 'engaged' or 'disengaged'\n```\n\n**Heater-Shaker Module:**\n\n```python\n# Set temperature\nhs_module.set_target_temperature(celsius=37)\n\n# Wait for temperature\nhs_module.wait_for_temperature()\n\n# Set shake speed\nhs_module.set_and_wait_for_shake_speed(rpm=500)\n\n# Close labware latch\nhs_module.close_labware_latch()\n\n# Open labware latch\nhs_module.open_labware_latch()\n\n# Deactivate heater\nhs_module.deactivate_heater()\n\n# Deactivate shaker\nhs_module.deactivate_shaker()\n```\n\n**Thermocycler Module:**\n\n```python\n# Open lid\ntc_module.open_lid()\n\n# Close lid\ntc_module.close_lid()\n\n# Set lid temperature\ntc_module.set_lid_temperature(celsius=105)\n\n# Set block temperature\ntc_module.set_block_temperature(\n    temperature=95,\n    hold_time_seconds=30,\n    hold_time_minutes=0.5,\n    block_max_volume=50  # µL per well\n)\n\n# Execute profile (PCR cycling)\nprofile = [\n    {'temperature': 95, 'hold_time_seconds': 30},\n    {'temperature': 57, 'hold_time_seconds': 30},\n    {'temperature': 72, 'hold_time_seconds': 60}\n]\ntc_module.execute_profile(\n    steps=profile,\n    repetitions=30,\n    block_max_volume=50\n)\n\n# Deactivate\ntc_module.deactivate_lid()\ntc_module.deactivate_block()\n```\n\n**Absorbance Plate Reader:**\n\n```python\n# Initialize and read\nresult = plate_reader.read(wavelengths=[450, 650])\n\n# Access readings\nabsorbance_data = result  # Dict with wavelength keys\n```\n\n### 6. Liquid Tracking and Labeling\n\n**Define Liquids:**\n\n```python\n# Define liquid types\nwater = protocol.define_liquid(\n    name='Water',\n    description='Ultrapure water',\n    display_color='#0000FF'  # Hex color code\n)\n\nsample = protocol.define_liquid(\n    name='Sample',\n    description='Cell lysate sample',\n    display_color='#FF0000'\n)\n```\n\n**Load Liquids into Wells:**\n\n```python\n# Load liquid into specific wells\nreservoir['A1'].load_liquid(liquid=water, volume=50000)  # µL\nplate['A1'].load_liquid(liquid=sample, volume=100)\n\n# Mark wells as empty\nplate['B1'].load_empty()\n```\n\n### 7. Protocol Control and Utilities\n\n**Execution Control:**\n\n```python\n# Pause protocol\nprotocol.pause(msg='Replace tip box and resume')\n\n# Delay\nprotocol.delay(seconds=60)\nprotocol.delay(minutes=5)\n\n# Comment (appears in logs)\nprotocol.comment('Starting serial dilution')\n\n# Home robot\nprotocol.home()\n```\n\n**Conditional Logic:**\n\n```python\n# Check if simulating\nif protocol.is_simulating():\n    protocol.comment('Running in simulation mode')\nelse:\n    protocol.comment('Running on actual robot')\n```\n\n**Rail Lights (Flex only):**\n\n```python\n# Turn lights on\nprotocol.set_rail_lights(on=True)\n\n# Turn lights off\nprotocol.set_rail_lights(on=False)\n```\n\n### 8. Multi-Channel and 8-Channel Pipetting\n\nWhen using multi-channel pipettes:\n\n```python\n# Load 8-channel pipette\nmulti_pipette = protocol.load_instrument(\n    'p300_multi_gen2',\n    'left',\n    tip_racks=[tips]\n)\n\n# Access entire column with single well reference\nmulti_pipette.transfer(\n    volume=100,\n    source=source_plate['A1'],  # Accesses entire column 1\n    dest=dest_plate['A1']       # Dispenses to entire column 1\n)\n\n# Use rows() for row-wise operations\nfor row in plate.rows():\n    multi_pipette.transfer(100, reservoir['A1'], row[0])\n```\n\n### 9. Common Protocol Patterns\n\n**Serial Dilution:**\n\n```python\ndef run(protocol: protocol_api.ProtocolContext):\n    # Load labware\n    tips = protocol.load_labware('opentrons_flex_96_tiprack_200ul', 'D1')\n    reservoir = protocol.load_labware('nest_12_reservoir_15ml', 'D2')\n    plate = protocol.load_labware('corning_96_wellplate_360ul_flat', 'D3')\n\n    # Load pipette\n    p300 = protocol.load_instrument('p300_single_flex', 'left', tip_racks=[tips])\n\n    # Add diluent to all wells except first\n    p300.transfer(100, reservoir['A1'], plate.rows()[0][1:])\n\n    # Serial dilution across row\n    p300.transfer(\n        100,\n        plate.rows()[0][:11],  # Source: wells 0-10\n        plate.rows()[0][1:],   # Dest: wells 1-11\n        mix_after=(3, 50),     # Mix 3x with 50µL after dispense\n        new_tip='always'\n    )\n```\n\n**Plate Replication:**\n\n```python\ndef run(protocol: protocol_api.ProtocolContext):\n    # Load labware\n    tips = protocol.load_labware('opentrons_flex_96_tiprack_1000ul', 'C1')\n    source = protocol.load_labware('corning_96_wellplate_360ul_flat', 'D1')\n    dest = protocol.load_labware('corning_96_wellplate_360ul_flat', 'D2')\n\n    # Load pipette\n    p1000 = protocol.load_instrument('p1000_single_flex', 'left', tip_racks=[tips])\n\n    # Transfer from all wells in source to dest\n    p1000.transfer(\n        100,\n        source.wells(),\n        dest.wells(),\n        new_tip='always'\n    )\n```\n\n**PCR Setup:**\n\n```python\ndef run(protocol: protocol_api.ProtocolContext):\n    # Load thermocycler\n    tc_mod = protocol.load_module('thermocyclerModuleV2')\n    tc_plate = tc_mod.load_labware('nest_96_wellplate_100ul_pcr_full_skirt')\n\n    # Load tips and reagents\n    tips = protocol.load_labware('opentrons_flex_96_tiprack_200ul', 'C1')\n    reagents = protocol.load_labware('opentrons_24_tuberack_nest_1.5ml_snapcap', 'D1')\n\n    # Load pipette\n    p300 = protocol.load_instrument('p300_single_flex', 'left', tip_racks=[tips])\n\n    # Open thermocycler lid\n    tc_mod.open_lid()\n\n    # Distribute master mix\n    p300.distribute(\n        20,\n        reagents['A1'],\n        tc_plate.wells(),\n        new_tip='once'\n    )\n\n    # Add samples (example for first 8 wells)\n    for i, well in enumerate(tc_plate.wells()[:8]):\n        p300.transfer(5, reagents.wells()[i+1], well, new_tip='always')\n\n    # Run PCR\n    tc_mod.close_lid()\n    tc_mod.set_lid_temperature(105)\n\n    # PCR profile\n    tc_mod.set_block_temperature(95, hold_time_seconds=180)\n\n    profile = [\n        {'temperature': 95, 'hold_time_seconds': 15},\n        {'temperature': 60, 'hold_time_seconds': 30},\n        {'temperature': 72, 'hold_time_seconds': 30}\n    ]\n    tc_mod.execute_profile(steps=profile, repetitions=35, block_max_volume=25)\n\n    tc_mod.set_block_temperature(72, hold_time_minutes=5)\n    tc_mod.set_block_temperature(4)\n\n    tc_mod.deactivate_lid()\n    tc_mod.open_lid()\n```\n\n## Best Practices\n\n1. **Always specify API level**: Use the latest stable API version in metadata\n2. **Use meaningful labels**: Label labware for easier identification in logs\n3. **Check tip availability**: Ensure sufficient tips for protocol completion\n4. **Add comments**: Use `protocol.comment()` for debugging and logging\n5. **Simulate first**: Always test protocols in simulation before running on robot\n6. **Handle errors gracefully**: Add pauses for manual intervention when needed\n7. **Consider timing**: Use delays when protocols require incubation periods\n8. **Track liquids**: Use liquid tracking for better setup validation\n9. **Optimize tip usage**: Use `new_tip='once'` when appropriate to save tips\n10. **Control flow rates**: Adjust flow rates for viscous or volatile liquids\n\n## Troubleshooting\n\n**Common Issues:**\n\n- **Out of tips**: Verify tip rack capacity matches protocol requirements\n- **Labware collisions**: Check deck layout for spatial conflicts\n- **Volume errors**: Ensure volumes don't exceed well or pipette capacities\n- **Module not responding**: Verify module is properly connected and firmware is updated\n- **Inaccurate volumes**: Calibrate pipettes and check for air bubbles\n- **Protocol fails in simulation**: Check API version compatibility and labware definitions\n\n## Resources\n\nFor detailed API documentation, see `references\u002Fapi_reference.md` in this skill directory.\n\nFor example protocol templates, see `scripts\u002F` directory.\n","# Opentrons Integration\n\n## Overview\n\nOpentrons is a Python-based lab automation platform for Flex and OT-2 robots. Write Protocol API v2 protocols for liquid handling, control hardware modules (heater-shaker, thermocycler), manage labware, for automated pipetting workflows.\n\n## When to Use This Skill\n\nThis skill should be used when:\n- Writing Opentrons Protocol API v2 protocols in Python\n- Automating liquid handling workflows on Flex or OT-2 robots\n- Controlling hardware modules (temperature, magnetic, heater-shaker, thermocycler)\n- Setting up labware configurations and deck layouts\n- Implementing complex pipetting operations (serial dilutions, plate replication, PCR setup)\n- Managing tip usage and optimizing protocol efficiency\n- Working with multi-channel pipettes for 96-well plate operations\n- Simulating and testing protocols before robot execution\n\n## Core Capabilities\n\n### 1. Protocol Structure and Metadata\n\nEvery Opentrons protocol follows a standard structure:\n\n```python\nfrom opentrons import protocol_api\n\n# Metadata\nmetadata = {\n    'protocolName': 'My Protocol',\n    'author': 'Name \u003Cemail@example.com>',\n    'description': 'Protocol description',\n    'apiLevel': '2.19'  # Use latest available API version\n}\n\n# Requirements (optional)\nrequirements = {\n    'robotType': 'Flex',  # or 'OT-2'\n    'apiLevel': '2.19'\n}\n\n# Run function\ndef run(protocol: protocol_api.ProtocolContext):\n    # Protocol commands go here\n    pass\n```\n\n**Key elements:**\n- Import `protocol_api` from `opentrons`\n- Define `metadata` dict with protocolName, author, description, apiLevel\n- Optional `requirements` dict for robot type and API version\n- Implement `run()` function receiving `ProtocolContext` as parameter\n- All protocol logic goes inside the `run()` function\n\n### 2. Loading Hardware\n\n**Loading Instruments (Pipettes):**\n\n```python\ndef run(protocol: protocol_api.ProtocolContext):\n    # Load pipette on specific mount\n    left_pipette = protocol.load_instrument(\n        'p1000_single_flex',  # Instrument name\n        'left',               # Mount: 'left' or 'right'\n        tip_racks=[tip_rack]  # List of tip rack labware objects\n    )\n```\n\nCommon pipette names:\n- Flex: `p50_single_flex`, `p1000_single_flex`, `p50_multi_flex`, `p1000_multi_flex`\n- OT-2: `p20_single_gen2`, `p300_single_gen2`, `p1000_single_gen2`, `p20_multi_gen2`, `p300_multi_gen2`\n\n**Loading Labware:**\n\n```python\n# Load labware directly on deck\nplate = protocol.load_labware(\n    'corning_96_wellplate_360ul_flat',  # Labware API name\n    'D1',                                # Deck slot (Flex: A1-D3, OT-2: 1-11)\n    label='Sample Plate'                 # Optional display label\n)\n\n# Load tip rack\ntip_rack = protocol.load_labware('opentrons_flex_96_tiprack_1000ul', 'C1')\n\n# Load labware on adapter\nadapter = protocol.load_adapter('opentrons_flex_96_tiprack_adapter', 'B1')\ntips = adapter.load_labware('opentrons_flex_96_tiprack_200ul')\n```\n\n**Loading Modules:**\n\n```python\n# Temperature module\ntemp_module = protocol.load_module('temperature module gen2', 'D3')\ntemp_plate = temp_module.load_labware('corning_96_wellplate_360ul_flat')\n\n# Magnetic module\nmag_module = protocol.load_module('magnetic module gen2', 'C2')\nmag_plate = mag_module.load_labware('nest_96_wellplate_100ul_pcr_full_skirt')\n\n# Heater-Shaker module\nhs_module = protocol.load_module('heaterShakerModuleV1', 'D1')\nhs_plate = hs_module.load_labware('corning_96_wellplate_360ul_flat')\n\n# Thermocycler module (takes up specific slots automatically)\ntc_module = protocol.load_module('thermocyclerModuleV2')\ntc_plate = tc_module.load_labware('nest_96_wellplate_100ul_pcr_full_skirt')\n```\n\n### 3. Liquid Handling Operations\n\n**Basic Operations:**\n\n```python\n# Pick up tip\npipette.pick_up_tip()\n\n# Aspirate (draw liquid in)\npipette.aspirate(\n    volume=100,           # Volume in µL\n    location=source['A1'] # Well or location object\n)\n\n# Dispense (expel liquid)\npipette.dispense(\n    volume=100,\n    location=dest['B1']\n)\n\n# Drop tip\npipette.drop_tip()\n\n# Return tip to rack\npipette.return_tip()\n```\n\n**Complex Operations:**\n\n```python\n# Transfer (combines pick_up, aspirate, dispense, drop_tip)\npipette.transfer(\n    volume=100,\n    source=source_plate['A1'],\n    dest=dest_plate['B1'],\n    new_tip='always'  # 'always', 'once', or 'never'\n)\n\n# Distribute (one source to multiple destinations)\npipette.distribute(\n    volume=50,\n    source=reservoir['A1'],\n    dest=[plate['A1'], plate['A2'], plate['A3']],\n    new_tip='once'\n)\n\n# Consolidate (multiple sources to one destination)\npipette.consolidate(\n    volume=50,\n    source=[plate['A1'], plate['A2'], plate['A3']],\n    dest=reservoir['A1'],\n    new_tip='once'\n)\n```\n\n**Advanced Techniques:**\n\n```python\n# Mix (aspirate and dispense in same location)\npipette.mix(\n    repetitions=3,\n    volume=50,\n    location=plate['A1']\n)\n\n# Air gap (prevent dripping)\npipette.aspirate(100, source['A1'])\npipette.air_gap(20)  # 20µL air gap\npipette.dispense(120, dest['A1'])\n\n# Blow out (expel remaining liquid)\npipette.blow_out(location=dest['A1'].top())\n\n# Touch tip (remove droplets on tip exterior)\npipette.touch_tip(location=plate['A1'])\n```\n\n**Flow Rate Control:**\n\n```python\n# Set flow rates (µL\u002Fs)\npipette.flow_rate.aspirate = 150\npipette.flow_rate.dispense = 300\npipette.flow_rate.blow_out = 400\n```\n\n### 4. Accessing Wells and Locations\n\n**Well Access Methods:**\n\n```python\n# By name\nwell_a1 = plate['A1']\n\n# By index\nfirst_well = plate.wells()[0]\n\n# All wells\nall_wells = plate.wells()  # Returns list\n\n# By rows\nrows = plate.rows()  # Returns list of lists\nrow_a = plate.rows()[0]  # All wells in row A\n\n# By columns\ncolumns = plate.columns()  # Returns list of lists\ncolumn_1 = plate.columns()[0]  # All wells in column 1\n\n# Wells by name (dictionary)\nwells_dict = plate.wells_by_name()  # {'A1': Well, 'A2': Well, ...}\n```\n\n**Location Methods:**\n\n```python\n# Top of well (default: 1mm below top)\npipette.aspirate(100, well.top())\npipette.aspirate(100, well.top(z=5))  # 5mm above top\n\n# Bottom of well (default: 1mm above bottom)\npipette.aspirate(100, well.bottom())\npipette.aspirate(100, well.bottom(z=2))  # 2mm above bottom\n\n# Center of well\npipette.aspirate(100, well.center())\n```\n\n### 5. Hardware Module Control\n\n**Temperature Module:**\n\n```python\n# Set temperature\ntemp_module.set_temperature(celsius=4)\n\n# Wait for temperature\ntemp_module.await_temperature(celsius=4)\n\n# Deactivate\ntemp_module.deactivate()\n\n# Check status\ncurrent_temp = temp_module.temperature  # Current temperature\ntarget_temp = temp_module.target  # Target temperature\n```\n\n**Magnetic Module:**\n\n```python\n# Engage (raise magnets)\nmag_module.engage(height_from_base=10)  # mm from labware base\n\n# Disengage (lower magnets)\nmag_module.disengage()\n\n# Check status\nis_engaged = mag_module.status  # 'engaged' or 'disengaged'\n```\n\n**Heater-Shaker Module:**\n\n```python\n# Set temperature\nhs_module.set_target_temperature(celsius=37)\n\n# Wait for temperature\nhs_module.wait_for_temperature()\n\n# Set shake speed\nhs_module.set_and_wait_for_shake_speed(rpm=500)\n\n# Close labware latch\nhs_module.close_labware_latch()\n\n# Open labware latch\nhs_module.open_labware_latch()\n\n# Deactivate heater\nhs_module.deactivate_heater()\n\n# Deactivate shaker\nhs_module.deactivate_shaker()\n```\n\n**Thermocycler Module:**\n\n```python\n# Open lid\ntc_module.open_lid()\n\n# Close lid\ntc_module.close_lid()\n\n# Set lid temperature\ntc_module.set_lid_temperature(celsius=105)\n\n# Set block temperature\ntc_module.set_block_temperature(\n    temperature=95,\n    hold_time_seconds=30,\n    hold_time_minutes=0.5,\n    block_max_volume=50  # µL per well\n)\n\n# Execute profile (PCR cycling)\nprofile = [\n    {'temperature': 95, 'hold_time_seconds': 30},\n    {'temperature': 57, 'hold_time_seconds': 30},\n    {'temperature': 72, 'hold_time_seconds': 60}\n]\ntc_module.execute_profile(\n    steps=profile,\n    repetitions=30,\n    block_max_volume=50\n)\n\n# Deactivate\ntc_module.deactivate_lid()\ntc_module.deactivate_block()\n```\n\n**Absorbance Plate Reader:**\n\n```python\n# Initialize and read\nresult = plate_reader.read(wavelengths=[450, 650])\n\n# Access readings\nabsorbance_data = result  # Dict with wavelength keys\n```\n\n### 6. Liquid Tracking and Labeling\n\n**Define Liquids:**\n\n```python\n# Define liquid types\nwater = protocol.define_liquid(\n    name='Water',\n    description='Ultrapure water',\n    display_color='#0000FF'  # Hex color code\n)\n\nsample = protocol.define_liquid(\n    name='Sample',\n    description='Cell lysate sample',\n    display_color='#FF0000'\n)\n```\n\n**Load Liquids into Wells:**\n\n```python\n# Load liquid into specific wells\nreservoir['A1'].load_liquid(liquid=water, volume=50000)  # µL\nplate['A1'].load_liquid(liquid=sample, volume=100)\n\n# Mark wells as empty\nplate['B1'].load_empty()\n```\n\n### 7. Protocol Control and Utilities\n\n**Execution Control:**\n\n```python\n# Pause protocol\nprotocol.pause(msg='Replace tip box and resume')\n\n# Delay\nprotocol.delay(seconds=60)\nprotocol.delay(minutes=5)\n\n# Comment (appears in logs)\nprotocol.comment('Starting serial dilution')\n\n# Home robot\nprotocol.home()\n```\n\n**Conditional Logic:**\n\n```python\n# Check if simulating\nif protocol.is_simulating():\n    protocol.comment('Running in simulation mode')\nelse:\n    protocol.comment('Running on actual robot')\n```\n\n**Rail Lights (Flex only):**\n\n```python\n# Turn lights on\nprotocol.set_rail_lights(on=True)\n\n# Turn lights off\nprotocol.set_rail_lights(on=False)\n```\n\n### 8. Multi-Channel and 8-Channel Pipetting\n\nWhen using multi-channel pipettes:\n\n```python\n# Load 8-channel pipette\nmulti_pipette = protocol.load_instrument(\n    'p300_multi_gen2',\n    'left',\n    tip_racks=[tips]\n)\n\n# Access entire column with single well reference\nmulti_pipette.transfer(\n    volume=100,\n    source=source_plate['A1'],  # Accesses entire column 1\n    dest=dest_plate['A1']       # Dispenses to entire column 1\n)\n\n# Use rows() for row-wise operations\nfor row in plate.rows():\n    multi_pipette.transfer(100, reservoir['A1'], row[0])\n```\n\n### 9. Common Protocol Patterns\n\n**Serial Dilution:**\n\n```python\ndef run(protocol: protocol_api.ProtocolContext):\n    # Load labware\n    tips = protocol.load_labware('opentrons_flex_96_tiprack_200ul', 'D1')\n    reservoir = protocol.load_labware('nest_12_reservoir_15ml', 'D2')\n    plate = protocol.load_labware('corning_96_wellplate_360ul_flat', 'D3')\n\n    # Load pipette\n    p300 = protocol.load_instrument('p300_single_flex', 'left', tip_racks=[tips])\n\n    # Add diluent to all wells except first\n    p300.transfer(100, reservoir['A1'], plate.rows()[0][1:])\n\n    # Serial dilution across row\n    p300.transfer(\n        100,\n        plate.rows()[0][:11],  # Source: wells 0-10\n        plate.rows()[0][1:],   # Dest: wells 1-11\n        mix_after=(3, 50),     # Mix 3x with 50µL after dispense\n        new_tip='always'\n    )\n```\n\n**Plate Replication:**\n\n```python\ndef run(protocol: protocol_api.ProtocolContext):\n    # Load labware\n    tips = protocol.load_labware('opentrons_flex_96_tiprack_1000ul', 'C1')\n    source = protocol.load_labware('corning_96_wellplate_360ul_flat', 'D1')\n    dest = protocol.load_labware('corning_96_wellplate_360ul_flat', 'D2')\n\n    # Load pipette\n    p1000 = protocol.load_instrument('p1000_single_flex', 'left', tip_racks=[tips])\n\n    # Transfer from all wells in source to dest\n    p1000.transfer(\n        100,\n        source.wells(),\n        dest.wells(),\n        new_tip='always'\n    )\n```\n\n**PCR Setup:**\n\n```python\ndef run(protocol: protocol_api.ProtocolContext):\n    # Load thermocycler\n    tc_mod = protocol.load_module('thermocyclerModuleV2')\n    tc_plate = tc_mod.load_labware('nest_96_wellplate_100ul_pcr_full_skirt')\n\n    # Load tips and reagents\n    tips = protocol.load_labware('opentrons_flex_96_tiprack_200ul', 'C1')\n    reagents = protocol.load_labware('opentrons_24_tuberack_nest_1.5ml_snapcap', 'D1')\n\n    # Load pipette\n    p300 = protocol.load_instrument('p300_single_flex', 'left', tip_racks=[tips])\n\n    # Open thermocycler lid\n    tc_mod.open_lid()\n\n    # Distribute master mix\n    p300.distribute(\n        20,\n        reagents['A1'],\n        tc_plate.wells(),\n        new_tip='once'\n    )\n\n    # Add samples (example for first 8 wells)\n    for i, well in enumerate(tc_plate.wells()[:8]):\n        p300.transfer(5, reagents.wells()[i+1], well, new_tip='always')\n\n    # Run PCR\n    tc_mod.close_lid()\n    tc_mod.set_lid_temperature(105)\n\n    # PCR profile\n    tc_mod.set_block_temperature(95, hold_time_seconds=180)\n\n    profile = [\n        {'temperature': 95, 'hold_time_seconds': 15},\n        {'temperature': 60, 'hold_time_seconds': 30},\n        {'temperature': 72, 'hold_time_seconds': 30}\n    ]\n    tc_mod.execute_profile(steps=profile, repetitions=35, block_max_volume=25)\n\n    tc_mod.set_block_temperature(72, hold_time_minutes=5)\n    tc_mod.set_block_temperature(4)\n\n    tc_mod.deactivate_lid()\n    tc_mod.open_lid()\n```\n\n## Best Practices\n\n1. **Always specify API level**: Use the latest stable API version in metadata\n2. **Use meaningful labels**: Label labware for easier identification in logs\n3. **Check tip availability**: Ensure sufficient tips for protocol completion\n4. **Add comments**: Use `protocol.comment()` for debugging and logging\n5. **Simulate first**: Always test protocols in simulation before running on robot\n6. **Handle errors gracefully**: Add pauses for manual intervention when needed\n7. **Consider timing**: Use delays when protocols require incubation periods\n8. **Track liquids**: Use liquid tracking for better setup validation\n9. **Optimize tip usage**: Use `new_tip='once'` when appropriate to save tips\n10. **Control flow rates**: Adjust flow rates for viscous or volatile liquids\n\n## Troubleshooting\n\n**Common Issues:**\n\n- **Out of tips**: Verify tip rack capacity matches protocol requirements\n- **Labware collisions**: Check deck layout for spatial conflicts\n- **Volume errors**: Ensure volumes don't exceed well or pipette capacities\n- **Module not responding**: Verify module is properly connected and firmware is updated\n- **Inaccurate volumes**: Calibrate pipettes and check for air bubbles\n- **Protocol fails in simulation**: Check API version compatibility and labware definitions\n\n## Resources\n\nFor detailed API documentation, see `references\u002Fapi_reference.md` in this skill directory.\n\nFor example protocol templates, see `scripts\u002F` directory.\n",{"name":5,"description":7},"main","4e647b68aabe849e143b6950971c380f7adccdef","components\u002Fskills\u002Fscientific\u002Fopentrons-integration","https:\u002F\u002Fgithub.com\u002FmarnixGeerkens\u002Frocketlauncher-claude-code","https:\u002F\u002Frocketlauncher.ai\u002Fclaude-code","https:\u002F\u002Fgithub.com\u002FmarnixGeerkens","CEO of Rocketlauncher.ai\r\n\r\nObsessed with AI\r\n\r\njoin  https:\u002F\u002Fwww.skool.com\u002Frocketlauncher-university\r\n👉🏻 it's free ","2026-10-13 00:52:14",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add marnixGeerkens\u002Frocketlauncher-claude-code --skill opentrons-integration",{"tool":38,"command":39},"bunx","bunx skills add marnixGeerkens\u002Frocketlauncher-claude-code --skill opentrons-integration",{"tool":41,"command":42},"pnpm","pnpm dlx skills add marnixGeerkens\u002Frocketlauncher-claude-code --skill opentrons-integration","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FmarnixGeerkens\u002Frocketlauncher-claude-code\u002Fblob\u002Fmain\u002Fcomponents\u002Fskills\u002Fscientific\u002Fopentrons-integration\u002FSKILL.md",true,[46,52,58,62],{"path":47,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":50,"sourceHtmlUrl":51},"references\u002Fapi_reference.md","REFERENCE","参考文档",13117,"https:\u002F\u002Fgithub.com\u002FmarnixGeerkens\u002Frocketlauncher-claude-code\u002Fblob\u002Fmain\u002Fcomponents\u002Fskills\u002Fscientific\u002Fopentrons-integration\u002Freferences\u002Fapi_reference.md",{"path":53,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":56,"sourceHtmlUrl":57},"scripts\u002Fbasic_protocol_template.py","SCRIPT","脚本",1537,"https:\u002F\u002Fgithub.com\u002FmarnixGeerkens\u002Frocketlauncher-claude-code\u002Fblob\u002Fmain\u002Fcomponents\u002Fskills\u002Fscientific\u002Fopentrons-integration\u002Fscripts\u002Fbasic_protocol_template.py",{"path":59,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":60,"sourceHtmlUrl":61},"scripts\u002Fpcr_setup_template.py",4538,"https:\u002F\u002Fgithub.com\u002FmarnixGeerkens\u002Frocketlauncher-claude-code\u002Fblob\u002Fmain\u002Fcomponents\u002Fskills\u002Fscientific\u002Fopentrons-integration\u002Fscripts\u002Fpcr_setup_template.py",{"path":63,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":64,"sourceHtmlUrl":65},"scripts\u002Fserial_dilution_template.py",3171,"https:\u002F\u002Fgithub.com\u002FmarnixGeerkens\u002Frocketlauncher-claude-code\u002Fblob\u002Fmain\u002Fcomponents\u002Fskills\u002Fscientific\u002Fopentrons-integration\u002Fscripts\u002Fserial_dilution_template.py",[67,74,83,90,97,104],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":19},"01M7EQFDF4T3K89WMFVFQVT3C8","zapier-make-patterns","No-code automation democratizes workflow building. Zapier and Make (formerly Integromat) let non-developers automate business processes without writing code. But no-code doesn't mean no-complexity - these platforms have their own patterns, pitfalls, and breaking points.  This skill covers when to use which platform, how to build reliable automations, and when to graduate to code-based solutions. Key insight: Zapier optimizes for simplicity and integrations (7000+ apps), Make optimizes for power","https:\u002F\u002Fgithub.com\u002FmarnixGeerkens\u002Frocketlauncher-claude-code\u002Fblob\u002Fmain\u002Fcomponents\u002Fskills\u002Fworkflow-automation\u002Fzapier-make-patterns\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":78,"licenseFileUrl":79,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":19},"01M7EQFA5XQ0811Q4Q0WCFASZG","yeet","Use only when the user explicitly asks to stage, commit, push, and open a GitHub pull request in one flow using the GitHub CLI (`gh`).","Apache-2.0","https:\u002F\u002Fgithub.com\u002FmarnixGeerkens\u002Frocketlauncher-claude-code\u002Fblob\u002Fmain\u002Fcomponents\u002Fskills\u002Fworkflow-automation\u002Fyeet\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FmarnixGeerkens\u002Frocketlauncher-claude-code\u002Fblob\u002Fmain\u002Fcomponents\u002Fskills\u002Fworkflow-automation\u002Fyeet\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":19},"01M7EQF4J6C2WKQWD9E2RQC6MJ","workflow-automation","Workflow automation is the infrastructure that makes AI agents reliable. Without durable execution, a network hiccup during a 10-step payment flow means lost money and angry customers. With it, workflows resume exactly where they left off.  This skill covers the platforms (n8n, Temporal, Inngest) and patterns (sequential, parallel, orchestrator-worker) that turn brittle scripts into production-grade automation.  Key insight: The platforms make different tradeoffs. n8n optimizes for accessibility","https:\u002F\u002Fgithub.com\u002FmarnixGeerkens\u002Frocketlauncher-claude-code\u002Fblob\u002Fmain\u002Fcomponents\u002Fskills\u002Fworkflow-automation\u002Fworkflow-automation\u002FSKILL.md",[],[],{"skillNo":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":19},"01M7EQF1AT655CYYZBEQ8V6Z9D","trigger-dev","Trigger.dev expert for background jobs, AI workflows, and reliable async execution with excellent developer experience and TypeScript-first design. Use when: trigger.dev, trigger dev, background task, ai background job, long running task.","https:\u002F\u002Fgithub.com\u002FmarnixGeerkens\u002Frocketlauncher-claude-code\u002Fblob\u002Fmain\u002Fcomponents\u002Fskills\u002Fworkflow-automation\u002Ftrigger-dev\u002FSKILL.md",[],[],{"skillNo":98,"name":99,"nameZh":6,"description":100,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":101,"categories":102,"keywords":103,"publishedAt":19},"01M7EQEY9ENH0G2EJ1WD6C1CE8","slack-automation","Automate Slack workspace operations including messaging, search, channel management, and reaction workflows through Composio's Slack toolkit.","https:\u002F\u002Fgithub.com\u002FmarnixGeerkens\u002Frocketlauncher-claude-code\u002Fblob\u002Fmain\u002Fcomponents\u002Fskills\u002Fworkflow-automation\u002Fslack-automation\u002FSKILL.md",[],[],{"skillNo":105,"name":106,"nameZh":6,"description":107,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":78,"licenseFileUrl":6,"sourceHtmlUrl":108,"categories":109,"keywords":110,"publishedAt":19},"01M7EQESHEKPTE0QPW9R6XV5K2","rote","Compile a proven agent skill (a SKILL.md plus references) into a deterministic pipeline that runs without an LLM in the loop, then serve it back to Claude as an MCP tool. Use when: rote, compile this skill, turn this skill into a workflow, make this skill deterministic, make this skill cheaper or faster, harden this skill for production, run this skill as a background job.","https:\u002F\u002Fgithub.com\u002FmarnixGeerkens\u002Frocketlauncher-claude-code\u002Fblob\u002Fmain\u002Fcomponents\u002Fskills\u002Fworkflow-automation\u002Frote\u002FSKILL.md",[],[]]