Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

protocol_video_matching

БесплатноБез исполняемых скриптовНе проверен

Real-time XR video vs. protocol text matching and deviation detection. Aligns first-person XR headset video streams frame-by-frame against structured protocol…

lilinjiот lilinji★ 18 звёзд на GitHub

Об этом скилле

Protocol Video Matching

Overview

protocol_video_matching bridges the physical bench and the digital protocol by continuously aligning a first-person XR headset video stream (e.g., Meta Quest, HoloLens 2, Magic Leap) against structured protocol text in real time. The skill parses each protocol step into a semantic action graph, tracks operator gestures and reagent interactions through a Vision-Language Model (VLM), detects when execution diverges from the ground-truth procedure, and surfaces instant corrective guidance as spatial overlays — turning every researcher into a compliant, self-auditing one-person lab.

When to Use This Skill

Use this skill when any of the following conditions are present:

  • Live XR-assisted experiments: An operator wearing a first-person XR headset is executing a wet-lab protocol (PCR, cell culture, CRISPR editing, RNA extraction, Western blot, etc.) and needs real-time step-by-step guidance or compliance validation.
  • Protocol compliance auditing: A lab manager needs post-hoc or live documentation showing whether a protocol was followed exactly — including timing, reagent volumes, temperature set-points, and action sequence.
  • Deviation interception: The agent must interrupt or warn the operator the moment a step is skipped, performed out of order, or executed with incorrect parameters (wrong pipette volume, wrong incubation time, incorrect tube labeling).
  • Training and onboarding: A trainee is learning a complex protocol and requires spatial annotations, step-completion confirmations, and error explanations anchored to their field of view.
  • GMP / GLP documentation: A regulated workflow (clinical sample processing, diagnostic assay) requires a timestamped, frame-accurate audit trail of every protocol action for regulatory submission.
  • Remote expert supervision: A remote PI or supervisor needs a live or recorded feed where protocol adherence is automatically annotated so they can intervene selectively.
  • Autonomous lab robot verification: A robotic arm (Opentrons, Hamilton) is executing the protocol and the XR feed from an overhead or wrist-mounted camera must be validated against the digital twin protocol in real time.

Core Capabilities

1. Protocol Parsing & Action Graph Construction

Ingests protocol text from multiple sources and converts it into a structured, machine-traversable action graph:

  • Input formats: Markdown, protocols.io JSON, Benchling ELN entries, plain-text SOPs, PDF/DOCX (via MarkItDown), or structured JSON/YAML
  • Step decomposition: Splits compound steps into atomic action nodes (e.g., "vortex 5 s → centrifuge 300 × g 2 min → aspirate 50 µL supernatant")
  • Parameter extraction: Identifies and indexes critical parameters — volumes, concentrations, temperatures, durations, centrifuge speeds, reagent names — as typed constraints
  • Dependency graph: Builds a DAG encoding prerequisite ordering, branching conditions (e.g., "if pellet not visible, centrifuge again"), and parallelizable sub-steps
  • Protocol versioning: Tracks diff between protocol revision A and B and highlights changed steps for the operator

2. Real-Time Video Frame Analysis via VLM

Processes the live XR video stream to extract semantic lab actions at up to 10 fps:

  • Action recognition: Detects pipetting, centrifuge loading, tube labeling, reagent addition, gel loading, microscope focusing, and 40+ common wet-lab gestures using a fine-tuned VLM (e.g., GPT-4o Vision, Gemini 1.5 Pro, LLaVA-Med)
  • Reagent and instrument identification: Reads tube labels, instrument displays, and reagent bottle text via OCR (pytesseract / EasyOCR) within the video frame
  • Volume estimation: Infers approximate pipetted volume from pipette model recognition + visual plunger position
  • Temporal event logging: Timestamps every detected action with XR device clock and appends to a structured event log (JSON-LD)
  • Spatial anchoring: Maps detected lab objects to XR world coordinates for overlay placement

3. Deviation Detection & Compliance Scoring

Continuously compares the observed action sequence against the expected protocol graph:

  • Step-match algorithm: Fuzzy semantic matching between observed VLM output and expected step text using cosine similarity (sentence-transformers) or LLM-based equivalence check
  • Deviation taxonomy: Classifies each divergence as one of — STEP_SKIPPED, STEP_OUT_OF_ORDER, WRONG_PARAMETER (volume, time, temperature, reagent), TIMING_VIOLATION, LABELING_ERROR, EQUIPMENT_MISMATCH
  • Severity scoring: Assigns a severity level (CRITICAL, MAJOR, MINOR) based on downstream impact on experiment validity
  • Compliance score: Emits a rolling 0–100 compliance score per protocol section and a final session score suitable for ELN attachment
  • Near-miss detection: Flags actions that are almost correct but fall outside tolerance bounds (e.g., 48 µL dispensed when 50 µL req
Полный SKILL.md на GitHub

Установить protocol_video_matching в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл protocol_video_matching?

Real-time XR video vs. protocol text matching and deviation detection. Aligns first-person XR headset video streams frame-by-frame against structured protocol steps, flags procedural deviations, scores compliance, and delivers corrective audio/visual overlays — enabling one-person lab operation with zero-missed-step guarantees.

Как установить скилл protocol_video_matching?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл protocol_video_matching запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить protocol_video_matching с