Opentrons Protocol Agent
Apps & Automationopentrons-protocol-agentOpentrons Protocol Agent is an Agent Skill for apps & automation published in the majiayu000/claude-skill-registry repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Generates executable Python protocols for Opentrons OT-2 and Flex robots from natural language descriptions.
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Inspect the Agent Skill at https://github.com/majiayu000/claude-skill-registry/blob/HEAD/skills/data/opentrons-agent/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/opentrons-protocol-agent, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
---name: opentrons-protocol-agent description: Generates executable Python protocols for Opentrons OT-2 and Flex robots from natural language descriptions. license: MIT metadata: author: MD BABU MIA version: "1.0.0" compatibility:
- system: Python 3.10+ allowed-tools:
- run_shell_command
- read_file
keywords:
- opentrons-agent
- automation
- biomedical measurable_outcome: execute task with >95% success rate. ---"
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