Zum Inhalt springen
Skillpedia
Automatisierungen51k · #3514

opentrons-integration

Was er macht

Dieses Tool hilft dir, Programme (sogenannte 'Protokolle') für die Laborroboter von Opentrons zu erstellen und zu testen. Es sorgt dafür, dass die Roboter Flüssigkeiten genau übertragen.

Wann du ihn nutzt

  • ✓Wenn du ein neues Protokoll für einen Opentrons-Roboter erstellst.
  • ✓Wenn du testen willst, ob ein Protokoll korrekt funktioniert, bevor du es auf dem Roboter ausführst.
  • ✓Wenn du ein Protokoll für ein anderes Robotermodell (Flex oder OT-2) anpassen willst.

Link zum Skill

https://github.com/K-Dense-AI/scientific-agent-skills/blob/main/skills/opentrons-integration/SKILL.md

Kopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.

So nutzt du ihn

Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.

Fertige Nachricht zum Einfügen

Nutze diesen Skill, um mir zu helfen: https://github.com/K-Dense-AI/scientific-agent-skills/blob/main/skills/opentrons-integration/SKILL.md Lies die SKILL.md unter diesem Link und folge ihren Anweisungen für meine Aufgabe.
Soll deine KI Skills wie diesen selbst finden?Installiere den kostenlosen Skillpedia-MCP: eine Zeile, und sie durchsucht vor jeder Aufgabe 15.000+ Skills.In 1 Minute installieren →

Beispielanfrage an deine KI

“Erstelle ein Protokoll, das 100 Mikroliter Flüssigkeit von Reservoir A1 in Well A1 der Platte überträgt, und zwar mit einem Flex-Roboter.”

5 neue Skills pro Woche. 1 Minute Lesezeit.

So funktioniert es

Du gibst Angaben zum Roboter, zum Laborgerät (Labware) und zur Flüssigkeit an. Das Tool erzeugt dann den nötigen Python-Code und ermöglicht eine Simulation des Durchlaufs, um Fehler zu finden.

Technischer Inhalt (originale SKILL.md)

Originaltext des Autors, auf Englisch, direkt von GitHub.

Opentrons Integration

Overview

Create production-minded Python Protocol API v2 protocols for Opentrons Flex and OT-2. This skill covers protocol structure, hardware and deck configuration, liquid handling, runtime customization, module control, simulation, and safe deployment.

The verified baseline as of 2026-10-01 is:

  • opentrons==10.0.0 for reproducible Flex simulation.
  • opentrons==9.0.0 for local OT-2 API 2.28 compatibility simulation.
  • Flex supports API levels 2.15 through 2.30 on current software.
  • OT-2 supports API levels 2.0 through 2.28 on current software.
  • API 2.29 and later are Flex-only at this baseline. Keep OT-2 at 2.28 or lower.
  • Bundled Flex templates retain API 2.29 because step grouping is their newest required feature. API 2.30 fixes start-only meniscus aspiration.
  • The 10.0.0 library reports a local maximum of 2.31, ahead of the documented robot maximum 2.30. Do not infer robot support from that constant.

Read references/sources.md for the upstream documentation used for this snapshot. Recheck the official versioning page before targeting newer robot software.

Safety Boundary

Opentrons protocols control physical equipment. Never treat successful Python syntax or local simulation as permission to run on a robot.

Before live execution:

  1. Simulate locally with the same pinned opentrons version used for authoring.
  2. Import the protocol into the correct Opentrons App and require successful analysis.
  3. Verify robot model, software, pipettes, mounts, modules, adapters, labware definitions, deck fixtures, tip count, source volumes, dead volumes, and destination capacity.
  4. Review the run preview and deck map with the operator.
  5. Perform a slow dry run with nonhazardous liquid when geometry, custom labware, partial tip pickup, or gripper moves are new.
  6. Keep the emergency stop accessible and follow site-specific biosafety, chemical-safety, and contamination-control procedures.

