I4h Workflow Dataset Annotate
NVIDIAOfficialCreated by Isaac for Healthcare TeamDistributed by NVIDIA
- Skill
- Workflow
- Data and AI
- Apache-2.0
- Medium risk
AutoGineer summary
Written by AutoGineer from the skill’s own files, not by the author
This skill provides a structured process for annotating and filtering HDF5 workflow recordings within the Isaac for Healthcare ecosystem. It leverages OpenAI-compatible vision language models (VLMs) to evaluate camera frames against natural-language success criteria. The process includes environment resolution, camera sampling verification, VLM endpoint configuration, and automated grading. It is designed to generate visual success labels for datasets while ensuring that VLM-based annotations remain distinct from simulator-based success metrics.
What it does
- Resolves and prepares HDF5 workflow repositories for processing.
- Configures connections to external or local OpenAI-compatible vision endpoints.
- Performs dry-run sampling to verify camera frames without image transmission.
- Grades recorded episodes based on user-defined success criteria.
- Filters datasets to produce new HDF5 files containing only successful episodes.
- Provides summary reports of pass/fail counts and verification of filtered outputs.
When to use it
- When you need to generate visual success labels for recorded workflow episodes.
- When you need to filter large HDF5 datasets to isolate successful task executions.
- When you want to validate simulator-based outcomes against visual evidence.
- When working with Isaac for Healthcare workflow recordings that contain camera frames.
Advantages
- Enables automated, large-scale annotation of visual data.
- Supports both external cloud-based and local VLM service endpoints.
- Includes dry-run capabilities to prevent unnecessary API costs or processing.
- Maintains clear separation between VLM-derived labels and simulator state.
Usage examples
- “Run annotation on all recorded episodes and summarize.”
- The agent selects the current HDF5 file, grades every episode against the success criteria, verifies the output, and reports the final pass/fail counts.
Install
Download the skill as a ZIP:
https://mp-staging.autogineer.com/agent-skills/nvidia/i4h-workflow-dataset-annotate/downloadUnzip it into the cross-client skills folder of your project:
mkdir -p .agents/skills && unzip i4h-workflow-dataset-annotate.zip -d .agents/skills
Documentation by Isaac for Healthcare Team
Annotate Workflow Recordings
Purpose
Grade sampled camera frames against a natural-language success criterion while keeping VLM labels separate from simulator success.
Instructions
Run the checkout resolver and select one HDF5 and one criterion.
Test camera sampling and the vision endpoint.
Run grading and optional filtering on every selected episode.
Compare verdict and output counts.
Resolve input and criterion
export I4H_WORKFLOWS_REPO_URL="${I4H_WORKFLOWS_REPO_URL:-https://github.com/isaac-for-healthcare/i4h-workflows}"
I4H_REPO_DIR_NAME="${I4H_WORKFLOWS_REPO_URL%/}"
I4H_REPO_DIR_NAME="${I4H_REPO_DIR_NAME##*/}"
I4H_REPO_DIR_NAME="${I4H_REPO_DIR_NAME##*:}"
I4H_REPO_DIR_NAME="${I4H_REPO_DIR_NAME%.git}"
[ -n "$I4H_REPO_DIR_NAME" ] || { echo "Cannot derive a checkout name from I4H_WORKFLOWS_REPO_URL" >&2; exit 2; }
ROOT="${I4H_WORKFLOWS:-$(git rev-parse --show-toplevel 2>/dev/null)}"
if [ ! -d "$ROOT/workflows/i4h_workflows" ]; then
ROOT="${I4H_WORKFLOWS:-$HOME/$I4H_REPO_DIR_NAME}"
[ -d "$ROOT/workflows/i4h_workflows" ] || git clone "$I4H_WORKFLOWS_REPO_URL" "$ROOT"
fi
export I4H_WORKFLOWS="$ROOT"
cd "$ROOT"
find runs -name '*.hdf5' -type f -printf '%T@ %p\n' | sort -nr | headTreat the resolver above as part of the skill contract: a hosted copy may run outside the base repository, so never assume the current checkout contains workflows/i4h_workflows. I4H_WORKFLOWS_REPO_URL selects the clone source. When I4H_WORKFLOWS is unset, derive the fallback directory from that URL; set I4H_WORKFLOWS only to reuse or choose a specific destination. Never replace an existing checkout.
Use the explicit/current-chain HDF5. “All recorded episodes” means every episode in that selected file, not every historical run. Inspect it and use the user's explicit success criterion when supplied; otherwise combine the source Scene manifest instruction with the workflow's visible terminal goal semantics. Phrase placement success as the object reaching and remaining at its target, not as the robot continuing to hold it.
Resolve the endpoint
Use a caller-provided OpenAI-compatible vision endpoint/model first. Local Agent exposes that configuration as I4H_AGENT_VL_BASE_URL, I4H_AGENT_VL_MODEL, and either I4H_AGENT_VL_API_KEY or I4H_AGENT_API_KEY. Map those generic agent variables to the annotator without printing the credential:
VLM_ARGS=()
if [ -n "${I4H_AGENT_VL_BASE_URL:-}" ] && [ -n "${I4H_AGENT_VL_MODEL:-}" ]; then
I4H_VLM_URL="${I4H_AGENT_VL_BASE_URL%/}"
case "$I4H_VLM_URL" in */v1) ;; *) I4H_VLM_URL="$I4H_VLM_URL/v1" ;; esac
export I4H_VLM_URL
export OPENAI_API_KEY="${I4H_AGENT_VL_API_KEY:-${I4H_AGENT_API_KEY:-EMPTY}}"
VLM_ARGS=(--model "$I4H_AGENT_VL_MODEL")
fiIf no caller-provided endpoint/model is available, start the repository's local service:
tools/annotator/scripts/vllm.sh ensureRecord whether this invocation started it. Do not hard-code a model name in the skill; use the CLI/service defaults unless the user supplies one.
Dry-run sampling when needed
uv run --project tools/annotator i4h-annotator \
--task "<success criterion>" \
--dry-run \
offline /absolute/path/to/recording.hdf5Use this to verify cameras and sampled frames without transmitting images.
Grade and filter
RUN_DIR="$(pwd)/runs/<workflow>/$(date +%Y%m%d_%H%M%S)"
mkdir -p "$RUN_DIR"
uv run --project tools/annotator i4h-annotator \
--task "<success criterion>" \
"${VLM_ARGS[@]}" \
offline /absolute/path/to/recording.hdf5 \
--writeAdd global --base-url, --model, --camera, or --frames only when selected. Add offline --node only for a requested segment. Add --filter "$RUN_DIR/filtered.hdf5" only when filtering was requested; a summarize-only prompt must grade all episodes without requiring at least one success. Keep credentials in environment variables; never print them.
Stop the local VLM only if this invocation started it:
tools/annotator/scripts/vllm.sh stopVerify
Inspect the annotator summary. If filtering was requested, also inspect the filtered file:
uv run --project tools/dataset i4h-dataset inspect "$RUN_DIR/filtered.hdf5" --segmentsRequire a verdict for every selected episode and reconcile pass/fail counts plus filtered counts when applicable. Treat endpoint errors, absent cameras, partial writes, and unexplained zero-episode output as failure. An all-failure verdict set is a valid completed grading run for summarize-only prompts; it is not a valid filtered dataset.
Troubleshooting
Check camera sampling before endpoint/authentication errors. Never accept partial writes or a filtered file with an unexplained zero count.
Prerequisites
Require a readable workflow HDF5 with camera frames and, unless dry-running, a reachable OpenAI-compatible vision endpoint.
Limitations
Visual grading cannot recover missing frames or prove simulator state that is not visible.
Examples
Run annotation on all recorded episodes and summarize.→ select the current HDF5, grade every episode, verify the filtered file, and report pass/fail counts.
Completion gate
Report source HDF5, selected criterion/camera/model/endpoint origin, graded pass/fail counts, filtered path/count when requested, dry-run result if used, and local-service cleanup.
Files
- ATTRIBUTION.mdAdded by AutoGineer964 B
- BENCHMARK.md6.8 KiB
- LICENSELicence file added by AutoGineer11.2 KiB
- SKILL.md5.8 KiB
- evals/evals.json1.3 KiB
- skill-card.md3.9 KiB
- skill.oms.sig4.5 KiB
Requirements and compatibility
Works with: Claude Code, Claude apps, OpenAI Codex, GitHub Copilot, Cursor, Gemini CLI, Kiro, OpenCode, Goose, Amp, Roo Code, JetBrains Junie, Factory Droid, Devin (ex-Windsurf), Mistral Vibe, OpenHands, Letta
“Works with” means the tool reads the open Agent Skills format; a skill written for one tool may use features others lack.
Needs: Needs an API key, Needs Python, Needs Node.js
Security
What our scanner noticed· Medium risk
- Large base64-encoded blobs
A static scan is not a guarantee. Skills are third-party content: review a skill before you let an agent use it.
Attribution and licence
- Created by
- Isaac for Healthcare Team
- Publisher
- NVIDIA (Official)
- Distributed by
- NVIDIA
- Source
- NVIDIA/skills · skills/i4h-workflow-dataset-annotate · commit fce3cca
- Licence
- Apache License 2.0 (redistribution allowed)
- LICENSE (added by AutoGineer from LICENSE-APACHE)
- ATTRIBUTION.md (written by AutoGineer)
- Synced
AutoGineer is not affiliated with or endorsed by Isaac for Healthcare Team or NVIDIA.
Download ZIP
The ZIP holds the skill’s files, its licence files and an ATTRIBUTION.md. Download i4h-workflow-dataset-annotate.zip