pylabrobot
できること
このツールは、PyLabRobotライブラリを使ったラボ自動化の計画を作成し、確認するのに役立ちます。ラボのロボットが液体を扱い、機器とやり取りする様子をシミュレーションでき、すべての作業が安全に行われるように確認できます。
使う場面
- ✓ロボットによる正確な液体の分注が必要な実験を計画するとき。
- ✓実際に実行する前に、ラボ自動化の計画が機能するかをシミュレーションで確認したいとき。
- ✓PyLabRobotライブラリの関数を使ってラボ機器を制御する方法を理解したいとき。
スキルのリンク
https://github.com/K-Dense-AI/scientific-agent-skills/blob/main/skills/pylabrobot/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“シミュレーションしたロボットを使って、チューブからプレートのウェルへ100マイクロリットルを移すラボ自動化の計画を作成してください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
ツールはPyLabRobotライブラリを使い、機器、容器(チューブやプレートなど)、実行する動作を定義します。これらの動作を仮想環境でシミュレーションしたり、実際のロボット用の詳細な手順を生成したりできます。その際は、常にオペレーターの安全を最優先します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
PyLabRobot
Use PyLabRobot's hardware-agnostic frontends, resource tree, trackers, and device-specific backends to develop laboratory automation. Default to local manifest validation, bookkeeping, and the software-only chatterbox backend.
Verified snapshot
- PyPI stable:
PyLabRobot==0.2.2, released 2026-07-30. - Upstream requirement: Python >=3.9; runtime checks here used Python 3.13.
- Hosted
/stable/pages mix 0.2.1 API pages with development documentation. GitHub has nov0.2.2tag and its changelog has no 0.2.2 section. Use the released wheel/source distribution for the tested contract, not the URL label. - Released liquid-handler backends include
STARBackend,VantageBackend,EVOBackend,OpentronsOT2Backend, and the software-onlyLiquidHandlerChatterboxBackend. - MicroSpin and
Plate.stacking_z_heightare present in 0.2.2, despite being listed underUnreleasedin the current changelog. Newer development APIs, including thetrack=Hamilton deck keyword, are not this release. - See the release and transport review for source hashes, tested behavior, and the known OT-2 cancellation mismatch.
Non-negotiable hardware boundary
Never connect to, initialize, home, move, heat, shake, spin, pump, open/close, or otherwise command physical equipment automatically. Do not turn a simulation plan into a live backend merely by changing an environment variable, config value, or import.
Before any separately authorized live run, require a trained human to:
- Explicitly confirm the exact backend, device identity, firmware, transport, deck, and protocol revision.
- Reconcile the physical deck against the resource tree, including carriers, adapters, lids, plates, tip racks, waste, labware orientation, barcodes, and every occupied coordinate.
- Verify calibration, teaching, motion envelopes, collision risks, gripper or channel clearances, and all aspiration/dispense coordinates.
- Review source identity and actual fill volume, dead volume, destination capacity, tip type/capacity/filter compatibility, channel mapping, units, heights, rates, liquid class, blowout/mixing, and contamination boundaries.
- Confirm guards, doors, waste capacity, containment, emergency stop readiness, PPE, biosafety/chemical controls, and a safe abort/recovery procedure.
- Approve a slow dry run or nonhazardous commissioning run when anything is new or changed.
Tracker state is bookkeeping, not sensing. It cannot prove that liquid or a tip is physically present. After a backend error, tracker rollback describes software state; it does not reverse a physical aspiration, dispense, or tip movement that partly completed. Preserve the error/channel details and have the operator reconcile tips and source/destination volumes before resuming. Do not blindly retry the failed operation from the pre-error plan. The 0.2.2 liquid-handler implementation commits or rolls back trackers according to reported operation success. The Visualizer renders resource/tracker events; it does not model physics. Chatterbox prints planned operations; it does not prove calibration, reachability, collision freedom, liquid behavior, or device state.
Required intake
Do not guess any of these:
- Exact device model, installed options, firmware, computer/OS, and transport.
- Stable PyLabRobot version and required extras.
- Deck/deck origin, carriers, adapters, resource definitions, dimensions, coordinates, orientations, and motion clearances.
- Plate/tube/reservoir capacities and dead volumes; initial physical volumes.
- Tip model, filter, fitting, capacity, rack state, channel count, and channel mapping.
- Transfer units (
uL,mm,uL/s,s), heights, rates, mixing, air gaps, blowout, liquid properties, and validated vendor liquid class. - Contamination policy, controls, waste handling, operator interventions, acceptance criteria, and recovery procedure.
If information is missing, produce an assumptions/blockers list and an offline draft only.
Reproducible install
For offline API inspection and chatterbox simulation:
uv venv --python 3.13 .venv-pylabrobot
uv pip install --python .venv-pylabrobot/bin/python "PyLabRobot==0.2.2"
On Windows, use .venv-pylabrobot\Scripts\python.exe. Do not install hardware
extras until the user names the device and explicitly approves its transport
…
よくある質問
PyLabRobotとは何ですか?
PyLabRobotは、液体の分注など、ラボの作業を自動化するためにラボ用ロボットをプログラムするのに役立つソフトウェアライブラリです。
このツールを使って実際のロボットを制御できますか?
このツールはまずシミュレーションと計画のために設計されています。実際のロボットで実行するには、訓練を受けた作業者がすべての安全手順を明示的に確認し、承認する必要があります。
どのような情報を提供する必要がありますか?
機器、容器(プレートやチューブ)、液体、量、希望する動作に関する詳細が必要です。詳しい情報を提供するほど、シミュレーションや計画の精度が高くなります。
詳細
作者による元の説明
Develops and reviews PyLabRobot lab-automation resources, liquid-handling plans, offline simulations, and supported-device integrations. Supports PyLabRobot protocols and API questions; keep physical execution behind an explicit operator safety gate.
人気
- GitHubのスター
- 51k
- ランキング
- #3541
- ライセンス
- MIT
- 更新日
- 2026/10/15
コメント
- …
このリポジトリの他のスキル
13c-metabolic-flux
51k炭素13同位体トレーシングのデータを使って代謝フラックスを推定します。細胞の代謝や生化学経路の分析に役立ちます。
adaptyv
51kAdaptyv APIを使ってタンパク質の特性評価実験を設計します。コストの見積もり、配列の提出、ラボの結果の監視を支援します。
aeon
51k時系列データに対して機械学習のタスクを実行します。逐次データの分類、予測、異常検知、パターンの発見に役立ちます。
alphagenome
51k遺伝的変異に対して、事前に計算されたゲノム上の効果を検索します。スコアと説明を提供し、変異がゲノムに与える影響を理解するのに役立ちます。