Simulation cannot verify physical calibration, liquid properties, meniscus behavior, labware manufacturing tolerances, cap or seal removal, tubing, or all possible collisions.

Choose the Right Interface

Use this skill for Python files imported into the Opentrons App and run through the Protocol API.

  • Use Protocol Designer for supported no-code workflows.
  • Use PyLabRobot for a hardware-agnostic workflow spanning vendors.
  • Treat the robot's HTTP API as a separate integration surface. If direct HTTP control is explicitly required, use the OpenAPI document served by the target robot and do not infer endpoints from Protocol API methods.

Required Intake

Do not write final protocol code until these facts are known:

  • Robot: Flex or OT-2, plus installed robot software.
  • Pipette model, volume range, channel count, and mount.
  • Modules and generations; Flex Gripper or Stacker availability.
  • Exact labware API load names and custom definition files, if any.
  • Deck fixtures: Flex trash bin, waste chute, staging slots, or Stackers.
  • Source volumes, destination volumes, dead volume, mixing needs, and liquid characteristics.
  • Tip policy: contamination boundaries, reuse policy, filters, partial pickup, and total tips.
  • Operator interventions, incubation timing, runtime parameters, and output files.
  • Acceptance criteria: tolerated volume error, required controls, and dry-run plan.

If any physical configuration is uncertain, produce a parameterized draft and an explicit assumptions list rather than guessing.

Install and Simulate

Flex:

uv run --no-project --isolated --python 3.12 --with "opentrons==10.0.0" opentrons_simulate protocol.py

OT-2 API 2.28:

uv run --no-project --isolated --python 3.12 --with "opentrons==9.0.0" opentrons_simulate protocol.py

The 10.0.0 package rejects OT-2 protocols after the Flex/OT-2 release-line split. Always complete OT-2 analysis in the current OT-2 App.

For a dedicated Flex environment:

uv venv --python 3.12 .venv-opentrons
uv pip install --python .venv-opentrons/bin/python -r skills/opentrons-integration/requirements-flex.txt
.venv-opentrons/bin/opentrons_simulate protocol.py

Use requirements-ot2.txt instead for an OT-2 compatibility environment. On Windows, invoke the executable from .venv-opentrons\Scripts\opentrons_simulate.exe. Local simulation is for Python protocols; import Protocol Designer JSON files into the appropriate Opentrons App instead.

…

Häufige Fragen

Was sind 'Protokolle'?

Protokolle sind Schritt-für-Schritt-Anleitungen, die den Laborrobotern sagen, was sie tun sollen, zum Beispiel Flüssigkeiten zwischen Behältern zu bewegen.

Was ist der Unterschied zwischen Flex und OT-2?

Flex und OT-2 sind zwei verschiedene Modelle von Opentrons-Robotern. Jedes hat eigene technische Daten und Softwareversionen, die berücksichtigt werden müssen.

Was ist eine 'Simulation'?

Eine Simulation ist wie ein virtueller Testlauf. Das Tool führt das Protokoll auf dem Computer aus, um zu prüfen, ob es wie erwartet funktioniert, ohne dass der echte Roboter benutzt wird.

Details

Originalbeschreibung des Autors

Authors, reviews, migrates, simulates, and troubleshoots official Opentrons Python Protocol API v2 protocols for Flex and OT-2 robots. Use for robot-specific liquid handling, deck and labware setup, pipettes, modules, runtime parameters, liquid classes, and Opentrons App analysis. Use pylabrobot instead when one workflow must support multiple robot vendors.

repo: K-Dense-AI/scientific-agent-skills

Beliebtheit

GitHub-Sterne
51k
Platz im Ranking
#3514
Lizenz
MIT
Aktualisiert
15.10.2026

Ist dieser Skill nützlich?

0

Anmelden um abzustimmen.

Kommentare

  • …

Weitere Skills aus diesem Repository

Ähnliche Skills