Opentrons protocol agent
Skill FridrichMethod/awesome-skills/skills/opentrons-protocol-agent
Generates executable Python protocols for Opentrons OT-2 and Flex robots from natural language descriptions.From its SKILL.md
npx -y skills add FridrichMethod/awesome-skills --skill opentrons-protocol-agentAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 13 stars13 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
1.9 KB, 421 tokens by cl100k_base, as published. Nobody here has run it
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 -->What ships with it: 3 files
9.3 KB alongside SKILL.md, 2 of them executable
- opentrons_generator.pyruns4.5 KB
- opentrons_protocol_template.pyruns1.8 KB
- README.md2.9 KB