pylabrobot
Laboratory automation toolkit for controlling liquid handlers, plate readers, pumps, heater shakers, incubators, centrifuges, and analytical equipment. Use this skill when automating laboratory workflows, programming liquid handling robots (Hamilton STAR, Opentrons OT-2, Tecan EVO), integrating lab equipment, managing deck layouts and resources (plates, tips, containers), reading plates, or creating reproducible laboratory protocols. Applicable for both simulated protocols and physical hardware control.
Best use case
pylabrobot is best used when you need a repeatable AI agent workflow instead of a one-off prompt. It is especially useful for teams working in multi. Laboratory automation toolkit for controlling liquid handlers, plate readers, pumps, heater shakers, incubators, centrifuges, and analytical equipment. Use this skill when automating laboratory workflows, programming liquid handling robots (Hamilton STAR, Opentrons OT-2, Tecan EVO), integrating lab equipment, managing deck layouts and resources (plates, tips, containers), reading plates, or creating reproducible laboratory protocols. Applicable for both simulated protocols and physical hardware control.
Laboratory automation toolkit for controlling liquid handlers, plate readers, pumps, heater shakers, incubators, centrifuges, and analytical equipment. Use this skill when automating laboratory workflows, programming liquid handling robots (Hamilton STAR, Opentrons OT-2, Tecan EVO), integrating lab equipment, managing deck layouts and resources (plates, tips, containers), reading plates, or creating reproducible laboratory protocols. Applicable for both simulated protocols and physical hardware control.
Users should expect a more consistent workflow output, faster repeated execution, and less time spent rewriting prompts from scratch.
Practical example
Example input
Use the "pylabrobot" skill to help with this workflow task. Context: Laboratory automation toolkit for controlling liquid handlers, plate readers, pumps, heater shakers, incubators, centrifuges, and analytical equipment. Use this skill when automating laboratory workflows, programming liquid handling robots (Hamilton STAR, Opentrons OT-2, Tecan EVO), integrating lab equipment, managing deck layouts and resources (plates, tips, containers), reading plates, or creating reproducible laboratory protocols. Applicable for both simulated protocols and physical hardware control.
Example output
A structured workflow result with clearer steps, more consistent formatting, and an output that is easier to reuse in the next run.
When to use this skill
- Use this skill when you want a reusable workflow rather than writing the same prompt again and again.
When not to use this skill
- Do not use this when you only need a one-off answer and do not need a reusable workflow.
- Do not use it if you cannot install or maintain the related files, repository context, or supporting tools.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/pylabrobot/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How pylabrobot Compares
| Feature / Agent | pylabrobot | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Laboratory automation toolkit for controlling liquid handlers, plate readers, pumps, heater shakers, incubators, centrifuges, and analytical equipment. Use this skill when automating laboratory workflows, programming liquid handling robots (Hamilton STAR, Opentrons OT-2, Tecan EVO), integrating lab equipment, managing deck layouts and resources (plates, tips, containers), reading plates, or creating reproducible laboratory protocols. Applicable for both simulated protocols and physical hardware control.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# PyLabRobot ## Overview PyLabRobot is a hardware-agnostic, pure Python Software Development Kit for automated and autonomous laboratories. Use this skill to control liquid handling robots, plate readers, pumps, heater shakers, incubators, centrifuges, and other laboratory automation equipment through a unified Python interface that works across platforms (Windows, macOS, Linux). ## When to Use This Skill Use this skill when: - Programming liquid handling robots (Hamilton STAR/STARlet, Opentrons OT-2, Tecan EVO) - Automating laboratory workflows involving pipetting, sample preparation, or analytical measurements - Managing deck layouts and laboratory resources (plates, tips, containers, troughs) - Integrating multiple lab devices (liquid handlers, plate readers, heater shakers, pumps) - Creating reproducible laboratory protocols with state management - Simulating protocols before running on physical hardware - Reading plates using BMG CLARIOstar or other supported plate readers - Controlling temperature, shaking, centrifugation, or other material handling operations - Working with laboratory automation in Python ## Core Capabilities PyLabRobot provides comprehensive laboratory automation through six main capability areas, each detailed in the references/ directory: ### 1. Liquid Handling (`references/liquid-handling.md`) Control liquid handling robots for aspirating, dispensing, and transferring liquids. Key operations include: - **Basic Operations**: Aspirate, dispense, transfer liquids between wells - **Tip Management**: Pick up, drop, and track pipette tips automatically - **Advanced Techniques**: Multi-channel pipetting, serial dilutions, plate replication - **Volume Tracking**: Automatic tracking of liquid volumes in wells - **Hardware Support**: Hamilton STAR/STARlet, Opentrons OT-2, Tecan EVO, and others ### 2. Resource Management (`references/resources.md`) Manage laboratory resources in a hierarchical system: - **Resource Types**: Plates, tip racks, troughs, tubes, carriers, and custom labware - **Deck Layout**: Assign resources to deck positions with coordinate systems - **State Management**: Track tip presence, liquid volumes, and resource states - **Serialization**: Save and load deck layouts and states from JSON files - **Resource Discovery**: Access wells, tips, and containers through intuitive APIs ### 3. Hardware Backends (`references/hardware-backends.md`) Connect to diverse laboratory equipment through backend abstraction: - **Liquid Handlers**: Hamilton STAR (full support), Opentrons OT-2, Tecan EVO - **Simulation**: ChatterboxBackend for protocol testing without hardware - **Platform Support**: Works on Windows, macOS, Linux, and Raspberry Pi - **Backend Switching**: Change robots by swapping backend without rewriting protocols ### 4. Analytical Equipment (`references/analytical-equipment.md`) Integrate plate readers and analytical instruments: - **Plate Readers**: BMG CLARIOstar for absorbance, luminescence, fluorescence - **Scales**: Mettler Toledo integration for mass measurements - **Integration Patterns**: Combine liquid handlers with analytical equipment - **Automated Workflows**: Move plates between devices automatically ### 5. Material Handling (`references/material-handling.md`) Control environmental and material handling equipment: - **Heater Shakers**: Hamilton HeaterShaker, Inheco ThermoShake - **Incubators**: Inheco and Thermo Fisher incubators with temperature control - **Centrifuges**: Agilent VSpin with bucket positioning and spin control - **Pumps**: Cole Parmer Masterflex for fluid pumping operations - **Temperature Control**: Set and monitor temperatures during protocols ### 6. Visualization & Simulation (`references/visualization.md`) Visualize and simulate laboratory protocols: - **Browser Visualizer**: Real-time 3D visualization of deck state - **Simulation Mode**: Test protocols without physical hardware - **State Tracking**: Monitor tip presence and liquid volumes visually - **Deck Editor**: Graphical tool for designing deck layouts - **Protocol Validation**: Verify protocols before running on hardware ## Quick Start To get started with PyLabRobot, install the package and initialize a liquid handler: ```python # Install PyLabRobot # uv pip install pylabrobot # Basic liquid handling setup from pylabrobot.liquid_handling import LiquidHandler from pylabrobot.liquid_handling.backends import STAR from pylabrobot.resources import STARLetDeck # Initialize liquid handler lh = LiquidHandler(backend=STAR(), deck=STARLetDeck()) await lh.setup() # Basic operations await lh.pick_up_tips(tip_rack["A1:H1"]) await lh.aspirate(plate["A1"], vols=100) await lh.dispense(plate["A2"], vols=100) await lh.drop_tips() ``` ## Working with References This skill organizes detailed information across multiple reference files. Load the relevant reference when: - **Liquid Handling**: Writing pipetting protocols, tip management, transfers - **Resources**: Defining deck layouts, managing plates/tips, custom labware - **Hardware Backends**: Connecting to specific robots, switching platforms - **Analytical Equipment**: Integrating plate readers, scales, or analytical devices - **Material Handling**: Using heater shakers, incubators, centrifuges, pumps - **Visualization**: Simulating protocols, visualizing deck states All reference files can be found in the `references/` directory and contain comprehensive examples, API usage patterns, and best practices. ## Best Practices When creating laboratory automation protocols with PyLabRobot: 1. **Start with Simulation**: Use ChatterboxBackend and the visualizer to test protocols before running on hardware 2. **Enable Tracking**: Turn on tip tracking and volume tracking for accurate state management 3. **Resource Naming**: Use clear, descriptive names for all resources (plates, tip racks, containers) 4. **State Serialization**: Save deck layouts and states to JSON for reproducibility 5. **Error Handling**: Implement proper async error handling for hardware operations 6. **Temperature Control**: Set temperatures early as heating/cooling takes time 7. **Modular Protocols**: Break complex workflows into reusable functions 8. **Documentation**: Reference official docs at https://docs.pylabrobot.org for latest features ## Common Workflows ### Liquid Transfer Protocol ```python # Setup lh = LiquidHandler(backend=STAR(), deck=STARLetDeck()) await lh.setup() # Define resources tip_rack = TIP_CAR_480_A00(name="tip_rack") source_plate = Cos_96_DW_1mL(name="source") dest_plate = Cos_96_DW_1mL(name="dest") lh.deck.assign_child_resource(tip_rack, rails=1) lh.deck.assign_child_resource(source_plate, rails=10) lh.deck.assign_child_resource(dest_plate, rails=15) # Transfer protocol await lh.pick_up_tips(tip_rack["A1:H1"]) await lh.transfer(source_plate["A1:H12"], dest_plate["A1:H12"], vols=100) await lh.drop_tips() ``` ### Plate Reading Workflow ```python # Setup plate reader from pylabrobot.plate_reading import PlateReader from pylabrobot.plate_reading.clario_star_backend import CLARIOstarBackend pr = PlateReader(name="CLARIOstar", backend=CLARIOstarBackend()) await pr.setup() # Set temperature and read await pr.set_temperature(37) await pr.open() # (manually or robotically load plate) await pr.close() data = await pr.read_absorbance(wavelength=450) ``` ## Additional Resources - **Official Documentation**: https://docs.pylabrobot.org - **GitHub Repository**: https://github.com/PyLabRobot/pylabrobot - **Community Forum**: https://discuss.pylabrobot.org - **PyPI Package**: https://pypi.org/project/PyLabRobot/ For detailed usage of specific capabilities, refer to the corresponding reference file in the `references/` directory.
Related Skills
azure-quotas
Check/manage Azure quotas and usage across providers. For deployment planning, capacity validation, region selection. WHEN: "check quotas", "service limits", "current usage", "request quota increase", "quota exceeded", "validate capacity", "regional availability", "provisioning limits", "vCPU limit", "how many vCPUs available in my subscription".
raindrop-io
Manage Raindrop.io bookmarks with AI assistance. Save and organize bookmarks, search your collection, manage reading lists, and organize research materials. Use when working with bookmarks, web research, reading lists, or when user mentions Raindrop.io.
zlibrary-to-notebooklm
自动从 Z-Library 下载书籍并上传到 Google NotebookLM。支持 PDF/EPUB 格式,自动转换,一键创建知识库。
discover-skills
当你发现当前可用的技能都不够合适(或用户明确要求你寻找技能)时使用。本技能会基于任务目标和约束,给出一份精简的候选技能清单,帮助你选出最适配当前任务的技能。
web-performance-seo
Fix PageSpeed Insights/Lighthouse accessibility "!" errors caused by contrast audit failures (CSS filters, OKLCH/OKLAB, low opacity, gradient text, image backgrounds). Use for accessibility-driven SEO/performance debugging and remediation.
project-to-obsidian
将代码项目转换为 Obsidian 知识库。当用户提到 obsidian、项目文档、知识库、分析项目、转换项目 时激活。 【激活后必须执行】: 1. 先完整阅读本 SKILL.md 文件 2. 理解 AI 写入规则(默认到 00_Inbox/AI/、追加式、统一 Schema) 3. 执行 STEP 0: 使用 AskUserQuestion 询问用户确认 4. 用户确认后才开始 STEP 1 项目扫描 5. 严格按 STEP 0 → 1 → 2 → 3 → 4 顺序执行 【禁止行为】: - 禁止不读 SKILL.md 就开始分析项目 - 禁止跳过 STEP 0 用户确认 - 禁止直接在 30_Resources 创建(先到 00_Inbox/AI/) - 禁止自作主张决定输出位置
obsidian-helper
Obsidian 智能笔记助手。当用户提到 obsidian、日记、笔记、知识库、capture、review 时激活。 【激活后必须执行】: 1. 先完整阅读本 SKILL.md 文件 2. 理解 AI 写入三条硬规矩(00_Inbox/AI/、追加式、白名单字段) 3. 按 STEP 0 → STEP 1 → ... 顺序执行 4. 不要跳过任何步骤,不要自作主张 【禁止行为】: - 禁止不读 SKILL.md 就开始工作 - 禁止跳过用户确认步骤 - 禁止在非 00_Inbox/AI/ 位置创建新笔记(除非用户明确指定)
internationalizing-websites
Adds multi-language support to Next.js websites with proper SEO configuration including hreflang tags, localized sitemaps, and language-specific content. Use when adding new languages, setting up i18n, optimizing for international SEO, or when user mentions localization, translation, multi-language, or specific languages like Japanese, Korean, Chinese.
google-official-seo-guide
Official Google SEO guide covering search optimization, best practices, Search Console, crawling, indexing, and improving website search visibility based on official Google documentation
github-release-assistant
Generate bilingual GitHub release documentation (README.md + README.zh.md) from repo metadata and user input, and guide release prep with git add/commit/push. Use when the user asks to write or polish README files, create bilingual docs, prepare a GitHub release, or mentions release assistant/README generation.
doc-sync-tool
自动同步项目中的 Agents.md、claude.md 和 gemini.md 文件,保持内容一致性。支持自动监听和手动触发。
deploying-to-production
Automate creating a GitHub repository and deploying a web project to Vercel. Use when the user asks to deploy a website/app to production, publish a project, or set up GitHub + Vercel deployment.