pylabrobot by davila7/claude-code-templates
npx skills add https://github.com/davila7/claude-code-templates --skill pylabrobotPyLabRobot 是一个与硬件无关的纯 Python 软件开发工具包,用于自动化与自主化实验室。使用此技能可通过统一的 Python 接口控制移液机器人、酶标仪、泵、加热振荡器、培养箱、离心机及其他实验室自动化设备,该接口支持跨平台(Windows、macOS、Linux)工作。
在以下情况下使用此技能:
PyLabRobot 通过六个主要功能领域提供全面的实验室自动化,每个领域在 references/ 目录中都有详细说明:
references/liquid-handling.md)控制液体处理机器人进行吸液、分液和液体转移。关键操作包括:
references/resources.md)广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
在分层系统中管理实验室资源:
references/hardware-backends.md)通过后端抽象连接到各种实验室设备:
references/analytical-equipment.md)集成酶标仪和分析仪器:
references/material-handling.md)控制环境和物料处理设备:
references/visualization.md)可视化和模拟实验室方案:
要开始使用 PyLabRobot,请安装软件包并初始化一个液体处理器:
# 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()
此技能将详细信息组织在多个参考文件中。在以下情况下加载相关参考文档:
所有参考文件都可以在 references/ 目录中找到,并包含全面的示例、API 使用模式和最佳实践。
使用 PyLabRobot 创建实验室自动化方案时:
# 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()
# 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)
有关特定功能的详细用法,请参阅 references/ 目录中相应的参考文件。
每周安装次数
126
仓库
GitHub 星标数
22.6K
首次出现
2026年1月21日
安全审计
安装于
claude-code106
opencode101
gemini-cli93
cursor93
antigravity86
codex84
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).
Use this skill when:
PyLabRobot provides comprehensive laboratory automation through six main capability areas, each detailed in the references/ directory:
references/liquid-handling.md)Control liquid handling robots for aspirating, dispensing, and transferring liquids. Key operations include:
references/resources.md)Manage laboratory resources in a hierarchical system:
references/hardware-backends.md)Connect to diverse laboratory equipment through backend abstraction:
references/analytical-equipment.md)Integrate plate readers and analytical instruments:
references/material-handling.md)Control environmental and material handling equipment:
references/visualization.md)Visualize and simulate laboratory protocols:
To get started with PyLabRobot, install the package and initialize a liquid handler:
# 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()
This skill organizes detailed information across multiple reference files. Load the relevant reference when:
All reference files can be found in the references/ directory and contain comprehensive examples, API usage patterns, and best practices.
When creating laboratory automation protocols with PyLabRobot:
# 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()
# 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)
For detailed usage of specific capabilities, refer to the corresponding reference file in the references/ directory.
Weekly Installs
126
Repository
GitHub Stars
22.6K
First Seen
Jan 21, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
claude-code106
opencode101
gemini-cli93
cursor93
antigravity86
codex84
Skills CLI 使用指南:AI Agent 技能包管理器安装与管理教程
46,600 周安装