nvidia-holoscan/holoscan-sensor-bridge/hsb-setup
Claude Code and agent skill by nvidia-holoscan/holoscan-sensor-bridge
- community
Checking that the SKILL.md file is still in the repository.
Clone the latest NVIDIA Holoscan Sensor Bridge repo, ask which supported devkit is being used, configure the host per platform, build the correct demo container, run it, and verify HSB connectivity by pinging 192.168.0.2. Use for Holoscan Sensor Bridge setup, build, container launch, and first-connectivity bring-up.
Install
npx vskill@latest install nvidia-holoscan/holoscan-sensor-bridge/hsb-setupSKILL.md
The same SKILL.md was published earlier as nvidia/skills/hsb-setup.
Holoscan Sensor Bridge demo bring-up
Use this skill when the user wants to bring up the Holoscan Sensor Bridge demo environment end to end.
This workflow has side effects. Never run it automatically. Only run it when the user explicitly invokes it.
Before you start — required gates (do these first, in order)
Gate 1 — Read environment variables. Before doing anything else, check these variables and print their resolved values to the user:
SSH_TARGET and REMOTE_ROOT are required. Stop and ask the user for them if either is missing.
Gate 2 — Present the phase plan. Before taking any action, show the user this exact plan and wait for acknowledgement:
Gate 3 — Token-budget preflight (Phase 0). Run this before any SSH connection or devkit change. See ## Token-budget preflight section for the full procedure. Do not proceed to Phase 1 until the budget check passes.
Instructions
Invoke this skill by typing /hsb-setup [PLATFORM] [OPTIONS]. The skill walks through each phase interactively, prompting for confirmation before making changes.
What this skill must do
- Run the mandatory token-budget preflight before any remote command or devkit configuration change. Estimate the tokens needed to complete all setup phases, check the user's remaining subscription-plan usage with the best available Claude Code/account usage mechanism, display the estimate and result to the user, and stop if the available budget is insufficient or cannot be verified.
- prompt the user to confirm that the devkit is connected to the holoscan sensor bridge and everything is powered up and there is an active network connection to the outside world and that the devkit was installed with the proper OS version. if all profile parameters are known look into the repo user guide and draw a diagram of the devkit to sensor for the user to confirm that this is the setup they have.
- Once the user confirms the setup is ready, build the ssh connection to the devkit if the user is running the claude skill from an external computer. you can skip this step if claude installed directly on the devkit.
- Verify the host devkit platform by running
cat /sys/class/dmi/id/product_nameon the devkit and comparing the result to theHSB_PLATFORMenvironment variable using the product-name-to-platform mapping (see "Host platform auto-detection" section). If the command returns a recognized non-empty platform name that differs fromHSB_PLATFORM, or ifHSB_PLATFORMis empty, updateHSB_PLATFORMto match the detected platform and alert the user about the change. If the command returns empty or fails andHSB_PLATFORMis already set, keep the existing value. - Clone or refresh the GitHub repository from the latest
mainbranch. By default this is the publicnvidia-holoscan/holoscan-sensor-bridgerepo, but the user can override it with a custom repo URL via theHSB_REPOenvironment variable or the--repo <URL>command-line flag. if the repo is an ssh repo, alert the user if no ssh key is set and provide instructions how to set up the ssh key. - Ask the user which devkit/platform they want to use if it is not already clear.
- under the cloned repo root dir, study and understand the user guide at docs/user_guide to learn how to set up host environment for each devkit and OS, demo container, running applications inside and outside the container (where applicable) and flashing the FPGA.
- Map that platform to the correct host setup and container build mode and make sure host set up is configured properly per user guide instructions, fix and add any missing configuration or prompt the user with instruction how to fix.
- Build the demo container.
- Run the demo container.
- Verify connectivity to the board at
192.168.0.2. if the connection to the board fails, prompt the user for a possiblity of a different ip address. - Verify the FPGA version reading register 0x80. if the FPGA version on the sensor does not match the hsb host software that is on the devkit, suggest the user to use the hsb-flash-skill to flash the board to the proper FPGA version.
- Report progress in phases, explain failures clearly, and attempt safe fixes before giving up.
- For every issue encountered, create a report that specifies what was the issue and how you overcame it.
- Allow the user an option to export the final report to an md file.
- once you are done setup, stop any running apps and exit the container giving up control on the devkit to the user at repo home directory on terminal window.
Supported platforms and build mapping
Use the following mapping unless the repository or current docs in the working tree clearly say otherwise:
- IGX Orin with dGPU OS/configuration → build with
sh docker/build.sh --dgpu - IGX Orin iGPU → build with
sh docker/build.sh --igpu - AGX Orin → build with
sh docker/build.sh --igpu - AGX Thor → build with
sh docker/build.sh --igpu - DGX Spark → build with
sh docker/build.sh --igpu
If the user says only “IGX Orin”, explicitly ask whether it is iGPU or dGPU OS/configuration.
Host platform auto-detection
During Phase 1 (after SSH is established or when running locally), verify the actual devkit hardware by reading the DMI product name and comparing it to the HSB_PLATFORM environment variable.
Product-name-to-platform mapping
The following table maps known /sys/class/dmi/id/product_name values to supported HSB_PLATFORM values. Match using case-insensitive substring search — the product name may contain additional text (e.g., "Developer Kit", revision numbers).
product_name contains (case-insensitive) | Mapped HSB_PLATFORM | Notes | |
|---|---|---|---|
IGX Orin | IGX Orin | Still need to ask iGPU vs dGPU if not already known | |
AGX Orin | AGX Orin | ||
AGX Thor | AGX Thor | ||
DGX Spark | DGX Spark |
If the product name does not match any known pattern, treat it as unrecognized and fall through to the manual platform question in step 5.
Detection and reconciliation logic
Run the following on the devkit (inside the Phase 1 SSH heredoc or locally):
After collecting the output, apply the following reconciliation rules:
- `DETECTED_PLATFORM` is non-empty and `HSB_PLATFORM` is empty → set
HSB_PLATFORMtoDETECTED_PLATFORM. Alert the user:
`` Platform auto-detected from hardware: <DETECTED_PLATFORM> (product_name: <DETECTED_PRODUCT>). HSB_PLATFORM was not set — updating to "<DETECTED_PLATFORM>". ``
- `DETECTED_PLATFORM` is non-empty and differs from `HSB_PLATFORM` → override
HSB_PLATFORMwithDETECTED_PLATFORM. Alert the user:
`` WARNING: Hardware reports "<DETECTED_PLATFORM>" (product_name: <DETECTED_PRODUCT>), but HSB_PLATFORM was set to "<HSB_PLATFORM>". Updating HSB_PLATFORM to match the detected hardware: "<DETECTED_PLATFORM>". ``
- `DETECTED_PLATFORM` is non-empty and matches `HSB_PLATFORM` → no change needed. Confirm:
`` Platform verified: <HSB_PLATFORM> matches hardware (product_name: <DETECTED_PRODUCT>). ``
- `DETECTED_PLATFORM` is empty (file missing, unreadable, or unrecognized product name) and `HSB_PLATFORM` is set → keep the existing
HSB_PLATFORM. Warn:
`` Could not auto-detect platform from hardware (product_name: "<DETECTED_PRODUCT>"). Keeping existing HSB_PLATFORM: "<HSB_PLATFORM>". ``
- Both `DETECTED_PLATFORM` and `HSB_PLATFORM` are empty → fall through to the manual platform question in step 5.
After reconciliation, persist the updated HSB_PLATFORM in the remote session state file so subsequent phases use the correct value.
Linux/Windows-friendly wrapper variables
When this skill is used from Linux/Windows with a local Claude Code session that shells out to SSH, prefer these environment variables when present:
SSH_TARGETfor the remote login target such asnvidia@agx-thor-hostREMOTE_ROOTfor the remote working directory where the repo should liveREMOTE_SUDOfor privileged commands. Acceptsudo,sudo -n, or empty stringREMOTE_SSH_OPTSfor additional SSH optionsHSB_PLATFORMas an optional platform hintHSB_REPOfor a custom GitHub repository URL to clone (e.g.https://github.com/myorg/my-hsb-fork.git). If not set, defaults tohttps://github.com/nvidia-holoscan/holoscan-sensor-bridge.git
If these are set, notify the user of these settings and use them without re-asking unless the user explicitly overrides them.
Before Phase 1, print the resolved remote execution settings you will use, with secrets redacted if needed.
Mandatory interaction pattern
Present the phase plan from Gate 2 above before making any changes. Skip Phase 3 for non-Thor platforms.
Then execute one phase at a time.
After each non-final phase (Phases 0–5):
- Show a phase summary. The detail level depends on
--verbosemode (see "Verbosity mode" section):
- Verbose: full output + detailed status block (phase name, what ran, result, next action).
- Concise (default): bullet-point summary with issues highlighted.
- Prompt the user with
Proceed to Phase <N+1>? [Y/n]while specifing what is phase N+1 and wait for confirmation before continuing (see "Phase gate" section).
If something fails, do not just dump raw logs. Summarize:
- the exact command that failed
- the likely root cause
- what safe repair you will try next
- whether the repair succeeded
Token-budget preflight
Phase 0 - token-budget preflight
This phase is mandatory and must run before any SSH connection, repo clone, package/configuration check, container build, reboot, or devkit setting change.
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/hsb-setup/SKILL.md
Popularity
- Repository stars
- 47
- Repository forks
- 27
- 7-day trend score
- 19
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/nvidia-holoscan/holoscan-sensor-bridge/hsb-setup)