Command Palette

Search for a command to run...

Назад к скиллам
скилл № 80033

egocentric_view_to_structured_log

Converts first-person XR headset video into a structured experiment timeline log. Extracts timestamped events (action, object, location, result) via VLM or…

БесплатноБез исполняемых скриптов
lilinjiот lilinji★ 18 звёзд на GitHub

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

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

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

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

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

Egocentric View to Structured Log

Overview

egocentric_view_to_structured_log transforms raw first-person XR headset footage into a machine-readable experiment timeline. It processes the egocentric video stream frame-by-frame (or at configurable intervals), applies VLM or action-recognition models to infer what the operator did — pipetting, vortexing, adding reagent, loading centrifuge, labeling tube — and emits a structured log with timestamp, action type, object(s) involved, spatial location, and optional result or observation. The output is Markdown (human-readable timeline) or JSON (for programmatic consumption), suitable for ELN attachment, protocol compliance cross-reference, generate_scientific_method_section input, or audit trail documentation in the LabOS "from video to paper" pipeline.

When to Use This Skill

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

  • Experiment timeline documentation: A researcher needs a chronological record of what was done during an experiment — "at 14:23, added buffer to tube A1; at 14:25, vortexed; at 14:30, loaded centrifuge" — without manual note-taking.
  • ELN or Benchling attachment: An electronic lab notebook entry requires an attached experiment log; the skill produces a Markdown or JSON file suitable for upload.
  • Protocol compliance cross-reference: The structured log serves as ground truth for protocol_video_matching — compare log events against protocol steps to detect deviations.
  • Methods section provenance: generate_scientific_method_section consumes the log to document the exact sequence of actions performed, with timestamps and objects.
  • Post-hoc experiment reconstruction: An experiment failed or produced unexpected results; the log enables step-by-step review to identify potential causes (e.g., "reagent added at 14:23, but protocol says add at 14:20 — 3 min delay").
  • Training and assessment: A trainee's run is logged; the timeline is reviewed by a supervisor for feedback on sequence, timing, and technique.
  • Audit trail for GLP/GMP: Regulated workflows require a timestamped record of every action; the log provides a structured, tamper-evident audit trail (when combined with video hash).
  • Multi-operator coordination: When multiple people work at the same bench, the log can be tagged by operator (if face/ID available) or left anonymous for aggregate timeline.

Core Capabilities

1. Egocentric Video Processing

Ingests and preprocesses first-person XR video:

  • Input formats: MP4, MOV, MKV from XR headsets (Meta Quest, HoloLens 2, Magic Leap, Ray-Ban Meta); RTSP/WebRTC live streams; pre-recorded files
  • Frame sampling: Configurable interval — 1 fps for dense logging, 1 frame/5 s for summary, or keyframe extraction on scene change
  • Stabilization: Optional video stabilization to reduce motion blur from head movement; improves VLM/OCR reliability
  • ROI extraction: When operator gaze or hand region is available (from XR SDK), crops to relevant region to focus analysis and reduce compute
  • Temporal alignment: Embeds frame timestamps (from video metadata or wall clock); supports multi-camera sync when overhead or wrist camera is also recorded

2. Action & Object Recognition

Extracts semantic events from each frame or frame pair:

  • Action vocabulary: Predefined lab actions — PIPETTE_ASPIRATE, PIPETTE_DISPENSE, PIPETTE_TIP_EJECT, VORTEX, CENTRIFUGE_LOAD, CENTRIFUGE_UNLOAD, TUBE_CAP, TUBE_UNCAP, REAGENT_ADD, PLATE_LOAD, MICROSCOPE_FOCUS, LABEL_TUBE, TRANSFER, INCUBATE_START, INCUBATE_END, WASH, SPIN, HEAT, COOL, IDLE, UNKNOWN
  • Object detection: Identifies objects in frame — tube, plate, pipette, reagent_bottle, centrifuge, vortex, ice_bucket, microscope, bench, hood — with optional instance ID (A1, B2, etc.) when label/position is readable
  • VLM-based inference: GPT-4o Vision, Gemini 1.5 Pro, or LLaVA-Med describes each frame; structured output parsing extracts (action, object, location) from free-text description
  • Action classifier: Optional fine-tuned CNN/Transformer for faster, cheaper per-frame action labels when VLM is too slow for real-time
  • Temporal smoothing: Consecutive frames with same action are merged into one log entry with start/end timestamp; reduces redundant "IDLE" entries
  • Confidence scoring: Each event has a confidence value (0–1); low-confidence events are flagged or optionally excluded

3. Location & Context Enrichment

Adds spatial and contextual metadata to each event:

  • Location tags: Inferred from scene — bench_center, left_zone, right_zone, hood, centrifuge_area, ice_bucket, sink — using object positions or VLM scene description
  • Object location: When object is detected, records approximate position — "tube at rack position A1", "plate at bench center"
  • Operator context: Optional — "both hands visible", "gloved", "p
Полный SKILL.md на GitHub

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

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

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

FAQ

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

Converts first-person XR headset video into a structured experiment timeline log. Extracts timestamped events (action, object, location, result) via VLM or action recognition, outputs Markdown or JSON for downstream analysis, reporting, protocol compliance audit, or ELN attachment.

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

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

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

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

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

Сравнить egocentric_view_to_structured_log с