[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7ECKBG2Q7B8VF51M08Y67H0":3,"skill-same:01M7ECKBG2Q7B8VF51M08Y67H0":114},{"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":29,"commitSha":30,"skillDirectory":31,"forksCount":32,"repositoryHtmlUrl":33,"repositoryHomepageUrl":6,"ownerHtmlUrl":34,"ownerBlogUrl":6,"ownerDescription":35,"updatedAt":36,"install":37,"resources":50},"01M7ECKBG2Q7B8VF51M08Y67H0","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.","sanjeevafk\u002Fagent-skills","sanjeevafk","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F230678117?v=4","01M7C540EFY46ETG1NNWKS5X3Q","Sanjeev","01M7C540F366J5C1D587BMKH9Q",0,"MIT","https:\u002F\u002Fgithub.com\u002Fsanjeevafk\u002Fagent-skills\u002Fblob\u002Fmain\u002Fcollections\u002Fscientific-skills\u002Fopentrons-integration\u002FSKILL.md",[],[],"2026-11-15 14:19:17",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.0\"\n  skill-author: \"K-Dense Inc.\"\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","# 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",{"name":5,"license":15,"metadata":24,"description":7,"allowed-tools":27,"compatibility":28},{"version":25,"skill-author":26},"2.0","K-Dense Inc.","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","4e084e84eb42fc53e144c89c0f7f48b39c8a4b0f","collections\u002Fscientific-skills\u002Fopentrons-integration",1,"https:\u002F\u002Fgithub.com\u002Fsanjeevafk\u002Fagent-skills","https:\u002F\u002Fgithub.com\u002Fsanjeevafk","First make it work. Then make it right. Then make it fast.","2026-11-14 13:36:16",{"source":8,"skillName":5,"commands":38,"prompt":48,"zipAvailable":49},[39,42,45],{"tool":40,"command":41},"npx","npx skills add sanjeevafk\u002Fagent-skills --skill opentrons-integration",{"tool":43,"command":44},"bunx","bunx skills add sanjeevafk\u002Fagent-skills --skill opentrons-integration",{"tool":46,"command":47},"pnpm","pnpm dlx skills add sanjeevafk\u002Fagent-skills --skill opentrons-integration","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fsanjeevafk\u002Fagent-skills\u002Fblob\u002Fmain\u002Fcollections\u002Fscientific-skills\u002Fopentrons-integration\u002FSKILL.md",true,[51,57,61,65,69,73,77,81,85,88,94,98,102,106,110],{"path":52,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":55,"sourceHtmlUrl":56},"references\u002Fapi_reference.md","REFERENCE","参考文档",11827,"https:\u002F\u002Fgithub.com\u002Fsanjeevafk\u002Fagent-skills\u002Fblob\u002Fmain\u002Fcollections\u002Fscientific-skills\u002Fopentrons-integration\u002Freferences\u002Fapi_reference.md",{"path":58,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":59,"sourceHtmlUrl":60},"references\u002Fliquid_handling.md",11121,"https:\u002F\u002Fgithub.com\u002Fsanjeevafk\u002Fagent-skills\u002Fblob\u002Fmain\u002Fcollections\u002Fscientific-skills\u002Fopentrons-integration\u002Freferences\u002Fliquid_handling.md",{"path":62,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":63,"sourceHtmlUrl":64},"references\u002Fmigration-api-2-19-to-2-29.md",8321,"https:\u002F\u002Fgithub.com\u002Fsanjeevafk\u002Fagent-skills\u002Fblob\u002Fmain\u002Fcollections\u002Fscientific-skills\u002Fopentrons-integration\u002Freferences\u002Fmigration-api-2-19-to-2-29.md",{"path":66,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":67,"sourceHtmlUrl":68},"references\u002Fmodules_and_deck.md",11018,"https:\u002F\u002Fgithub.com\u002Fsanjeevafk\u002Fagent-skills\u002Fblob\u002Fmain\u002Fcollections\u002Fscientific-skills\u002Fopentrons-integration\u002Freferences\u002Fmodules_and_deck.md",{"path":70,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":71,"sourceHtmlUrl":72},"references\u002Fprotocol_authoring.md",11314,"https:\u002F\u002Fgithub.com\u002Fsanjeevafk\u002Fagent-skills\u002Fblob\u002Fmain\u002Fcollections\u002Fscientific-skills\u002Fopentrons-integration\u002Freferences\u002Fprotocol_authoring.md",{"path":74,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":75,"sourceHtmlUrl":76},"references\u002Fsources.md",7731,"https:\u002F\u002Fgithub.com\u002Fsanjeevafk\u002Fagent-skills\u002Fblob\u002Fmain\u002Fcollections\u002Fscientific-skills\u002Fopentrons-integration\u002Freferences\u002Fsources.md",{"path":78,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":79,"sourceHtmlUrl":80},"references\u002Fvalidation_and_operations.md",9849,"https:\u002F\u002Fgithub.com\u002Fsanjeevafk\u002Fagent-skills\u002Fblob\u002Fmain\u002Fcollections\u002Fscientific-skills\u002Fopentrons-integration\u002Freferences\u002Fvalidation_and_operations.md",{"path":82,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":83,"sourceHtmlUrl":84},"requirements-flex.txt",17,"https:\u002F\u002Fgithub.com\u002Fsanjeevafk\u002Fagent-skills\u002Fblob\u002Fmain\u002Fcollections\u002Fscientific-skills\u002Fopentrons-integration\u002Frequirements-flex.txt",{"path":86,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":83,"sourceHtmlUrl":87},"requirements-ot2.txt","https:\u002F\u002Fgithub.com\u002Fsanjeevafk\u002Fagent-skills\u002Fblob\u002Fmain\u002Fcollections\u002Fscientific-skills\u002Fopentrons-integration\u002Frequirements-ot2.txt",{"path":89,"resourceType":90,"resourceTypeDesc":91,"sizeBytes":92,"sourceHtmlUrl":93},"scripts\u002Fabsorbance_reader_template.py","SCRIPT","脚本",2329,"https:\u002F\u002Fgithub.com\u002Fsanjeevafk\u002Fagent-skills\u002Fblob\u002Fmain\u002Fcollections\u002Fscientific-skills\u002Fopentrons-integration\u002Fscripts\u002Fabsorbance_reader_template.py",{"path":95,"resourceType":90,"resourceTypeDesc":91,"sizeBytes":96,"sourceHtmlUrl":97},"scripts\u002Fbasic_protocol_template.py",1851,"https:\u002F\u002Fgithub.com\u002Fsanjeevafk\u002Fagent-skills\u002Fblob\u002Fmain\u002Fcollections\u002Fscientific-skills\u002Fopentrons-integration\u002Fscripts\u002Fbasic_protocol_template.py",{"path":99,"resourceType":90,"resourceTypeDesc":91,"sizeBytes":100,"sourceHtmlUrl":101},"scripts\u002Fot2_basic_protocol_template.py",1706,"https:\u002F\u002Fgithub.com\u002Fsanjeevafk\u002Fagent-skills\u002Fblob\u002Fmain\u002Fcollections\u002Fscientific-skills\u002Fopentrons-integration\u002Fscripts\u002Fot2_basic_protocol_template.py",{"path":103,"resourceType":90,"resourceTypeDesc":91,"sizeBytes":104,"sourceHtmlUrl":105},"scripts\u002Fpcr_setup_template.py",4440,"https:\u002F\u002Fgithub.com\u002Fsanjeevafk\u002Fagent-skills\u002Fblob\u002Fmain\u002Fcollections\u002Fscientific-skills\u002Fopentrons-integration\u002Fscripts\u002Fpcr_setup_template.py",{"path":107,"resourceType":90,"resourceTypeDesc":91,"sizeBytes":108,"sourceHtmlUrl":109},"scripts\u002Fruntime_parameters_template.py",3197,"https:\u002F\u002Fgithub.com\u002Fsanjeevafk\u002Fagent-skills\u002Fblob\u002Fmain\u002Fcollections\u002Fscientific-skills\u002Fopentrons-integration\u002Fscripts\u002Fruntime_parameters_template.py",{"path":111,"resourceType":90,"resourceTypeDesc":91,"sizeBytes":112,"sourceHtmlUrl":113},"scripts\u002Fserial_dilution_template.py",3229,"https:\u002F\u002Fgithub.com\u002Fsanjeevafk\u002Fagent-skills\u002Fblob\u002Fmain\u002Fcollections\u002Fscientific-skills\u002Fopentrons-integration\u002Fscripts\u002Fserial_dilution_template.py",[115,122,130,139,147,154],{"skillNo":116,"name":117,"nameZh":6,"description":118,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":119,"categories":120,"keywords":121,"publishedAt":19},"01M7EFHX67M3KKXT1BXVPA5ADT","zarr-python","Chunked N-D arrays for cloud storage (Zarr-Python 3). Compressed arrays, parallel I\u002FO, S3\u002FGCS via fsspec, NumPy\u002FDask\u002FXarray compatible, for large-scale scientific computing pipelines.","https:\u002F\u002Fgithub.com\u002Fsanjeevafk\u002Fagent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzarr-python\u002FSKILL.md",[],[],{"skillNo":123,"name":124,"nameZh":6,"description":125,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":126,"sourceHtmlUrl":127,"categories":128,"keywords":129,"publishedAt":19},"01M7EFFQGM51TZBGRENXY50ZYM","whiteboard-diagrams","Create accurate, simple, hand-drawn whiteboard diagrams from a user's process, system, architecture, learning workflow, comparison, or causal explanation. Use when the user asks for a scribbly whiteboard visual, educational workflow graphic, hand-drawn explainer, or diagram like the bundled reference; ask one focused clarification question when the subject or relationships are missing, then generate and visually verify the final image.","https:\u002F\u002Fgithub.com\u002Fsanjeevafk\u002Fagent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fwhiteboard-diagrams\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fsanjeevafk\u002Fagent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fwhiteboard-diagrams\u002FSKILL.md",[],[],{"skillNo":131,"name":132,"nameZh":6,"description":133,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":134,"licenseFileUrl":135,"sourceHtmlUrl":136,"categories":137,"keywords":138,"publishedAt":19},"01M7EFF1CSQNTDMHFK4ZGY6NYK","webapp-testing","Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.","Apache-2.0","https:\u002F\u002Fgithub.com\u002Fsanjeevafk\u002Fagent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fwebapp-testing\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fsanjeevafk\u002Fagent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fwebapp-testing\u002FSKILL.md",[],[],{"skillNo":140,"name":141,"nameZh":6,"description":142,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":134,"licenseFileUrl":143,"sourceHtmlUrl":144,"categories":145,"keywords":146,"publishedAt":19},"01M7EFE8106X6C28FT8PA74427","web-artifacts-builder","Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn\u002Fui). Use for complex artifacts requiring state management, routing, or shadcn\u002Fui components - not for simple single-file HTML\u002FJSX artifacts.","https:\u002F\u002Fgithub.com\u002Fsanjeevafk\u002Fagent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fweb-artifacts-builder\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fsanjeevafk\u002Fagent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fweb-artifacts-builder\u002FSKILL.md",[],[],{"skillNo":148,"name":149,"nameZh":6,"description":150,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":151,"categories":152,"keywords":153,"publishedAt":19},"01M7EFCSNZM9G7ZHS6F127Q71X","verification-loop","A comprehensive verification system for Claude Code sessions.","https:\u002F\u002Fgithub.com\u002Fsanjeevafk\u002Fagent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fverification-loop\u002FSKILL.md",[],[],{"skillNo":155,"name":156,"nameZh":6,"description":157,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":158,"sourceHtmlUrl":159,"categories":160,"keywords":161,"publishedAt":19},"01M7EFCE7EZMKPRYDDNKBQ9EEH","vercel-deploy","Deploy applications and websites to Vercel. Use when the user requests deployment actions like \"deploy my app\", \"deploy and give me the link\", \"push this live\", or \"create a preview deployment\".","https:\u002F\u002Fgithub.com\u002Fsanjeevafk\u002Fagent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fvercel-deploy\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fsanjeevafk\u002Fagent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fvercel-deploy\u002FSKILL.md",[],[]]