Skip to content
AI & Agents
Skill

/pylabrobot

Develop and review PyLabRobot lab-automation resources, liquid-handling plans, offline simulations, and supported-device integrations. Use for PyLabRobot protocols or API questions; keep physical execution behind an explicit operator safety gate.

From plugin
k-dense-ai-scientific-agent-skills
45k166 skills
Install
$ npx -y skills add k-dense-ai/claude-scientific-skills --skill pylabrobot --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/pylabrobot

Context preview

The summary Claude sees to decide when to auto-load this skill.

Develop and review PyLabRobot lab-automation resources, liquid-handling plans, offline simulations, and supported-device integrations. Use for PyLabRobot protocols or API questions; keep physical execution behind an explicit operator safety gate.

SKILL.md

pylabrobot.SKILL.md
name: pylabrobot
description: Develop and review PyLabRobot lab-automation resources, liquid-handling plans, offline simulations, and supported-device integrations. Use for PyLabRobot protocols or API questions; keep physical execution behind an explicit operator safety gate.
license: MIT
compatibility: Verified against PyLabRobot 0.2.1 on Python 3.9+. Bundled planning CLIs require only Python 3.11+ and make no serial, USB, or network connections. Physical devices need model-specific extras, configuration, calibration, and trained operator approval.
allowed-tools: Read Write Edit Bash
metadata:
  version: "1.3"
  skill-author: "K-Dense Inc."
  pylabrobot-version: "0.2.1"
  researched: "2026-07-23"

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.1`**, released **2026-03-23**.
  • Upstream requirement: **Python >=3.9**. This skill uses Python 3.11 for its

reproducible smoke tests.

  • `/stable/` documentation identifies itself as 0.2.1. `/dev/` and repository

`main` describe unreleased work and must not be assumed available in 0.2.1.

  • Stable liquid-handler backends include `STARBackend`, `VantageBackend`,

`EVOBackend`, `OpentronsOT2Backend`, and the offline `LiquidHandlerChatterboxBackend`.

  • PyLabRobot's GitHub Releases page has no 0.2.x software release entry; use

the PyPI history, `v0.2.1` tag, and changelog as release evidence.

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:

1. Explicitly confirm the exact backend, device identity, firmware, transport, deck, and protocol revision. 2. Reconcile the physical deck against the resource tree, including carriers, adapters, lids, plates, tip racks, waste, labware orientation, barcodes, and every occupied coordinate. 3. Verify calibration, teaching, motion envelopes, collision risks, gripper or channel clearances, and all aspiration/dispense coordinates. 4. 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. 5. Confirm guards, doors, waste capacity, containment, emergency stop readiness, PPE, biosafety/chemical controls, and a safe abort/recovery procedure. 6. 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. 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.11 .venv-pylabrobot
uv pip install --python .venv-pylabrobot/bin/python "PyLabRobot==0.2.1"

On Windows, use `.venv-pylabrobot\Scripts\python.exe`. Do not install hardware extras until the user names the device and explicitly approves its transport dependencies. Then inspect the matching stable device page before considering a pin such as `"PyLabRobot[serial]==0.2.1"` or `"PyLabRobot[usb]==0.2.1"`.

Offline-first workflow

Run from the repository root. Every bundled CLI uses strict, bounded UTF-8 JSON/CSV, local non-symlink paths, fixed allowlists, and JSON output. None can select a live backend.

python3 skills/pylabrobot/scripts/validate_manifest.py \
  --input tests/pylabrobot/fixtures/protocol_manifest.json

python3 skills/pylabrobot/scripts/check_deck_geometry.py \
  --input tests/pylabrobot/fixtures/protocol_manifest.json

python3 skills/pylabrobot/scripts/plan_transfers.py \
  --manifest tests/pylabrobot/fixtures/protocol_manifest.json \
  --transfers tests/pylabrobot/fixtures/transfers.csv

python3 skills/pylabrobot/scripts/generate_simulation_plan.py \
  --manifest tests/pylabrobot/fixtures/protocol_manifest.json \
  --transfers tests/pylabrobot/fixtures/transfers.csv

python3 skills/pylabrobot/scripts/inspect_backends.py \
  --expected-version 0.2.1 --strict

The geometry checker uses conservative static axis-aligned boxes; it is not a motion planner. The transfer planner requires one new tip per row and checks source/dead/destination volumes, tip capacity, wells, channels, heights, rates, units, and allowlists. Review `assets/protocol-manifest.schema.json` and the synthetic fixtures before making a project-specific manifest.

Verified software-only example

The exact backend below is software-only. Do not substitute a hardware backend.

from pylabrobot.liquid_handlin
Read more
Ships withk-dense-ai-scientific-agent-skills

🔔 Claude Scientific Skills is now Scientific Agent Skills. Same skills, broader compatibility — now works with any AI agent that supports the open Agent Skills standard, not just Claude.

Get the whole plugin
Stats
44,280
Stars
4,019
Forks
Active
Maintenance
Python
Language
MIT
License
9d ago
Last commit
11mo ago
Created
15d ago
Added

Repo: k-dense-ai/claude-scientific-skills