Agent de protocole Opentrons

VérifiéPrudence

Génère des protocoles Python exécutables pour les robots Opentrons OT-2 et Flex à partir de descriptions en langage naturel.

Spar Skills Guide Bot
Data & IAIntermédiaire
69022/07/2026
Claude CodeCodex
#opentrons#lab-automation#liquid-handling#protocol-generation#python

Recommandé pour

Synthèse automatique

Traduit une description en langage naturel d'une expérience de laboratoire en script Python exécutable pour les robots Opentrons OT-2 et Flex.

Points forts

  • Génère des fichiers .py conformes à l'API Python Opentrons pour OT-2 et Flex
  • Vérifie la compatibilité des plaques et des racks d'embouts déclarés
  • Automatise les calculs de volumes et de facteurs de dilution
  • Prévoit une étape de revue et de simulation via python3 -m opentrons.simulate

Limites

  • La qualité du script dépend entièrement de la précision de la description fournie
  • La validation reste limitée au matériel décrit, sans vérification physique sur le robot
  • Ne remplace pas une revue humaine de sécurité avant exécution réelle
Quand l'utiliser

Quand vous devez automatiser une tâche de pipetage (préparation PCR, ELISA, dilution sérielle) et obtenir rapidement un script pour OT-2 ou Flex.

Quand l'éviter

Si le protocole repose sur du matériel non pris en charge par Opentrons ou exige une validation réglementaire formelle.

Analyse de sécurité

Prudence
Score qualité72/100

The skill is a legitimate lab automation helper and does not instruct destructive, exfiltrating, or obfuscated actions. However, it uses shell execution and simulates generated Python protocols, so it has meaningful execution risk and should be listed with caution.

Points d'attention
  • •Declares run_shell_command, allowing command execution in the agent environment.
  • •Example runs python3 -m opentrons.simulate generated_protocol.py, which may execute generated Python protocol code.
  • •No explicit constraints on where generated files are written or what shell commands are permitted.
  • •Contains proprietary/confidential copyright notice and author signature metadata that are unusual for an open skill catalog but not directly malicious.
Comment cette analyse est faite

Exemples

Serial dilution on Flex
Create an Opentrons Flex protocol for a 1:2 serial dilution across a 96-well plate with 200 µL final volume, using a 200 µL tiprack, then simulate it to check labware compatibility.
PCR setup on OT-2
Write an OT-2 Python protocol that sets up 20 µL PCR reactions in a 96-well plate from a master mix and primers, and validate that the plate and tiprack are compatible.
ELISA plate prep
Generate a protocol for an ELISA plate prep on the OT-2: transfer samples from a 96-well source plate, add 100 µL of diluted antibody, and include a wash step.
<!-- # COPYRIGHT NOTICE # This file is part of the "Universal Biomedical Skills" project. # Copyright (c) 2026 MD BABU MIA, PhD <md.babu.mia@mssm.edu> # All Rights Reserved. # # This code is proprietary and confidential. # Unauthorized copying of this file, via any medium is strictly prohibited. # # Provenance: Authenticated by MD BABU MIA -->

name: 'opentrons-protocol-agent' description: 'Generates executable Python protocols for Opentrons OT-2 and Flex robots from natural language descriptions.' measurable_outcome: Execute skill workflow successfully with valid output within 15 minutes. allowed-tools:

  • read_file
  • run_shell_command

Opentrons Protocol Agent

The Opentrons Protocol Agent bridges the gap between experimental design and physical execution by translating instructions into Opentrons Python API scripts.

When to Use This Skill

  • When you need to automate a liquid handling task (PCR prep, ELISA, serial dilution).
  • When you have a text description of a lab protocol and need code for the robot.
  • To validate if a requested protocol is feasible with available labware.

Core Capabilities

  1. Protocol Generation: Creates valid .py files for OT-2/Flex.
  2. Labware Validation: Checks compatibility of plates and tipracks.
  3. Volume Calculation: Automates liquid transfer math (e.g., dilution factors).

Workflow

  1. Describe: Provide the experiment details (source, destination, volumes).
  2. Generate: The agent uses the opentrons_protocol_template.py or internal logic to draft the script.
  3. Review: The user (or a simulator agent) reviews the code for safety.

Example Usage

User: "Create a protocol for 1:2 serial dilution in a 96-well plate."

Agent Action: (Uses an LLM to fill in the template or generate code)

# Agent writes the file to disk
python3 -m opentrons.simulate generated_protocol.py
<!-- AUTHOR_SIGNATURE: 9a7f3c2e-MD-BABU-MIA-2026-MSSM-SECURE -->
Skills similaires