Skip to content
Development
Skill

/holoscan-app-debug-build-run

Use when a concrete holoscan command in holoscan-applications or a standalone Module fails, hangs, regresses, or returns wrong output.

BOOST
From plugin
nvidia-skills
3.7k200 skills
Install
$ npx -y skills add NVIDIA/skills --skill holoscan-app-debug-build-run --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/holoscan-app-debug-build-run

Context preview

The summary Claude sees to decide when to auto-load this skill.

Use when a concrete holoscan command in holoscan-applications or a standalone Module fails, hangs, regresses, or returns wrong output.

SKILL.md

holoscan-app-debug-build-run.SKILL.md
name: holoscan-app-debug-build-run
description: "Use when a concrete holoscan command in holoscan-applications or a standalone Module fails, hangs, regresses, or returns wrong output."
license: Apache-2.0
metadata:
  author: "Holoscan Team <holoscan-team@nvidia.com>"
  compatibility: "Holoscan CLI 5.x (verified with 5.0.0); Python 3.12–3.14; nvidia-holoscan/holoscan-applications checkout or standalone Holoscan Module"
  github-url: "https://github.com/nvidia-holoscan/holoscan-applications"
  tags:
    - holoscan
    - holoscan-applications
    - debugging

Debug Holoscan CLI commands

Purpose

Turn one concrete CLI failure into a minimally fixed, reproducible passing command with focused regression proof.

Inputs

Required, from the user's report or the affected checkout:

  • the affected user-provided holoscan-applications checkout or standalone

Module repository;

  • one exact failing, hanging, regressed, or semantically wrong `holoscan`

command;

  • expected and observed results, relevant inputs, and the point where progress

stops;

  • the runtime needed to reproduce the command.

Optional: existing logs and a known-good revision or environment for comparison.

Route non-failing Module work to `holoscan-module-lifecycle` and first-time SDK installation to `holoscan-setup`. If the matching skill is unavailable, preserve the handoff context and name the skill to install. Non-failing application work is outside this skill; follow the checkout's `README.md`, `CONTRIBUTING.md`, and `docs/ci.md` instead. Do not manufacture a failure.

Prerequisites

  • Always read the [Holoscan CLI contract](references/holoscan-cli-contract.md).
  • Read [Holoscan CLI configuration](references/holoscan-cli-configuration.md)

when the CLI environment, base image, SDK selection, or project settings are involved.

  • Read the [debug workflow](references/debug-workflow.md) for layer

classification, observability, hypothesis testing, cleanup, and proof.

  • Read only the relevant section of

[version-sensitive diagnostic priors](references/known-issues.md).

  • If a referenced file is unavailable, report the missing reference rather

than proceeding without its guidance.

The affected checkout's `README.md`, `CONTRIBUTING.md`, and `docs/ci.md`, or a generated Module's own guidance, plus local help, exact reproduction, schemas, and source are the live technical authority where they do not conflict with user, system, or safety constraints.

Instructions

If the request is planning-only or forbids execution, do not begin the steps below. Return only the proposed diagnostic order, evidence, approval boundaries, and proof requirements; do not run commands or change files, caches, artifacts, privileges, or environments.

1. **Freeze the reproduction.** Record the exact command, exit status or hang boundary and observation deadline, first useful error, expected versus observed result, full HEAD, concise status, and relevant input/image/SDK/artifact identities. 2. **Identify syntax and environment.** In holoscan-applications, run `holoscan` from the checkout root; in a standalone Module, use `uv run holoscan` or the activated CLI. Read subcommand help; never copy a launcher into either repository. Capture `version --json`, `env-info --json`, relevant `env-check --json`, and `status --json`, and compare the CLI version with the committed pin. Before sharing, apply the diagnostic redaction procedure in [debug workflow](references/debug-workflow.md#sharing-diagnostics): never paste raw environment or credential-bearing output. 3. **Locate the failing phase.** Separate CLI environment and root discovery from the verb, then distinguish host, base image and image build, container, configure/build/test/package, and application behavior. Use the checks in the [layer matrix](references/debug-workflow.md#layer-matrix) to place the first useful error in one layer; when two layers remain plausible, step 6 tests their boundary. 4. **Preview the identical shape.** Add only locally supported preview and verbosity flags. Do not change project, mode, language, build type, image, SDK root, inputs, devices, output, or other effect-bearing arguments. 5. **Reproduce once without edits.** Capture the smallest complete causal section, separate from shutdown noise. If the command or its options clear cached artifacts, including `clear-cache` or `test --clear-cache`, review the resolved affected paths and obtain explicit user authorization before reproduction; receiving a failing-command report is not approval for cache cleanup. A user instruction approving those resolved paths is sufficient; if approval is absent or denied, use existing logs and read-only checks, and report reproduction blocked. Every `holoscan test` also empties its `build-<project>` test directory, so confirm that directory holds nothing to preserve before reproducing a test. For a hang, preserve all effect-bearing arguments but enforce an external timeout derived from the recorded hang boundary; record the deadline, termination signal, exit status, and whether child CLI or container processes remain. If it no longer reproduces, compare revision, state, inputs, image, SDK, cache, display/devices, and environment, then report the mismatch rather than inventing a fix. 6. **Test one boundary and hypothesis.** Choose one primary layer, state a falsifiable explanation, change one variable, and record the result. Read source only after narrowing ownership. Revert diagnostic-only changes. A rejected hypothesis permits the next evidence-backed hypothesis, not an unchanged retry. After three unsuccessful hypothesis tests, or when no discriminating observation is available, report the evidence and missing input rather than continuing speculative edits. 7. **Fix minimally.** Change the owning layer without unrelated refactoring, broad dependency upg

Read more
Ships withnvidia-skills

Official, NVIDIA-verified Agent Skills for Claude Code, Codex, and other coding agents.

Get the whole plugin

Other skills on nvidia-skills.