Opentrons_Agent
Translates natural language lab protocols into Python scripts for OT-2 and Flex robots.
Install
mkdir -p .claude/skills/opentrons-agent && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/11497" && unzip -o skill.zip -d .claude/skills/opentrons-agent && rm skill.zipInstalls to .claude/skills/opentrons-agent
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
<!-- # COPYRIGHT NOTICE # This file is part of the "Universal Biomedical Skills" project. # Copyright (c) 2026 MD BABU MIA, PhD <[email protected]> # All Rights Reserved. # # This code is proprietary and confidential. # Unauthorized copying of this file, via any medium is striKey capabilities
- →Generate executable Python protocols for Opentrons OT-2 and Flex robots
- →Translate natural language descriptions into Opentrons Python API scripts
- →Validate labware compatibility for requested protocols
- →Automate liquid transfer calculations, such as dilution factors
- →Create valid `.py` files for OT-2/Flex
- →Review generated code for safety
How it works
The Opentrons Protocol Agent translates natural language instructions into Opentrons Python API scripts. It generates valid `.py` files, validates labware, and calculates liquid volumes.
Inputs & outputs
When to use Opentrons_Agent
- →PCR preparation
- →Serial dilution protocols
- →Liquid handling automation
- →ELISA workflow
About this skill
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
- Protocol Generation: Creates valid
.pyfiles for OT-2/Flex. - Labware Validation: Checks compatibility of plates and tipracks.
- Volume Calculation: Automates liquid transfer math (e.g., dilution factors).
Workflow
- Describe: Provide the experiment details (source, destination, volumes).
- Generate: The agent uses the
opentrons_protocol_template.pyor internal logic to draft the script. - 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 -->When not to use it
- →When the task does not involve liquid handling automation
- →When the task does not require code for Opentrons robots
- →When the task is not about translating a lab protocol into code
Limitations
- →The agent uses `opentrons_protocol_template.py` or internal logic to draft the script.
- →The user or a simulator agent reviews the code for safety.
- →The skill is designed for Opentrons OT-2 and Flex robots.
How it compares
This agent automates the creation of robot-executable Python code from natural language, unlike manual script writing.
Compared to similar skills
Opentrons_Agent side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| Opentrons_Agent (this skill) | 0 | 6mo | Review | Intermediate |
| telegram-bot-builder | 106 | 6mo | Review | Intermediate |
| async-python-patterns | 12 | 2mo | No flags | Intermediate |
| modal | 5 | 7mo | Review | Intermediate |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by mdbabumiamssm
View all by mdbabumiamssm →You might also like
telegram-bot-builder
davila7
Expert in building Telegram bots that solve real problems - from simple automation to complex AI-powered bots. Covers bot architecture, the Telegram Bot API, user experience, monetization strategies, and scaling bots to thousands of users. Use when: telegram bot, bot api, telegram automation, chat bot telegram, tg bot.
async-python-patterns
wshobson
Master Python asyncio, concurrent programming, and async/await patterns for high-performance applications. Use when building async APIs, concurrent systems, or I/O-bound applications requiring non-blocking operations.
modal
davila7
Run Python code in the cloud with serverless containers, GPUs, and autoscaling. Use when deploying ML models, running batch processing jobs, scheduling compute-intensive tasks, or serving APIs that require GPU acceleration or dynamic scaling.
python-background-jobs
wshobson
Python background job patterns including task queues, workers, and event-driven architecture. Use when implementing async task processing, job queues, long-running operations, or decoupling work from request/response cycles.
opentrons-integration
davila7
Lab automation platform for Flex/OT-2 robots. Write Protocol API v2 protocols, liquid handling, hardware modules (heater-shaker, thermocycler), labware management, for automated pipetting workflows.
superpowers-python-automation
anthonylee991
Implements reliable automations in Python for REST APIs: httpx/requests patterns, retries, timeouts, pagination, typing, config, logging, and tests. Use when writing Python scripts/services that call external APIs.