opentrons-integration
Skill by K-Dense-AI
Authors, reviews, migrates, simulates, and troubleshoots Opentrons Python Protocol API v2 protocols for Flex and OT-2 robots. It is aimed at robot-specific liquid handling; PyLabRobot is suggested when one workflow must span multiple vendors.
Install opentrons-integration
Built from the published package, never by AI.
git clone --depth 1 https://github.com/K-Dense-AI/scientific-agent-skills /tmp/scientific-agent-skills && mkdir -p ~/.claude/skills && cp -r /tmp/scientific-agent-skills/skills/opentrons-integration ~/.claude/skills/opentrons-integrationRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/K-Dense-AI/scientific-agent-skills /tmp/scientific-agent-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/scientific-agent-skills/skills/opentrons-integration ~/.gemini/antigravity-cli/skills/opentrons-integrationAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install opentrons-integration in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This agent skill guides an AI assistant through writing and checking Python protocols for Opentrons Flex and OT-2 liquid-handling robots. It covers protocol structure, deck and labware setup, pipette and tip selection, liquid-handling methods, modules, runtime parameters, and liquid classes. It pins specific opentrons package versions for local simulation and lists the API levels each robot line supports.
The skill sets a safety boundary: a protocol that passes syntax checks or local simulation is not treated as cleared for a robot. The workflow calls for App analysis, a deck and volume review, and an operator-reviewed slow dry run before live execution. It is intended for lab engineers and automation developers who write or maintain Opentrons protocols.
Written from the project's SKILL.md and checked against it.
What it can do
- Protocol authoringCreates Python Protocol API v2 protocols for Flex and OT-2 with a required requirements block.
- Local simulationRuns protocols through opentrons_simulate using pinned opentrons package versions.
- API level selectionMaps requested features to the minimum API level that supports them.
- Deck and labware setupGuides explicit deck layout, exact load names, trash bins, adapters, and module placement.
- Pipette and tip selectionChecks pipette load names, volume ranges, and tip counts against requested volumes.
- Liquid-handling layer choiceHelps pick between low-level commands, transfer, distribute, consolidate, and liquid-class methods.
- Runtime parametersDefines operator-controlled values with add_parameters() and reads them from protocol.params.
- Resource budgetingCalculates tips, source and destination volumes, and module timing before simulation.
- Layered validationSequences compile, simulation, run-log inspection, App analysis, and dry-run review.
- Migration and troubleshootingCovers reviewing and migrating existing protocols and common failure modes.
What you need
- Python 3.10 or later
- uv for local simulation
- Opentrons App for importing and analyzing protocols
- Compatible Opentrons hardware for physical execution
Try asking
- Write a Flex transfer protocol from a 12-well reservoir to a 96-well plate
- Check this OT-2 protocol for API 2.29 features that OT-2 does not support
- Add runtime parameters for volume and incubation time to my protocol
Good to know
- OT-2 must stay at API 2.28 or lower; API 2.29 and later are Flex-only at the stated baseline.
- Simulation cannot verify physical calibration, liquid properties, meniscus behavior, or all collisions.
- Local simulation covers Python protocols only; Protocol Designer JSON files must be imported into the App.
- The skill's version baseline is dated 2026-10-01 and should be rechecked against the official versioning page.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/opentrons-integration/SKILL.md, skills/opentrons-integration/scripts/absorbance_reader_template.py, skills/opentrons-integration/scripts/basic_protocol_template.py, skills/opentrons-integration/scripts/ot2_basic_protocol_template.py, skills/opentrons-integration/scripts/pcr_setup_template.py, skills/opentrons-integration/scripts/runtime_parameters_template.py, skills/opentrons-integration/scripts/serial_dilution_template.py. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
Allowed tools: Read Write Edit Bash
-
SKILL.md15 KB -
references/api_reference.md13 KB -
references/liquid_handling.md13 KB -
references/migration-api-2-19-to-2-29.md9 KB -
references/modules_and_deck.md12 KB
Show all 16 files
-
references/protocol_authoring.md11 KB -
references/sources.md9 KB -
references/validation_and_operations.md10 KB -
requirements-flex.txt18 B -
requirements-ot2.txt17 B -
scripts/absorbance_reader_template.py2 KB -
scripts/basic_protocol_template.py2 KB -
scripts/ot2_basic_protocol_template.py2 KB -
scripts/pcr_setup_template.py5 KB -
scripts/runtime_parameters_template.py3 KB -
scripts/serial_dilution_template.py3 KB
Alternatives to opentrons-integration
All alternatives →Searches arXiv for scientific papers and preprints, extracts their metadata and abstracts, and downloads PDF or HTML full text. Suited to users who need research papers, literature or specific arXiv IDs.
Downloads AlphaFold predicted structures and PAE matrices for a UniProt ID, then reports pLDDT confidence, domain boundaries and disorder. Built for users who already have a UniProt accession.
Queries the QuickGO and Evidence & Conclusion Ontology REST API to map genes to Gene Ontology terms. Built for researchers doing functional annotation and GO hierarchy exploration.
Connects an AI assistant to Peloton to browse fitness classes, check live and archived schedules, and manage workouts. Built for Peloton users who want to plan rides from their assistant.
Queries NCBI Gene through the E-utilities and Datasets API. It helps researchers search genes by symbol or ID, retrieve gene details, and run batch lookups for annotation and functional analysis.
Prepares and launches nf-core/pacsomatic runs for matched tumor-normal PacBio HiFi data starting from unaligned BAM files. It generates samplesheets and pinned launch artifacts, then runs locally or submits to a scheduler.
Compare with literature-search-arxiv, alphafold-database-fetch-and-analyze or quickgo-database
opentrons-integration: common questions
Does this skill support OT-2 robots?
Yes, for API 2.28 and earlier. The source says local OT-2 compatibility simulation uses opentrons 9.0.0, and API 2.29 and later are Flex-only at the stated baseline.
Can simulation replace a dry run on the robot?
No. The source says simulation cannot verify physical calibration, liquid properties, labware tolerances, or all possible collisions, so a slow dry run with nonhazardous liquid is recommended.
When should I use PyLabRobot instead?
The source says to use PyLabRobot when one workflow must support multiple robot vendors.
How do I install opentrons-integration?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is opentrons-integration free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is opentrons-integration safe to use?
It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to opentrons-integration?
Similar skills: literature-search-arxiv, alphafold-database-fetch-and-analyze, quickgo-database, peloton.
