realtime_protocol_guidance_prompts
Generates short, imperative guidance prompts for the next experimental step from current video frame and protocol context. Output is optimized for voice…
от BioTender-max★ 235 звёзд на GitHub
Установить realtime_protocol_guidance_prompts в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Real-Time Protocol Guidance Prompts
Overview
realtime_protocol_guidance_prompts is the prompt-generation layer of the LabOS real-time XR guidance stack. Given the current first-person video frame (or VLM-derived scene description) and the active protocol context — current step, expected action, detected deviation, and operator state — it produces a single short guidance string optimized for voice synthesis (TTS) or AR overlay display. The output is imperative, concise, and actionable: "Add 50 µL buffer now." / "Vortex before proceeding." / "Step 4 complete. Move to pipette." — enabling hands-free, eyes-on-bench guidance that keeps the researcher in flow without interrupting to read a screen.
When to Use This Skill
Use this skill when any of the following conditions are present:
- Live XR-assisted protocol execution: An operator wearing an XR headset is executing a wet-lab protocol and needs step-by-step voice or AR prompts at each transition — the agent must generate the next prompt based on current frame and protocol state.
- Deviation correction delivery:
protocol_video_matchinghas detected a deviation (e.g., skipped step, wrong volume) and the agent must convert the deviation into a corrective prompt: "Vortex the lysate for 30 seconds before adding ethanol." - Step confirmation and next-step cue: The current step has been validated (VLM detected expected action) and the agent must generate the next prompt: "Step 4 complete. Proceed to add 600 µL ethanol."
- Timeout or stall detection: No expected action has been observed for a configurable duration; the agent must generate a reminder or prompt: "Continue with step 5: add ethanol to the lysate."
- Hands-free operation: The researcher cannot look at a screen; guidance must be delivered via TTS or minimal AR text overlay — prompts must be short (≤ 15 words for TTS, ≤ 8 for AR overlay).
- Multi-language support: The same protocol context must produce prompts in different languages (English, Spanish, Mandarin) for international teams or training.
- Training mode: A trainee is learning a protocol; prompts include optional hints or warnings: "Careful: add ethanol slowly to avoid precipitation."
- Error recovery: The operator has acknowledged a correction or asked for help; the agent must generate a recovery prompt: "Resume from step 6: centrifuge at 12,000 × g for 2 minutes."
Core Capabilities
1. Context-Aware Prompt Generation
Ingests heterogeneous context and produces a single guidance string:
- Inputs:
- Video frame: Raw image, or VLM-derived scene description (e.g., "operator holding pipette over tube A1; tube contains ~200 µL yellow liquid")
- Protocol state: Current step index, step text, expected action (verb + object + parameters), prerequisite steps completed
- Deviation state (optional):
null(no deviation), or{type, severity, step, message}fromprotocol_video_matching - Operator state (optional):
idle,in_progress,waiting,acknowledged— whether the operator has confirmed the last prompt or is mid-action - Timing:
elapsed_since_step_start,timeout_remaining,step_duration_expected
- Output: Single string, 5–20 words (typical), imperative mood, no punctuation beyond period
- Tone: Direct, authoritative, supportive — never condescending or overly verbose
2. Prompt Types & Templates
Generates prompts in distinct modes:
| Mode | Trigger | Example Output |
|---|---|---|
NEXT_STEP |
Step validated, advance to next | "Step 5: Add 600 µL ethanol." |
CORRECTION |
Deviation detected | "Vortex 30 seconds before adding ethanol." |
REMINDER |
Timeout or stall | "Continue with step 5: add ethanol." |
CONFIRMATION |
Action detected, confirm | "Step 4 complete." |
WARNING |
Pre-step caution | "Careful: add ethanol slowly." |
RECOVERY |
Resume after error | "Resume from step 6: centrifuge 2 minutes." |
WAIT |
Incubation or timed step | "Incubate 5 minutes. Timer started." |
CHECK |
Verification needed | "Verify tube label reads A1." |
PAUSE |
Operator requested pause | "Protocol paused. Say 'resume' when ready." |
- Template variables:
{step_num},{action},{params},{duration},{object},{correction},{hint}— filled from protocol and deviation context - Template library: Pre-defined templates per mode; user can override or add custom templates per protocol
- Language variants: Template set per language; same logic, different output strings
3. TTS & AR Overlay Optimization
Optimizes prompt length and structure for delivery channel:
- TTS constraints:
- Target length: 5–15 words for typical step; ≤ 25 words for correction
- Avoid abbreviations that sound ambiguous when spoken ("µL" → "microliters" or "µL" per TTS engine)
- Avoid numbers that require parsing ("50" vs "fifty"); prefer "50 microliters" for clarity
- Natural pauses: insert comma or period for breath; avoid run-
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл realtime_protocol_guidance_prompts?
Generates short, imperative guidance prompts for the next experimental step from current video frame and protocol context. Output is optimized for voice broadcast (TTS) or AR overlay — concise, actionable, command-style — to guide researchers in real time, correct deviations, or resume experiments without breaking flow.
Как установить скилл realtime_protocol_guidance_prompts?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл realtime_protocol_guidance_prompts запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
docx
AnthropicUse this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
xlsx
AnthropicUse this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
pptx
AnthropicUse this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…