[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6MAMR41QKARRRPZS850D0F7":3,"skill-same:01M6MAMR41QKARRRPZS850D0F7":152},{"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":31,"publishedAt":53,"linkOnly":54,"markdownContent":55,"markdownBody":56,"frontMatter":57,"refName":65,"commitSha":66,"skillDirectory":67,"forksCount":68,"repositoryHtmlUrl":69,"repositoryHomepageUrl":70,"ownerHtmlUrl":71,"ownerBlogUrl":72,"ownerDescription":73,"updatedAt":74,"install":75,"resources":88},"01M6MAMR41QKARRRPZS850D0F7","opentrons-integration",null,"Author, review, migrate, simulate, and troubleshoot 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.","hashgraph-online\u002Fawesome-codex-plugins","hashgraph-online","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F160371962?v=4","01M6CNB6NRJVNNGN14TR01Q6D3","HOL (Hashgraph Online)","01M6JT1HSKKG9V68KQAQGBA7XP",1575,"MIT","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FKalarisLabs\u002Fresearch-agent-skills\u002Fskills\u002Fopentrons-integration\u002FSKILL.md",[18,23,26],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000010","后端与接口","SCENARIO","使用场景",{"categoryNo":24,"categoryName":25,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000023","Skill与智能体开发",{"categoryNo":27,"categoryName":28,"taxonomyType":29,"taxonomyTypeDesc":30},"01JBSEEDCAT000000000000030","开发工程师","PROFESSION","适用职业",[32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52],"integration","opentrons integration","migrate","when","line","app","local","uv","modules","robotics","edit","write","read","review","Bash","simulation","api","analysis","official","support","workflow","2026-11-10 10:12:30",false,"---\nname: opentrons-integration\ndescription: Author, review, migrate, simulate, and troubleshoot 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.\nlicense: MIT\ncompatibility: Requires Python 3.10+ and uv for local simulation. Flex examples target opentrons 9.1.1 and API 2.29; the separate OT-2 line targets API 2.28 and uses opentrons 9.0.0 as its local compatibility simulator. Physical execution requires compatible hardware, current robot software, and the appropriate Opentrons App.\nallowed-tools: Read Write Edit Bash\nmetadata:\n  version: '2.1'\n  category: lab-automation\n  maintainer: Kalaris Labs\n  tags: Opentrons, liquid handling, lab robotics, lab automation, protocols\n---\n\n# Opentrons Integration\n\n## Overview\n\nCreate production-minded Python Protocol API v2 protocols for Opentrons Flex and\nOT-2. This skill covers protocol structure, hardware and deck configuration,\nliquid handling, runtime customization, module control, simulation, and safe\ndeployment.\n\nThe verified baseline as of **2026-07-23** is:\n\n- `opentrons==9.1.1` for reproducible Flex simulation.\n- `opentrons==9.0.0` for local OT-2 API 2.28 compatibility simulation.\n- Flex supports API levels 2.15 through 2.29 on current software.\n- OT-2 supports API levels 2.0 through 2.28 on current software.\n- API 2.29 is Flex-only at this baseline. Do not put `2.29` in an OT-2 protocol.\n\nRead `references\u002Fsources.md` for the upstream documentation used for this\nsnapshot. Recheck the official versioning page before targeting newer robot\nsoftware.\n\n## Safety Boundary\n\nOpentrons protocols control physical equipment. Never treat successful Python\nsyntax or local simulation as permission to run on a robot.\n\nBefore live execution:\n\n1. Simulate locally with the same pinned `opentrons` version used for authoring.\n2. Import the protocol into the correct Opentrons App and require successful\n   analysis.\n3. Verify robot model, software, pipettes, mounts, modules, adapters, labware\n   definitions, deck fixtures, tip count, source volumes, dead volumes, and\n   destination capacity.\n4. Review the run preview and deck map with the operator.\n5. Perform a slow dry run with nonhazardous liquid when geometry, custom\n   labware, partial tip pickup, or gripper moves are new.\n6. Keep the emergency stop accessible and follow site-specific biosafety,\n   chemical-safety, and contamination-control procedures.\n\nSimulation cannot verify physical calibration, liquid properties, meniscus\nbehavior, labware manufacturing tolerances, cap or seal removal, tubing, or all\npossible collisions.\n\n## Choose the Right Interface\n\nUse this skill for Python files imported into the Opentrons App and run through\nthe Protocol API.\n\n- Use **Protocol Designer** for supported no-code workflows.\n- Use **PyLabRobot** for a hardware-agnostic workflow spanning vendors.\n- Treat the robot's HTTP API as a separate integration surface. If direct HTTP\n  control is explicitly required, use the OpenAPI document served by the target\n  robot and do not infer endpoints from Protocol API methods.\n\n## Required Intake\n\nDo not write final protocol code until these facts are known:\n\n- Robot: Flex or OT-2, plus installed robot software.\n- Pipette model, volume range, channel count, and mount.\n- Modules and generations; Flex Gripper or Stacker availability.\n- Exact labware API load names and custom definition files, if any.\n- Deck fixtures: Flex trash bin, waste chute, staging slots, or Stackers.\n- Source volumes, destination volumes, dead volume, mixing needs, and liquid\n  characteristics.\n- Tip policy: contamination boundaries, reuse policy, filters, partial pickup,\n  and total tips.\n- Operator interventions, incubation timing, runtime parameters, and output\n  files.\n- Acceptance criteria: tolerated volume error, required controls, and dry-run\n  plan.\n\nIf any physical configuration is uncertain, produce a parameterized draft and\nan explicit assumptions list rather than guessing.\n\n## Install and Simulate\n\nFlex:\n\n```bash\nuv run --with \"opentrons==9.1.1\" opentrons_simulate protocol.py\n```\n\nOT-2 API 2.28:\n\n```bash\nuv run --with \"opentrons==9.0.0\" opentrons_simulate protocol.py\n```\n\nThe 9.1.1 package intentionally rejects OT-2 protocols after the Flex\u002FOT-2\nrelease-line split. Always complete OT-2 analysis in the current OT-2 App.\n\nFor a dedicated Flex environment:\n\n```bash\nuv venv --python 3.10\nuv pip install --python .venv\u002Fbin\u002Fpython -r skills\u002Fopentrons-integration\u002Frequirements-flex.txt\n.venv\u002Fbin\u002Fopentrons_simulate protocol.py\n```\n\nUse `requirements-ot2.txt` instead for an OT-2 compatibility environment. On\nWindows, invoke the executable from `.venv\\Scripts\\opentrons_simulate.exe`.\nLocal simulation is for Python protocols; import Protocol Designer JSON files\ninto the appropriate Opentrons App instead.\n\n## Protocol Skeletons\n\n### Flex, API 2.29\n\nFor Flex, `requirements` is mandatory. Put `apiLevel` only in `requirements`,\nnot in both `metadata` and `requirements`.\n\n```python\nfrom opentrons import protocol_api\n\nmetadata = {\n    \"protocolName\": \"Flex transfer\",\n    \"author\": \"Your Name\",\n    \"description\": \"Transfer buffer into a plate.\",\n}\nrequirements = {\"robotType\": \"Flex\", \"apiLevel\": \"2.29\"}\n\n\ndef run(protocol: protocol_api.ProtocolContext) -> None:\n    tips = protocol.load_labware(\n        \"opentrons_flex_96_tiprack_200ul\", \"D1\"\n    )\n    reservoir = protocol.load_labware(\"nest_12_reservoir_15ml\", \"D2\")\n    plate = protocol.load_labware(\"nest_96_wellplate_200ul_flat\", \"C2\")\n    protocol.load_trash_bin(\"A3\")\n    pipette = protocol.load_instrument(\n        \"flex_1channel_1000\", \"left\", tip_racks=[tips]\n    )\n\n    pipette.transfer(\n        100,\n        reservoir[\"A1\"],\n        plate[\"A1\"],\n        new_tip=\"always\",\n    )\n```\n\n### OT-2, API 2.28\n\nFor OT-2 API 2.15 and later, a `requirements` block is recommended. OT-2 has a\nfixed trash in slot 12; do not call `load_trash_bin()`.\n\n```python\nfrom opentrons import protocol_api\n\nmetadata = {\n    \"protocolName\": \"OT-2 transfer\",\n    \"author\": \"Your Name\",\n}\nrequirements = {\"robotType\": \"OT-2\", \"apiLevel\": \"2.28\"}\n\n\ndef run(protocol: protocol_api.ProtocolContext) -> None:\n    tips = protocol.load_labware(\"opentrons_96_tiprack_300ul\", \"1\")\n    reservoir = protocol.load_labware(\"nest_12_reservoir_15ml\", \"2\")\n    plate = protocol.load_labware(\"nest_96_wellplate_200ul_flat\", \"3\")\n    pipette = protocol.load_instrument(\n        \"p300_single_gen2\", \"left\", tip_racks=[tips]\n    )\n    pipette.transfer(100, reservoir[\"A1\"], plate[\"A1\"])\n```\n\nUse the lowest API level that provides every required feature when a protocol\nmust run across a mixed software fleet. Use the current maximum only when the\nworkflow needs its behavior or capabilities.\n\n## Authoring Workflow\n\n### 1. Select robot and API level\n\nCheck the maximum supported API in the App under the robot's advanced settings.\nMap every requested feature to its minimum API level using\n`references\u002Fapi_reference.md`.\n\nImportant gates:\n\n- 2.20: CSV runtime parameters, liquid presence detection, expanded partial\n  nozzle layouts.\n- 2.21: Absorbance Plate Reader.\n- 2.22: current labware-level liquid loading methods.\n- 2.23: meniscus locations and labware lids.\n- 2.24: liquid classes and liquid-class complex commands.\n- 2.25: Flex Stacker and Flex 96-Channel 200 µL pipette.\n- 2.27: dynamic pipetting and concurrent module actions.\n- 2.28: 20 µL Flex tips, improved partial-tip return, and thermocycler ramp rate.\n- 2.29: step grouping; Flex only at the verified baseline.\n\n### 2. Build the deck explicitly\n\n- Use exact load names from the official Labware Library.\n- Load Flex trash bins or the waste chute explicitly.\n- Account for module footprints, staging slots, Stacker shuttles, gripper paths,\n  and tall-labware adjacency.\n- Load labware on adapters or module contexts in the documented order.\n- Never substitute a similarly named labware definition; geometry and offsets\n  are part of the protocol's safety model.\n\nSee `references\u002Fmodules_and_deck.md`.\n\n### 3. Select pipettes and tips\n\nCurrent load names are:\n\n- Flex: `flex_1channel_50`, `flex_1channel_1000`,\n  `flex_8channel_50`, `flex_8channel_1000`,\n  `flex_96channel_200`, `flex_96channel_1000`.\n- OT-2 GEN2: `p20_single_gen2`, `p20_multi_gen2`,\n  `p300_single_gen2`, `p300_multi_gen2`, `p1000_single_gen2`.\n\nCheck that every requested volume is within the configured pipette and tip\nrange. A 100 nL operation is not an Opentrons pipetting task.\n\n### 4. Choose a liquid-handling layer\n\n- Use `aspirate()`, `dispense()`, `mix()`, `air_gap()`, `blow_out()`, and\n  `touch_tip()` for explicit control.\n- Use `transfer()`, `distribute()`, and `consolidate()` for standard movements.\n- On Flex, consider `transfer_with_liquid_class()`,\n  `distribute_with_liquid_class()`, or `consolidate_with_liquid_class()` for\n  Opentrons-verified aqueous, volatile, or viscous behavior.\n- Use dynamic start\u002Fend locations or `dynamic_mix()` only when API 2.27+ and the\n  geometry has been reviewed.\n\nModel contamination boundaries before optimizing tips. Never reuse a tip across\nunrelated samples merely to reduce consumables. See\n`references\u002Fliquid_handling.md`.\n\n### 5. Add setup information and runtime controls\n\nUse `define_liquid()` and labware-level `load_liquid()` or\n`load_liquid_by_well()` to improve setup visualization. Do not use deprecated\n`Well.load_liquid()` in new API 2.22+ protocols.\n\nDefine operator-controlled values in `add_parameters()` and read them from\n`protocol.params`. Validate ranges and use defaults that produce a safe,\nmeaningful simulation. CSV parameters have no default and only one CSV\nparameter can be selected per run.\n\n### 6. Budget resources\n\nBefore simulation, calculate:\n\n- Tips or tip sets required under every branch.\n- Source volume = delivered volume + mixing loss + disposal volume + dead\n  volume + a justified reserve.\n- Maximum destination volume after every addition and mix.\n- Number of module, adapter, trash, and staging positions.\n- Incubation and module timing, including concurrent tasks.\n\n### 7. Validate in layers\n\n1. Compile: `python -m py_compile protocol.py`.\n2. Simulate with the pinned package.\n3. Inspect the run log for command count, tip changes, pauses, and unexpected\n   locations.\n4. Import into the appropriate App and require successful analysis.\n5. Check protocol visualization, runtime parameter defaults, deck map, module\n   setup, and labware offsets.\n6. Perform an operator-reviewed dry run before first use.\n\nSee `references\u002Fvalidation_and_operations.md`.\n\n## Common Failure Modes\n\n- Using old names such as `p300_single_flex`; use current `flex_*` load names.\n- Declaring `apiLevel` in both `metadata` and `requirements`.\n- Using API 2.29 for OT-2.\n- Forgetting a Flex trash bin or waste chute.\n- Loading a Magnetic Module on Flex; use supported Flex magnetic hardware.\n- Calling `read(wavelengths=...)` on the plate reader; call `initialize()` first,\n  then `read()`.\n- Using deprecated `Well.load_liquid()` instead of labware-level methods.\n- Assuming simulation verifies calibration, liquid height, or physical\n  clearances.\n- Passing an unsafe well to a partial-nozzle pipette, which can place tips\n  outside labware and cause a crash.\n- Using `new_tip=\"once\"` across samples with incompatible contamination\n  requirements.\n\n## Bundled Templates\n\n| File | Purpose |\n| --- | --- |\n| `scripts\u002Fbasic_protocol_template.py` | Minimal Flex 2.29 transfer with current names |\n| `scripts\u002Fot2_basic_protocol_template.py` | Minimal OT-2 2.28 transfer |\n| `scripts\u002Fserial_dilution_template.py` | Full-plate 1:2 dilution with an 8-channel Flex pipette |\n| `scripts\u002Fpcr_setup_template.py` | Flex PCR setup and Thermocycler cycling |\n| `scripts\u002Fruntime_parameters_template.py` | Safe numeric and Boolean runtime parameters |\n| `scripts\u002Fabsorbance_reader_template.py` | Correct Flex plate-reader initialization and read workflow |\n\nTemplates are starting points, not validated assays. Replace volumes, labware,\nliquids, timing, and tip policies only after checking hardware compatibility and\nthe wet-lab method.\n\n## Reference Guide\n\n| Reference | Use it for |\n| --- | --- |\n| `references\u002Fapi_reference.md` | Current load names, version gates, and high-value methods |\n| `references\u002Fprotocol_authoring.md` | Requirements, labware, runtime parameters, and design workflow |\n| `references\u002Fliquid_handling.md` | Command selection, liquid classes, sensing, and partial tips |\n| `references\u002Fmodules_and_deck.md` | Module compatibility, deck fixtures, gripper, and Stacker |\n| `references\u002Fvalidation_and_operations.md` | Simulation, App analysis, dry runs, and troubleshooting |\n| `references\u002Fmigration-api-2-19-to-2-29.md` | Updating older protocols and this skill's former patterns |\n| `references\u002Fsources.md` | Official documentation and release sources |\n\n## Related skills\n\n- `pylabrobot`: Develop and review PyLabRobot lab-automation resources, liquid-handling plans, offline simulations, and supported-device integrations.\n- `protocolsio-integration`: Reads, validates, and exports protocols.io data using the documented REST v3\u002Fv4 endpoints and the official MCP endpoint, and builds non-exe…\n","# Opentrons Integration\n\n## Overview\n\nCreate production-minded Python Protocol API v2 protocols for Opentrons Flex and\nOT-2. This skill covers protocol structure, hardware and deck configuration,\nliquid handling, runtime customization, module control, simulation, and safe\ndeployment.\n\nThe verified baseline as of **2026-07-23** is:\n\n- `opentrons==9.1.1` for reproducible Flex simulation.\n- `opentrons==9.0.0` for local OT-2 API 2.28 compatibility simulation.\n- Flex supports API levels 2.15 through 2.29 on current software.\n- OT-2 supports API levels 2.0 through 2.28 on current software.\n- API 2.29 is Flex-only at this baseline. Do not put `2.29` in an OT-2 protocol.\n\nRead `references\u002Fsources.md` for the upstream documentation used for this\nsnapshot. Recheck the official versioning page before targeting newer robot\nsoftware.\n\n## Safety Boundary\n\nOpentrons protocols control physical equipment. Never treat successful Python\nsyntax or local simulation as permission to run on a robot.\n\nBefore live execution:\n\n1. Simulate locally with the same pinned `opentrons` version used for authoring.\n2. Import the protocol into the correct Opentrons App and require successful\n   analysis.\n3. Verify robot model, software, pipettes, mounts, modules, adapters, labware\n   definitions, deck fixtures, tip count, source volumes, dead volumes, and\n   destination capacity.\n4. Review the run preview and deck map with the operator.\n5. Perform a slow dry run with nonhazardous liquid when geometry, custom\n   labware, partial tip pickup, or gripper moves are new.\n6. Keep the emergency stop accessible and follow site-specific biosafety,\n   chemical-safety, and contamination-control procedures.\n\nSimulation cannot verify physical calibration, liquid properties, meniscus\nbehavior, labware manufacturing tolerances, cap or seal removal, tubing, or all\npossible collisions.\n\n## Choose the Right Interface\n\nUse this skill for Python files imported into the Opentrons App and run through\nthe Protocol API.\n\n- Use **Protocol Designer** for supported no-code workflows.\n- Use **PyLabRobot** for a hardware-agnostic workflow spanning vendors.\n- Treat the robot's HTTP API as a separate integration surface. If direct HTTP\n  control is explicitly required, use the OpenAPI document served by the target\n  robot and do not infer endpoints from Protocol API methods.\n\n## Required Intake\n\nDo not write final protocol code until these facts are known:\n\n- Robot: Flex or OT-2, plus installed robot software.\n- Pipette model, volume range, channel count, and mount.\n- Modules and generations; Flex Gripper or Stacker availability.\n- Exact labware API load names and custom definition files, if any.\n- Deck fixtures: Flex trash bin, waste chute, staging slots, or Stackers.\n- Source volumes, destination volumes, dead volume, mixing needs, and liquid\n  characteristics.\n- Tip policy: contamination boundaries, reuse policy, filters, partial pickup,\n  and total tips.\n- Operator interventions, incubation timing, runtime parameters, and output\n  files.\n- Acceptance criteria: tolerated volume error, required controls, and dry-run\n  plan.\n\nIf any physical configuration is uncertain, produce a parameterized draft and\nan explicit assumptions list rather than guessing.\n\n## Install and Simulate\n\nFlex:\n\n```bash\nuv run --with \"opentrons==9.1.1\" opentrons_simulate protocol.py\n```\n\nOT-2 API 2.28:\n\n```bash\nuv run --with \"opentrons==9.0.0\" opentrons_simulate protocol.py\n```\n\nThe 9.1.1 package intentionally rejects OT-2 protocols after the Flex\u002FOT-2\nrelease-line split. Always complete OT-2 analysis in the current OT-2 App.\n\nFor a dedicated Flex environment:\n\n```bash\nuv venv --python 3.10\nuv pip install --python .venv\u002Fbin\u002Fpython -r skills\u002Fopentrons-integration\u002Frequirements-flex.txt\n.venv\u002Fbin\u002Fopentrons_simulate protocol.py\n```\n\nUse `requirements-ot2.txt` instead for an OT-2 compatibility environment. On\nWindows, invoke the executable from `.venv\\Scripts\\opentrons_simulate.exe`.\nLocal simulation is for Python protocols; import Protocol Designer JSON files\ninto the appropriate Opentrons App instead.\n\n## Protocol Skeletons\n\n### Flex, API 2.29\n\nFor Flex, `requirements` is mandatory. Put `apiLevel` only in `requirements`,\nnot in both `metadata` and `requirements`.\n\n```python\nfrom opentrons import protocol_api\n\nmetadata = {\n    \"protocolName\": \"Flex transfer\",\n    \"author\": \"Your Name\",\n    \"description\": \"Transfer buffer into a plate.\",\n}\nrequirements = {\"robotType\": \"Flex\", \"apiLevel\": \"2.29\"}\n\n\ndef run(protocol: protocol_api.ProtocolContext) -> None:\n    tips = protocol.load_labware(\n        \"opentrons_flex_96_tiprack_200ul\", \"D1\"\n    )\n    reservoir = protocol.load_labware(\"nest_12_reservoir_15ml\", \"D2\")\n    plate = protocol.load_labware(\"nest_96_wellplate_200ul_flat\", \"C2\")\n    protocol.load_trash_bin(\"A3\")\n    pipette = protocol.load_instrument(\n        \"flex_1channel_1000\", \"left\", tip_racks=[tips]\n    )\n\n    pipette.transfer(\n        100,\n        reservoir[\"A1\"],\n        plate[\"A1\"],\n        new_tip=\"always\",\n    )\n```\n\n### OT-2, API 2.28\n\nFor OT-2 API 2.15 and later, a `requirements` block is recommended. OT-2 has a\nfixed trash in slot 12; do not call `load_trash_bin()`.\n\n```python\nfrom opentrons import protocol_api\n\nmetadata = {\n    \"protocolName\": \"OT-2 transfer\",\n    \"author\": \"Your Name\",\n}\nrequirements = {\"robotType\": \"OT-2\", \"apiLevel\": \"2.28\"}\n\n\ndef run(protocol: protocol_api.ProtocolContext) -> None:\n    tips = protocol.load_labware(\"opentrons_96_tiprack_300ul\", \"1\")\n    reservoir = protocol.load_labware(\"nest_12_reservoir_15ml\", \"2\")\n    plate = protocol.load_labware(\"nest_96_wellplate_200ul_flat\", \"3\")\n    pipette = protocol.load_instrument(\n        \"p300_single_gen2\", \"left\", tip_racks=[tips]\n    )\n    pipette.transfer(100, reservoir[\"A1\"], plate[\"A1\"])\n```\n\nUse the lowest API level that provides every required feature when a protocol\nmust run across a mixed software fleet. Use the current maximum only when the\nworkflow needs its behavior or capabilities.\n\n## Authoring Workflow\n\n### 1. Select robot and API level\n\nCheck the maximum supported API in the App under the robot's advanced settings.\nMap every requested feature to its minimum API level using\n`references\u002Fapi_reference.md`.\n\nImportant gates:\n\n- 2.20: CSV runtime parameters, liquid presence detection, expanded partial\n  nozzle layouts.\n- 2.21: Absorbance Plate Reader.\n- 2.22: current labware-level liquid loading methods.\n- 2.23: meniscus locations and labware lids.\n- 2.24: liquid classes and liquid-class complex commands.\n- 2.25: Flex Stacker and Flex 96-Channel 200 µL pipette.\n- 2.27: dynamic pipetting and concurrent module actions.\n- 2.28: 20 µL Flex tips, improved partial-tip return, and thermocycler ramp rate.\n- 2.29: step grouping; Flex only at the verified baseline.\n\n### 2. Build the deck explicitly\n\n- Use exact load names from the official Labware Library.\n- Load Flex trash bins or the waste chute explicitly.\n- Account for module footprints, staging slots, Stacker shuttles, gripper paths,\n  and tall-labware adjacency.\n- Load labware on adapters or module contexts in the documented order.\n- Never substitute a similarly named labware definition; geometry and offsets\n  are part of the protocol's safety model.\n\nSee `references\u002Fmodules_and_deck.md`.\n\n### 3. Select pipettes and tips\n\nCurrent load names are:\n\n- Flex: `flex_1channel_50`, `flex_1channel_1000`,\n  `flex_8channel_50`, `flex_8channel_1000`,\n  `flex_96channel_200`, `flex_96channel_1000`.\n- OT-2 GEN2: `p20_single_gen2`, `p20_multi_gen2`,\n  `p300_single_gen2`, `p300_multi_gen2`, `p1000_single_gen2`.\n\nCheck that every requested volume is within the configured pipette and tip\nrange. A 100 nL operation is not an Opentrons pipetting task.\n\n### 4. Choose a liquid-handling layer\n\n- Use `aspirate()`, `dispense()`, `mix()`, `air_gap()`, `blow_out()`, and\n  `touch_tip()` for explicit control.\n- Use `transfer()`, `distribute()`, and `consolidate()` for standard movements.\n- On Flex, consider `transfer_with_liquid_class()`,\n  `distribute_with_liquid_class()`, or `consolidate_with_liquid_class()` for\n  Opentrons-verified aqueous, volatile, or viscous behavior.\n- Use dynamic start\u002Fend locations or `dynamic_mix()` only when API 2.27+ and the\n  geometry has been reviewed.\n\nModel contamination boundaries before optimizing tips. Never reuse a tip across\nunrelated samples merely to reduce consumables. See\n`references\u002Fliquid_handling.md`.\n\n### 5. Add setup information and runtime controls\n\nUse `define_liquid()` and labware-level `load_liquid()` or\n`load_liquid_by_well()` to improve setup visualization. Do not use deprecated\n`Well.load_liquid()` in new API 2.22+ protocols.\n\nDefine operator-controlled values in `add_parameters()` and read them from\n`protocol.params`. Validate ranges and use defaults that produce a safe,\nmeaningful simulation. CSV parameters have no default and only one CSV\nparameter can be selected per run.\n\n### 6. Budget resources\n\nBefore simulation, calculate:\n\n- Tips or tip sets required under every branch.\n- Source volume = delivered volume + mixing loss + disposal volume + dead\n  volume + a justified reserve.\n- Maximum destination volume after every addition and mix.\n- Number of module, adapter, trash, and staging positions.\n- Incubation and module timing, including concurrent tasks.\n\n### 7. Validate in layers\n\n1. Compile: `python -m py_compile protocol.py`.\n2. Simulate with the pinned package.\n3. Inspect the run log for command count, tip changes, pauses, and unexpected\n   locations.\n4. Import into the appropriate App and require successful analysis.\n5. Check protocol visualization, runtime parameter defaults, deck map, module\n   setup, and labware offsets.\n6. Perform an operator-reviewed dry run before first use.\n\nSee `references\u002Fvalidation_and_operations.md`.\n\n## Common Failure Modes\n\n- Using old names such as `p300_single_flex`; use current `flex_*` load names.\n- Declaring `apiLevel` in both `metadata` and `requirements`.\n- Using API 2.29 for OT-2.\n- Forgetting a Flex trash bin or waste chute.\n- Loading a Magnetic Module on Flex; use supported Flex magnetic hardware.\n- Calling `read(wavelengths=...)` on the plate reader; call `initialize()` first,\n  then `read()`.\n- Using deprecated `Well.load_liquid()` instead of labware-level methods.\n- Assuming simulation verifies calibration, liquid height, or physical\n  clearances.\n- Passing an unsafe well to a partial-nozzle pipette, which can place tips\n  outside labware and cause a crash.\n- Using `new_tip=\"once\"` across samples with incompatible contamination\n  requirements.\n\n## Bundled Templates\n\n| File | Purpose |\n| --- | --- |\n| `scripts\u002Fbasic_protocol_template.py` | Minimal Flex 2.29 transfer with current names |\n| `scripts\u002Fot2_basic_protocol_template.py` | Minimal OT-2 2.28 transfer |\n| `scripts\u002Fserial_dilution_template.py` | Full-plate 1:2 dilution with an 8-channel Flex pipette |\n| `scripts\u002Fpcr_setup_template.py` | Flex PCR setup and Thermocycler cycling |\n| `scripts\u002Fruntime_parameters_template.py` | Safe numeric and Boolean runtime parameters |\n| `scripts\u002Fabsorbance_reader_template.py` | Correct Flex plate-reader initialization and read workflow |\n\nTemplates are starting points, not validated assays. Replace volumes, labware,\nliquids, timing, and tip policies only after checking hardware compatibility and\nthe wet-lab method.\n\n## Reference Guide\n\n| Reference | Use it for |\n| --- | --- |\n| `references\u002Fapi_reference.md` | Current load names, version gates, and high-value methods |\n| `references\u002Fprotocol_authoring.md` | Requirements, labware, runtime parameters, and design workflow |\n| `references\u002Fliquid_handling.md` | Command selection, liquid classes, sensing, and partial tips |\n| `references\u002Fmodules_and_deck.md` | Module compatibility, deck fixtures, gripper, and Stacker |\n| `references\u002Fvalidation_and_operations.md` | Simulation, App analysis, dry runs, and troubleshooting |\n| `references\u002Fmigration-api-2-19-to-2-29.md` | Updating older protocols and this skill's former patterns |\n| `references\u002Fsources.md` | Official documentation and release sources |\n\n## Related skills\n\n- `pylabrobot`: Develop and review PyLabRobot lab-automation resources, liquid-handling plans, offline simulations, and supported-device integrations.\n- `protocolsio-integration`: Reads, validates, and exports protocols.io data using the documented REST v3\u002Fv4 endpoints and the official MCP endpoint, and builds non-exe…\n",{"name":5,"license":15,"metadata":58,"description":7,"allowed-tools":63,"compatibility":64},{"tags":59,"version":60,"category":61,"maintainer":62},"Opentrons, liquid handling, lab robotics, lab automation, protocols","2.1","lab-automation","Kalaris Labs","Read Write Edit Bash","Requires Python 3.10+ and uv for local simulation. Flex examples target opentrons 9.1.1 and API 2.29; the separate OT-2 line targets API 2.28 and uses opentrons 9.0.0 as its local compatibility simulator. Physical execution requires compatible hardware, current robot software, and the appropriate Opentrons App.","main","2b63f856ce19c2a797929cacabd9e0fc936812fa","plugins\u002FKalarisLabs\u002Fresearch-agent-skills\u002Fskills\u002Fopentrons-integration",491,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins","https:\u002F\u002Fhol.org\u002Fplugins\u002Fbest-codex-plugins","https:\u002F\u002Fgithub.com\u002Fhashgraph-online","https:\u002F\u002Fhol.org","Open-source standards and developer tools for interoperable AI agents: discovery, identity, communication, payments, privacy and security.","2026-11-14 14:06:13",{"source":8,"skillName":5,"commands":76,"prompt":86,"zipAvailable":87},[77,80,83],{"tool":78,"command":79},"npx","npx skills add hashgraph-online\u002Fawesome-codex-plugins --skill opentrons-integration",{"tool":81,"command":82},"bunx","bunx skills add hashgraph-online\u002Fawesome-codex-plugins --skill opentrons-integration",{"tool":84,"command":85},"pnpm","pnpm dlx skills add hashgraph-online\u002Fawesome-codex-plugins --skill opentrons-integration","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FKalarisLabs\u002Fresearch-agent-skills\u002Fskills\u002Fopentrons-integration\u002FSKILL.md",true,[89,95,99,103,107,111,115,119,123,126,132,136,140,144,148],{"path":90,"resourceType":91,"resourceTypeDesc":92,"sizeBytes":93,"sourceHtmlUrl":94},"references\u002Fapi_reference.md","REFERENCE","参考文档",11827,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FKalarisLabs\u002Fresearch-agent-skills\u002Fskills\u002Fopentrons-integration\u002Freferences\u002Fapi_reference.md",{"path":96,"resourceType":91,"resourceTypeDesc":92,"sizeBytes":97,"sourceHtmlUrl":98},"references\u002Fliquid_handling.md",11121,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FKalarisLabs\u002Fresearch-agent-skills\u002Fskills\u002Fopentrons-integration\u002Freferences\u002Fliquid_handling.md",{"path":100,"resourceType":91,"resourceTypeDesc":92,"sizeBytes":101,"sourceHtmlUrl":102},"references\u002Fmigration-api-2-19-to-2-29.md",8321,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FKalarisLabs\u002Fresearch-agent-skills\u002Fskills\u002Fopentrons-integration\u002Freferences\u002Fmigration-api-2-19-to-2-29.md",{"path":104,"resourceType":91,"resourceTypeDesc":92,"sizeBytes":105,"sourceHtmlUrl":106},"references\u002Fmodules_and_deck.md",11018,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FKalarisLabs\u002Fresearch-agent-skills\u002Fskills\u002Fopentrons-integration\u002Freferences\u002Fmodules_and_deck.md",{"path":108,"resourceType":91,"resourceTypeDesc":92,"sizeBytes":109,"sourceHtmlUrl":110},"references\u002Fprotocol_authoring.md",11314,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FKalarisLabs\u002Fresearch-agent-skills\u002Fskills\u002Fopentrons-integration\u002Freferences\u002Fprotocol_authoring.md",{"path":112,"resourceType":91,"resourceTypeDesc":92,"sizeBytes":113,"sourceHtmlUrl":114},"references\u002Fsources.md",7731,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FKalarisLabs\u002Fresearch-agent-skills\u002Fskills\u002Fopentrons-integration\u002Freferences\u002Fsources.md",{"path":116,"resourceType":91,"resourceTypeDesc":92,"sizeBytes":117,"sourceHtmlUrl":118},"references\u002Fvalidation_and_operations.md",9849,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FKalarisLabs\u002Fresearch-agent-skills\u002Fskills\u002Fopentrons-integration\u002Freferences\u002Fvalidation_and_operations.md",{"path":120,"resourceType":91,"resourceTypeDesc":92,"sizeBytes":121,"sourceHtmlUrl":122},"requirements-flex.txt",17,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FKalarisLabs\u002Fresearch-agent-skills\u002Fskills\u002Fopentrons-integration\u002Frequirements-flex.txt",{"path":124,"resourceType":91,"resourceTypeDesc":92,"sizeBytes":121,"sourceHtmlUrl":125},"requirements-ot2.txt","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FKalarisLabs\u002Fresearch-agent-skills\u002Fskills\u002Fopentrons-integration\u002Frequirements-ot2.txt",{"path":127,"resourceType":128,"resourceTypeDesc":129,"sizeBytes":130,"sourceHtmlUrl":131},"scripts\u002Fabsorbance_reader_template.py","SCRIPT","脚本",2329,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FKalarisLabs\u002Fresearch-agent-skills\u002Fskills\u002Fopentrons-integration\u002Fscripts\u002Fabsorbance_reader_template.py",{"path":133,"resourceType":128,"resourceTypeDesc":129,"sizeBytes":134,"sourceHtmlUrl":135},"scripts\u002Fbasic_protocol_template.py",1851,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FKalarisLabs\u002Fresearch-agent-skills\u002Fskills\u002Fopentrons-integration\u002Fscripts\u002Fbasic_protocol_template.py",{"path":137,"resourceType":128,"resourceTypeDesc":129,"sizeBytes":138,"sourceHtmlUrl":139},"scripts\u002Fot2_basic_protocol_template.py",1706,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FKalarisLabs\u002Fresearch-agent-skills\u002Fskills\u002Fopentrons-integration\u002Fscripts\u002Fot2_basic_protocol_template.py",{"path":141,"resourceType":128,"resourceTypeDesc":129,"sizeBytes":142,"sourceHtmlUrl":143},"scripts\u002Fpcr_setup_template.py",4440,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FKalarisLabs\u002Fresearch-agent-skills\u002Fskills\u002Fopentrons-integration\u002Fscripts\u002Fpcr_setup_template.py",{"path":145,"resourceType":128,"resourceTypeDesc":129,"sizeBytes":146,"sourceHtmlUrl":147},"scripts\u002Fruntime_parameters_template.py",3197,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FKalarisLabs\u002Fresearch-agent-skills\u002Fskills\u002Fopentrons-integration\u002Fscripts\u002Fruntime_parameters_template.py",{"path":149,"resourceType":128,"resourceTypeDesc":129,"sizeBytes":150,"sourceHtmlUrl":151},"scripts\u002Fserial_dilution_template.py",3229,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FKalarisLabs\u002Fresearch-agent-skills\u002Fskills\u002Fopentrons-integration\u002Fscripts\u002Fserial_dilution_template.py",[153,162,170,178,186,194],{"skillNo":154,"name":155,"nameZh":6,"description":156,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":157,"sourceHtmlUrl":158,"categories":159,"keywords":160,"publishedAt":161},"01M7DV332YQMGD8WTRJ9DZQXTB","worktable-review-with-annotations","Create, inspect, reply to, update, or resolve situated Worktable annotations. Use when feedback belongs to a Doc section, block, text range, or HTML Doc, or when the user asks to address existing review feedback and coordinate a requested artifact edit.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-review-with-annotations\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-review-with-annotations\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":163,"name":164,"nameZh":6,"description":165,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":166,"sourceHtmlUrl":167,"categories":168,"keywords":169,"publishedAt":161},"01M7DV2YGHCZVBEB1AHYB6CGHE","worktable-find-and-synthesize-context","Find, assess, and synthesize context from Worktable Docs and Records. Use when the user asks what a workspace contains, wants workspace-backed research, needs current facts reconciled across artifacts, or requests a cited synthesis without changing workspace state.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-find-and-synthesize-context\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-find-and-synthesize-context\u002FSKILL.md",[],[],{"skillNo":171,"name":172,"nameZh":6,"description":173,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":174,"sourceHtmlUrl":175,"categories":176,"keywords":177,"publishedAt":161},"01M7DV2TQN1H11ME2SAF9MXN7V","worktable-create-or-update-docs","Create, edit, rename, or maintain narrative Worktable Docs. Use for plans, decisions, briefs, notes, research syntheses, and other durable prose when the user requests a new artifact or a safe update to an existing one.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-update-docs\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-update-docs\u002FSKILL.md",[],[],{"skillNo":179,"name":180,"nameZh":6,"description":181,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":182,"sourceHtmlUrl":183,"categories":184,"keywords":185,"publishedAt":161},"01M7DV2NE452NEA8TXATKSNAJH","worktable-create-or-manage-records","Organize repeated structured information as durable Worktable Records. Use for research datasets, inventories, directories, pipelines, trackers, and other collections whose items need identity, fields, filtering, links, validation, or individual updates.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-records\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-records\u002FSKILL.md",[],[],{"skillNo":187,"name":188,"nameZh":6,"description":189,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":190,"sourceHtmlUrl":191,"categories":192,"keywords":193,"publishedAt":161},"01M7DV2HENRBR2KSCVM064WH0Y","worktable-create-or-manage-interactive-html","Create or improve durable visual and interactive artifacts in Worktable. Use for dashboards, trackers, calculators, mini apps, slide presentations, and other requests that benefit from a polished HTML Doc.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-interactive-html\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-interactive-html\u002FSKILL.md",[],[],{"skillNo":195,"name":196,"nameZh":6,"description":197,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":198,"sourceHtmlUrl":199,"categories":200,"keywords":201,"publishedAt":161},"01M7DV2CADR5R7RQFFYPNAGR9Y","worktable-collaborate-threads","Read, answer, and hand off messages through durable Worktable threads with users or other authenticated participants. Use when the user asks to check addressed messages, reply to a participant, continue a thread, request another agent's help, wait briefly for a response, or watch for comments and messages sent to the agent.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-collaborate-threads\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-collaborate-threads\u002FSKILL.md",[],[]]