[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M78CSY7JCHY335HTXVDCV1GD":3,"skill-same:01M78CSY7JCHY335HTXVDCV1GD":91},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":45,"commitSha":46,"skillDirectory":47,"forksCount":14,"repositoryHtmlUrl":48,"repositoryHomepageUrl":49,"ownerHtmlUrl":50,"ownerBlogUrl":51,"ownerDescription":52,"updatedAt":53,"install":54,"resources":66},"01M78CSY7JCHY335HTXVDCV1GD","hsb-test",null,"Execute QA test plans on Holoscan Sensor Bridge hardware. Reads a user-provided test document, filters tests by the user's setup, determines which tests can run automatically, executes them with pass\u002Ffail evaluation, and produces a structured test results report.","Solizardking\u002Fskillhub-main","Solizardking","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F108096810?v=4","01M786KDB10AYV042N0F9BD5B5","Clawd","01M786NYYXSZK1D05WM8JQPC48",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FSolizardking\u002Fskillhub-main\u002Fblob\u002Fmain\u002Fskills\u002Fnvidia\u002Fhsb-test\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: hsb-test\ndescription: Execute QA test plans on Holoscan Sensor Bridge hardware. Reads a user-provided test document, filters tests by the user's setup, determines which tests can run automatically, executes them with pass\u002Ffail evaluation, and produces a structured test results report.\nauthor: \"Holoscan Team \u003Choloscan-team@nvidia.com>\"\nlicense: \"Apache-2.0\"\nversion: \"1.0.0\"\ntags:\n  - holoscan-sensor-bridge\n  - hsb\n  - testing\ntools:\n  - Read\n  - Write\n  - Edit\n  - Grep\n  - Glob\n  - Bash\ndisable-model-invocation: true\nallowed-tools: Read,Write,Edit,MultiEdit,Grep,Glob,Bash\nmetadata:\n  author: \"Holoscan Team \u003Choloscan-team@nvidia.com>\"\n  team: holoscan\n  tags:\n    - holoscan-sensor-bridge\n    - hsb\n    - testing\n  agents:\n    - claude-code\n    - codex\n---\n\n# HSB QA Test Runner\n\nUse this skill when the user wants to execute a QA test plan against an HSB board and devkit. The skill reads a test document (local file or web link), filters tests to those that can run automatically on the user's specific hardware setup, executes each test with pass\u002Ffail evaluation, and produces a comprehensive results report.\n\nThis skill assumes the devkit is already set up (SSH, demo container built, host configured, board connected). If setup is not complete, it will offer to invoke `\u002Fhsb-setup` first.\n\nThis workflow runs test applications inside the demo container. Only run it when the user explicitly invokes it.\n\n## Before you start — required gates (do these first, in order)\n\n**Gate 1 — Read environment variables.** Before doing anything else, check these variables and print their resolved values to the user:\n\n```\nSSH_TARGET      Remote devkit login (e.g. nvidia@192.168.1.50). Ask the user if not set.\nREMOTE_ROOT     Remote working directory (e.g. \u002Fhome\u002Fnvidia). Ask the user if not set.\nREMOTE_SUDO     sudo \u002F sudo -n \u002F \"\" — default to \"sudo\" if not set.\nREMOTE_SSH_OPTS Additional SSH options (optional).\nHSB_PLATFORM    Platform hint (optional).\n```\n\n**SSH_TARGET and REMOTE_ROOT are required. Stop and ask the user for them if either is missing.**\n\n**Gate 2 — Present the phase plan, ask for the test document, and get confirmation.** Before taking any action:\n\n1. Show the phase plan:\n\n```\nHSB Test — Phase Plan\n  Phase 0: Verify devkit SSH, board ping, and demo container availability\n  Phase 1: Obtain test document, confirm setup, build executable test plan\n  Phase 2: Execute tests, record pass\u002Ffail, analyze failures\n  Phase 3: Produce test results report (with option to save)\n  Phase 4: Clean up test artifacts\n```\n\n2. **If the user has not provided a test document path or URL, STOP and ask for it — do not proceed to Phase 0 or any phase until the user provides it**: `Please provide the path or URL to your test document:`. If the user has already specified specific tests (e.g., \"connectivity checks only\"), state which phases will run and which will be skipped, and note that tests will be filtered to the user's platform\u002Fboard\u002Fsensor configuration and classified as automatable vs. manual.\n\n3. Ask explicitly: `Shall I proceed with Phase 0? [Y\u002Fn]` — do not start Phase 0 until the user confirms.\n\n## What this skill must do\n\n1. Verify that the devkit is reachable over SSH, the HSB board is connected and responsive, and the demo container is available. Read the current FPGA version and board identity. Verify the type of sensor\u002Fcamera and hsb devkit and release repo used either from already set environment variables or from prompting the user. If the setup is not ready, offer to invoke `\u002Fhsb-setup` to prepare the devkit.\n2. Obtain a test plan document from the user (file path or URL). Confirm the user's setup details collected in Phase 0 (repo location, HSB version, platform, board type, sensors). Study the test plan and the repository's `examples\u002F` directory to determine which tests can run automatically. Skip manual tests and tests requiring additional equipment. Present the executable test plan for user approval.\n3. Execute each test case in sequence. For each test: run the application, evaluate pass\u002Ffail against the criteria in the test plan, log the result. On failure, analyze logs, suggest fixes, and let the user decide how to proceed before running the next test.\n4. Produce a structured test results report with per-test pass\u002Ffail status, issues encountered, and fixes applied. Offer to save the report.\n5. Clean up all test artifacts (containers, temporary files, session state).\n\n## Linux\u002FWindows-friendly wrapper variables\n\nReuse the same environment variables from the other HSB skills:\n\n- `SSH_TARGET` for the remote login target (e.g. `nvidia@agx-thor-host`)\n- `REMOTE_ROOT` for the remote working directory\n- `REMOTE_SUDO` for privileged commands\n- `REMOTE_SSH_OPTS` for additional SSH options\n- `HSB_PLATFORM` as an optional platform hint\n\nIf these are set, notify the user of these settings and use them without re-asking.\n\nBefore Phase 0, print the resolved remote execution settings.\n\n## Mandatory interaction pattern\n\n### First run in a session (no prior verification)\n\nWhen no valid session state exists, show the full phase plan:\n\n- Phase 0: Verify board connectivity, demo container readiness, and user setup (release repo, platform, sensor\u002Fcamera)\n- Phase 1: Obtain test plan, confirm setup, build executable test list\n- Phase 2: Execute test plan with per-test pass\u002Ffail evaluation\n- Phase 3: Generate test results report (with option to save)\n- Phase 4: Cleanup\n\nThen execute one phase at a time.\n\n### Subsequent runs in the same session (fast path)\n\nWhen the session state file (`\u002Ftmp\u002F.claude_hsb_test_session\u002Fstate.sh`) exists **and** contains `_SESSION_VERIFIED=true`, the skill skips Phase 0 and Phase 1 setup confirmation because connectivity, hardware, release repo, platform, and sensor\u002Fcamera were already verified. Instead, inform the user and jump directly to test plan intake:\n\n```\nSession already verified — skipping connectivity checks.\n  SSH target: $SSH_TARGET\n  Release repo: \u002Fhome\u002Fwork\u002Fholoscan-sensor-bridge (HSB vX.X.X)\n  Platform: AGX Thor\n  Board: HSB Lattice | FPGA: XXXX\n  Sensors: Dual IMX274\n\nProceeding directly to test plan intake.\n```\n\nThen execute:\n- Phase 1 (test plan intake and test list building — setup confirmation is skipped)\n- Phase 2: Execute test plan\n- Phase 3: Test results report\n- Phase 4: Cleanup\n\n### When to re-run Phase 0 from the beginning\n\nPhase 0 must be re-run (ignoring the fast path) when:\n\n1. **New session**: No session state file exists on the remote host, or a new Claude Code session is started.\n2. **Execution failure suggesting connectivity loss**: If Phase 2 fails with symptoms indicating the board or devkit is unreachable (ping failure, SSH timeout, container launch failure, `No such device` errors), clear `_SESSION_VERIFIED` from the session state and re-run Phase 0 before retrying.\n3. **User explicitly requests it**: If the user says \"re-verify\", \"start over\", \"run from the beginning\", or invokes `\u002Fhsb-test --full`, run Phase 0 from scratch.\n\nSee [## Phase gate](#phase-gate--user-confirmation-between-phases) below for the full confirmation protocol.\n\nIf something fails, do **not** just dump raw logs. Summarize:\n\n- the exact command that failed\n- the likely root cause\n- what safe action you recommend\n- whether the issue is blocking\n\n## Phase details\n\nSee [references\u002Fphase-details.md](references\u002Fphase-details.md) for full step-by-step phase instructions.\n\n## Execution rules\n\n### SSH heredoc pattern\n\nUse the same persistent SSH session model as the other HSB skills. Each phase runs as a single SSH heredoc block:\n\n```bash\nssh -o BatchMode=yes $REMOTE_SSH_OPTS $SSH_TARGET bash -s \u003C\u003C'REMOTE'\nset -e\n\n# restore state from previous phase\nsource \u002Ftmp\u002F.claude_hsb_test_session\u002Fstate.sh 2>\u002Fdev\u002Fnull || true\ncd \"${_CLAUDE_CWD:-__REMOTE_ROOT__}\"\n\n# phase commands\necho \"=== Phase N: description ===\"\ncommand1\ncommand2\n\n# save state for next phase (preserves _SESSION_VERIFIED if already set)\n_PREV_VERIFIED=\"${_SESSION_VERIFIED:-}\"\nmkdir -p \u002Ftmp\u002F.claude_hsb_test_session\n{\n  echo \"export _CLAUDE_CWD=\\\"$(pwd)\\\"\"\n  echo \"export PATH=\\\"$PATH\\\"\"\n  echo \"export REPO_DIR=\\\"$REPO_DIR\\\"\"\n  echo \"export VERSION=\\\"$VERSION\\\"\"\n  echo \"export HSB_PLATFORM=\\\"$HSB_PLATFORM\\\"\"\n  echo \"export BOARD_TYPE=\\\"$BOARD_TYPE\\\"\"\n  echo \"export SENSORS=\\\"$SENSORS\\\"\"\n  echo \"export FPGA_VERSION=\\\"$FPGA_VERSION\\\"\"\n  echo \"export TEST_PLAN_SOURCE=\\\"$TEST_PLAN_SOURCE\\\"\"\n  [ \"$_PREV_VERIFIED\" = \"true\" ] && echo \"export _SESSION_VERIFIED=true\"\n} > \u002Ftmp\u002F.claude_hsb_test_session\u002Fstate.sh\nREMOTE\n```\n\nReplace `__REMOTE_ROOT__` with the literal value of `$REMOTE_ROOT` when composing the heredoc.\n\n### Container usage for tests\n\nTest commands run inside the demo container. Use the detached pattern with a named container and a watchdog for timeout enforcement.\n\nDefault timeout per test: **120 seconds** (2 minutes). Overridden by:\n- `--timeout N` on the skill invocation (applies to all tests)\n- Per-test timeout specified in the test plan\n\n### Cleanup after each test container\n\nAfter every test run, stop and remove the container. See [references\u002Fphase-details.md](references\u002Fphase-details.md) for the cleanup pattern.\n\n### Session teardown\n\nHandled by Phase 4. If the workflow is aborted before Phase 4:\n\n```bash\ndocker ps --filter \"name=hsb_test_\" --format '{{.Names}}' | xargs -r docker stop -t 2 2>\u002Fdev\u002Fnull || true\nssh -o BatchMode=yes $REMOTE_SSH_OPTS $SSH_TARGET \"rm -rf \u002Ftmp\u002F.claude_hsb_test_session\"\n```\n\n## Phase gate — user confirmation between phases\n\nAfter completing each phase (Phases 0–3), **always prompt the user for confirmation** before starting the next phase.\n\n**Exception**: When `--y` (auto-approve mode) is active, phase gates are skipped. See \"Auto-approve mode (`--y`)\" section.\n\n**Exception**: Phase 4 (cleanup) runs automatically after Phase 3 without a gate.\n\n```\nProceed to Phase \u003CN+1> (\u003Cphase description>)? [Y\u002Fn]\n```\n\n### User response handling\n\nAll prompts in this skill require explicit typed responses. Never treat a blank or Enter-only input as a selection — re-prompt the user instead.\n\n- **\"y\"**, **\"yes\"**, **\"Y\"**, **\"ok\"**, **\"go\"**, **\"continue\"**, **\"next\"** → proceed to the next phase.\n- **\"n\"**, **\"no\"**, **\"stop\"**, **\"abort\"** → stop execution. Print:\n  ```\n  QA testing paused after Phase N.\n  You can resume by re-invoking the skill.\n  ```\n  Then run session teardown.\n- **Any other text** → treat as a question or instruction about the current phase. Answer it, then re-prompt.\n- **\"retry\"** → re-execute the current phase, show summary again, then re-prompt.\n\n### Exceptions\n\n- **Phase 4** (cleanup) is the final phase — it runs automatically after Phase 3 completes or after the user declines to run another test plan.\n- **If a phase FAILs** and cannot be recovered, stop and report clearly, then run cleanup.\n\n## Built-in help (`--help`)\n\nIf `$ARGUMENTS` contains `--help` or `-h`, print the following and stop:\n\n```\nHSB QA Test Runner Skill\n\nUSAGE\n  \u002Fhsb-test [OPTIONS]\n\nOPTIONS\n  --help, -h        Show this help message and exit\n  --verbose         Show full raw command output for every phase\n  --y               Auto-approve all phase gates and skip interactive\n                    debugging on test failures. Not recommended — a\n                    confirmation warning is shown before proceeding.\n                    All output is saved to a timestamped log file.\n  --timeout N       Set per-test runtime in seconds (default: 120s).\n                    Tests stop after N seconds or when pass\u002Ffail can\n                    be determined, whichever comes first.\n  --full            Force full verification from Phase 0, even if the\n                    session was already verified\n\nENVIRONMENT VARIABLES (set before invoking the skill)\n  SSH_TARGET        Remote login target (e.g. ubuntu@10.0.0.1)\n  REMOTE_ROOT       Remote working directory\n  REMOTE_SUDO       Privilege escalation: 'sudo', 'sudo -n', or ''\n  REMOTE_SSH_OPTS   Additional SSH options\n  HSB_PLATFORM      Platform hint\n\nWORKFLOW PHASES\n  Phase 0   Verify board connectivity, demo container readiness,\n            and user setup (release repo, platform, sensor\u002Fcamera)\n            (skipped on repeat runs in the same session)\n  Phase 1   Obtain test plan, confirm setup, build executable test list\n            (setup confirmation skipped on repeat runs)\n  Phase 2   Execute test plan with per-test pass\u002Ffail evaluation\n  Phase 3   Generate and optionally save test results report\n  Phase 4   Cleanup (automatic)\n\nEXAMPLES\n  \u002Fhsb-test\n  \u002Fhsb-test --verbose\n  \u002Fhsb-test --timeout 60\n  \u002Fhsb-test --y\n  \u002Fhsb-test --y --timeout 60\n  \u002Fhsb-test --full\n  \u002Fhsb-test --help\n```\n\n## Invocation examples\n\n- `\u002Fhsb-test`\n- `\u002Fhsb-test --verbose`\n- `\u002Fhsb-test --timeout 60`\n- `\u002Fhsb-test --timeout 60 --verbose`\n- `\u002Fhsb-test --y`\n- `\u002Fhsb-test --y --timeout 60`\n- `\u002Fhsb-test --full`\n- `\u002Fhsb-test --full --verbose`\n- `\u002Fhsb-test --help`\n\n## Verbosity mode (`--verbose`)\n\nThe skill supports a `--verbose` flag:\n\n### Detecting the flag\n\nCheck whether `$ARGUMENTS` (the text after the slash command) contains any of: `--help` \u002F `-h`, `--verbose`, `--y`, `--timeout N`, or `--full` (case-insensitive). Strip all flags (and their values) from arguments before further parsing.\n\nWhen `--full` is present, ignore any cached session state and run Phase 0 from scratch.\n\n### Verbose mode (when set)\n\n- Show complete raw output of every SSH command\n- Show full test application output inline (all stdout\u002Fstderr)\n- Show detailed phase status blocks\n\n### Concise mode (default, no `--verbose`)\n\n- Show bullet-point summaries after each phase\n- Suppress raw command output\n- Show key test output lines (startup, errors, pass\u002Ffail indicators) but not every line\n- Show issues with the 4-line format (Symptom, Cause, Resolution, Blocking)\n\n## Auto-approve mode (`--y`)\n\nThe skill supports a `--y` flag that skips all phase gates and runs the entire workflow from start to finish without waiting for user confirmation between phases. This is **not recommended** for QA testing.\n\n### Confirmation warning\n\nWhen `--y` is detected, display a warning and ask the user to confirm:\n\n```\n⚠  WARNING: Auto-approve mode (--y) is enabled.\n\nThis is NOT RECOMMENDED for QA testing. All phase gates will be skipped\nand the entire test plan will execute without pausing for your\nconfirmation between phases or tests.\n\nYou will not be able to review intermediate results, intervene on\nfailures, or abort between tests. All output will be saved to a\ntimestamped log file.\n\nNOTE: In auto-approve mode, you must still provide the test plan in\nPhase 1. Failed tests are logged but not interactively debugged —\ntesting continues to the next test automatically.\n\nType 'yes' to confirm auto-approve mode, or anything else to cancel:\n```\n\n- If the user responds with **\"yes\"** (exact match, case-insensitive) → enable auto-approve mode.\n- Any other response → cancel auto-approve mode and run interactively.\n\n### Behavior when `--y` is active\n\n1. **Phase gates are skipped** between phases.\n2. **Test plan approval is skipped** — the generated test plan executes automatically.\n3. **Failed tests do not pause** — failures are logged and testing continues to the next test case automatically.\n4. **Inter-test prompts are skipped** — tests run back-to-back without confirmation.\n5. **Default timeout applies** — 120 seconds per test, or `--timeout N` if specified.\n6. **Log file**: Created at start as `hsb-test-log-YYYY-MM-DD-HHMMSS.md` in `$REMOTE_ROOT\u002F` or current directory.\n7. **Phase summaries are still shown** in real time.\n8. **Blocking connectivity failures still stop the workflow** and trigger re-verification.\n\n### Combining with other flags\n\n- `--y --verbose`: Auto-approve with full raw output.\n- `--y --timeout N`: Auto-approve with a custom per-test timeout.\n- `--y --full`: Auto-approve with forced full verification from Phase 0.\n\n## Timeout handling (`--timeout`)\n\nThe skill supports a `--timeout N` flag where N is the number of seconds to run each test.\n\n### Behavior\n\n- **When set**: Each test runs for at most N seconds, then is stopped. Pass\u002Ffail is evaluated from the output collected during that window.\n- **When not set**: Each test runs for at most **120 seconds** (2 minutes) by default, or until pass\u002Ffail can be determined from the output, whichever comes first.\n- **Per-test override**: If the test plan specifies a timeout for a specific test, that value takes precedence over both the default and the `--timeout` flag.\n\n### Validation\n\n- N must be a positive integer\n- Minimum: 5 seconds\n- Maximum: 3600 seconds (1 hour)\n- If invalid, show an error and ask the user to provide a valid timeout\n","# HSB QA Test Runner\n\nUse this skill when the user wants to execute a QA test plan against an HSB board and devkit. The skill reads a test document (local file or web link), filters tests to those that can run automatically on the user's specific hardware setup, executes each test with pass\u002Ffail evaluation, and produces a comprehensive results report.\n\nThis skill assumes the devkit is already set up (SSH, demo container built, host configured, board connected). If setup is not complete, it will offer to invoke `\u002Fhsb-setup` first.\n\nThis workflow runs test applications inside the demo container. Only run it when the user explicitly invokes it.\n\n## Before you start — required gates (do these first, in order)\n\n**Gate 1 — Read environment variables.** Before doing anything else, check these variables and print their resolved values to the user:\n\n```\nSSH_TARGET      Remote devkit login (e.g. nvidia@192.168.1.50). Ask the user if not set.\nREMOTE_ROOT     Remote working directory (e.g. \u002Fhome\u002Fnvidia). Ask the user if not set.\nREMOTE_SUDO     sudo \u002F sudo -n \u002F \"\" — default to \"sudo\" if not set.\nREMOTE_SSH_OPTS Additional SSH options (optional).\nHSB_PLATFORM    Platform hint (optional).\n```\n\n**SSH_TARGET and REMOTE_ROOT are required. Stop and ask the user for them if either is missing.**\n\n**Gate 2 — Present the phase plan, ask for the test document, and get confirmation.** Before taking any action:\n\n1. Show the phase plan:\n\n```\nHSB Test — Phase Plan\n  Phase 0: Verify devkit SSH, board ping, and demo container availability\n  Phase 1: Obtain test document, confirm setup, build executable test plan\n  Phase 2: Execute tests, record pass\u002Ffail, analyze failures\n  Phase 3: Produce test results report (with option to save)\n  Phase 4: Clean up test artifacts\n```\n\n2. **If the user has not provided a test document path or URL, STOP and ask for it — do not proceed to Phase 0 or any phase until the user provides it**: `Please provide the path or URL to your test document:`. If the user has already specified specific tests (e.g., \"connectivity checks only\"), state which phases will run and which will be skipped, and note that tests will be filtered to the user's platform\u002Fboard\u002Fsensor configuration and classified as automatable vs. manual.\n\n3. Ask explicitly: `Shall I proceed with Phase 0? [Y\u002Fn]` — do not start Phase 0 until the user confirms.\n\n## What this skill must do\n\n1. Verify that the devkit is reachable over SSH, the HSB board is connected and responsive, and the demo container is available. Read the current FPGA version and board identity. Verify the type of sensor\u002Fcamera and hsb devkit and release repo used either from already set environment variables or from prompting the user. If the setup is not ready, offer to invoke `\u002Fhsb-setup` to prepare the devkit.\n2. Obtain a test plan document from the user (file path or URL). Confirm the user's setup details collected in Phase 0 (repo location, HSB version, platform, board type, sensors). Study the test plan and the repository's `examples\u002F` directory to determine which tests can run automatically. Skip manual tests and tests requiring additional equipment. Present the executable test plan for user approval.\n3. Execute each test case in sequence. For each test: run the application, evaluate pass\u002Ffail against the criteria in the test plan, log the result. On failure, analyze logs, suggest fixes, and let the user decide how to proceed before running the next test.\n4. Produce a structured test results report with per-test pass\u002Ffail status, issues encountered, and fixes applied. Offer to save the report.\n5. Clean up all test artifacts (containers, temporary files, session state).\n\n## Linux\u002FWindows-friendly wrapper variables\n\nReuse the same environment variables from the other HSB skills:\n\n- `SSH_TARGET` for the remote login target (e.g. `nvidia@agx-thor-host`)\n- `REMOTE_ROOT` for the remote working directory\n- `REMOTE_SUDO` for privileged commands\n- `REMOTE_SSH_OPTS` for additional SSH options\n- `HSB_PLATFORM` as an optional platform hint\n\nIf these are set, notify the user of these settings and use them without re-asking.\n\nBefore Phase 0, print the resolved remote execution settings.\n\n## Mandatory interaction pattern\n\n### First run in a session (no prior verification)\n\nWhen no valid session state exists, show the full phase plan:\n\n- Phase 0: Verify board connectivity, demo container readiness, and user setup (release repo, platform, sensor\u002Fcamera)\n- Phase 1: Obtain test plan, confirm setup, build executable test list\n- Phase 2: Execute test plan with per-test pass\u002Ffail evaluation\n- Phase 3: Generate test results report (with option to save)\n- Phase 4: Cleanup\n\nThen execute one phase at a time.\n\n### Subsequent runs in the same session (fast path)\n\nWhen the session state file (`\u002Ftmp\u002F.claude_hsb_test_session\u002Fstate.sh`) exists **and** contains `_SESSION_VERIFIED=true`, the skill skips Phase 0 and Phase 1 setup confirmation because connectivity, hardware, release repo, platform, and sensor\u002Fcamera were already verified. Instead, inform the user and jump directly to test plan intake:\n\n```\nSession already verified — skipping connectivity checks.\n  SSH target: $SSH_TARGET\n  Release repo: \u002Fhome\u002Fwork\u002Fholoscan-sensor-bridge (HSB vX.X.X)\n  Platform: AGX Thor\n  Board: HSB Lattice | FPGA: XXXX\n  Sensors: Dual IMX274\n\nProceeding directly to test plan intake.\n```\n\nThen execute:\n- Phase 1 (test plan intake and test list building — setup confirmation is skipped)\n- Phase 2: Execute test plan\n- Phase 3: Test results report\n- Phase 4: Cleanup\n\n### When to re-run Phase 0 from the beginning\n\nPhase 0 must be re-run (ignoring the fast path) when:\n\n1. **New session**: No session state file exists on the remote host, or a new Claude Code session is started.\n2. **Execution failure suggesting connectivity loss**: If Phase 2 fails with symptoms indicating the board or devkit is unreachable (ping failure, SSH timeout, container launch failure, `No such device` errors), clear `_SESSION_VERIFIED` from the session state and re-run Phase 0 before retrying.\n3. **User explicitly requests it**: If the user says \"re-verify\", \"start over\", \"run from the beginning\", or invokes `\u002Fhsb-test --full`, run Phase 0 from scratch.\n\nSee [## Phase gate](#phase-gate--user-confirmation-between-phases) below for the full confirmation protocol.\n\nIf something fails, do **not** just dump raw logs. Summarize:\n\n- the exact command that failed\n- the likely root cause\n- what safe action you recommend\n- whether the issue is blocking\n\n## Phase details\n\nSee [references\u002Fphase-details.md](references\u002Fphase-details.md) for full step-by-step phase instructions.\n\n## Execution rules\n\n### SSH heredoc pattern\n\nUse the same persistent SSH session model as the other HSB skills. Each phase runs as a single SSH heredoc block:\n\n```bash\nssh -o BatchMode=yes $REMOTE_SSH_OPTS $SSH_TARGET bash -s \u003C\u003C'REMOTE'\nset -e\n\n# restore state from previous phase\nsource \u002Ftmp\u002F.claude_hsb_test_session\u002Fstate.sh 2>\u002Fdev\u002Fnull || true\ncd \"${_CLAUDE_CWD:-__REMOTE_ROOT__}\"\n\n# phase commands\necho \"=== Phase N: description ===\"\ncommand1\ncommand2\n\n# save state for next phase (preserves _SESSION_VERIFIED if already set)\n_PREV_VERIFIED=\"${_SESSION_VERIFIED:-}\"\nmkdir -p \u002Ftmp\u002F.claude_hsb_test_session\n{\n  echo \"export _CLAUDE_CWD=\\\"$(pwd)\\\"\"\n  echo \"export PATH=\\\"$PATH\\\"\"\n  echo \"export REPO_DIR=\\\"$REPO_DIR\\\"\"\n  echo \"export VERSION=\\\"$VERSION\\\"\"\n  echo \"export HSB_PLATFORM=\\\"$HSB_PLATFORM\\\"\"\n  echo \"export BOARD_TYPE=\\\"$BOARD_TYPE\\\"\"\n  echo \"export SENSORS=\\\"$SENSORS\\\"\"\n  echo \"export FPGA_VERSION=\\\"$FPGA_VERSION\\\"\"\n  echo \"export TEST_PLAN_SOURCE=\\\"$TEST_PLAN_SOURCE\\\"\"\n  [ \"$_PREV_VERIFIED\" = \"true\" ] && echo \"export _SESSION_VERIFIED=true\"\n} > \u002Ftmp\u002F.claude_hsb_test_session\u002Fstate.sh\nREMOTE\n```\n\nReplace `__REMOTE_ROOT__` with the literal value of `$REMOTE_ROOT` when composing the heredoc.\n\n### Container usage for tests\n\nTest commands run inside the demo container. Use the detached pattern with a named container and a watchdog for timeout enforcement.\n\nDefault timeout per test: **120 seconds** (2 minutes). Overridden by:\n- `--timeout N` on the skill invocation (applies to all tests)\n- Per-test timeout specified in the test plan\n\n### Cleanup after each test container\n\nAfter every test run, stop and remove the container. See [references\u002Fphase-details.md](references\u002Fphase-details.md) for the cleanup pattern.\n\n### Session teardown\n\nHandled by Phase 4. If the workflow is aborted before Phase 4:\n\n```bash\ndocker ps --filter \"name=hsb_test_\" --format '{{.Names}}' | xargs -r docker stop -t 2 2>\u002Fdev\u002Fnull || true\nssh -o BatchMode=yes $REMOTE_SSH_OPTS $SSH_TARGET \"rm -rf \u002Ftmp\u002F.claude_hsb_test_session\"\n```\n\n## Phase gate — user confirmation between phases\n\nAfter completing each phase (Phases 0–3), **always prompt the user for confirmation** before starting the next phase.\n\n**Exception**: When `--y` (auto-approve mode) is active, phase gates are skipped. See \"Auto-approve mode (`--y`)\" section.\n\n**Exception**: Phase 4 (cleanup) runs automatically after Phase 3 without a gate.\n\n```\nProceed to Phase \u003CN+1> (\u003Cphase description>)? [Y\u002Fn]\n```\n\n### User response handling\n\nAll prompts in this skill require explicit typed responses. Never treat a blank or Enter-only input as a selection — re-prompt the user instead.\n\n- **\"y\"**, **\"yes\"**, **\"Y\"**, **\"ok\"**, **\"go\"**, **\"continue\"**, **\"next\"** → proceed to the next phase.\n- **\"n\"**, **\"no\"**, **\"stop\"**, **\"abort\"** → stop execution. Print:\n  ```\n  QA testing paused after Phase N.\n  You can resume by re-invoking the skill.\n  ```\n  Then run session teardown.\n- **Any other text** → treat as a question or instruction about the current phase. Answer it, then re-prompt.\n- **\"retry\"** → re-execute the current phase, show summary again, then re-prompt.\n\n### Exceptions\n\n- **Phase 4** (cleanup) is the final phase — it runs automatically after Phase 3 completes or after the user declines to run another test plan.\n- **If a phase FAILs** and cannot be recovered, stop and report clearly, then run cleanup.\n\n## Built-in help (`--help`)\n\nIf `$ARGUMENTS` contains `--help` or `-h`, print the following and stop:\n\n```\nHSB QA Test Runner Skill\n\nUSAGE\n  \u002Fhsb-test [OPTIONS]\n\nOPTIONS\n  --help, -h        Show this help message and exit\n  --verbose         Show full raw command output for every phase\n  --y               Auto-approve all phase gates and skip interactive\n                    debugging on test failures. Not recommended — a\n                    confirmation warning is shown before proceeding.\n                    All output is saved to a timestamped log file.\n  --timeout N       Set per-test runtime in seconds (default: 120s).\n                    Tests stop after N seconds or when pass\u002Ffail can\n                    be determined, whichever comes first.\n  --full            Force full verification from Phase 0, even if the\n                    session was already verified\n\nENVIRONMENT VARIABLES (set before invoking the skill)\n  SSH_TARGET        Remote login target (e.g. ubuntu@10.0.0.1)\n  REMOTE_ROOT       Remote working directory\n  REMOTE_SUDO       Privilege escalation: 'sudo', 'sudo -n', or ''\n  REMOTE_SSH_OPTS   Additional SSH options\n  HSB_PLATFORM      Platform hint\n\nWORKFLOW PHASES\n  Phase 0   Verify board connectivity, demo container readiness,\n            and user setup (release repo, platform, sensor\u002Fcamera)\n            (skipped on repeat runs in the same session)\n  Phase 1   Obtain test plan, confirm setup, build executable test list\n            (setup confirmation skipped on repeat runs)\n  Phase 2   Execute test plan with per-test pass\u002Ffail evaluation\n  Phase 3   Generate and optionally save test results report\n  Phase 4   Cleanup (automatic)\n\nEXAMPLES\n  \u002Fhsb-test\n  \u002Fhsb-test --verbose\n  \u002Fhsb-test --timeout 60\n  \u002Fhsb-test --y\n  \u002Fhsb-test --y --timeout 60\n  \u002Fhsb-test --full\n  \u002Fhsb-test --help\n```\n\n## Invocation examples\n\n- `\u002Fhsb-test`\n- `\u002Fhsb-test --verbose`\n- `\u002Fhsb-test --timeout 60`\n- `\u002Fhsb-test --timeout 60 --verbose`\n- `\u002Fhsb-test --y`\n- `\u002Fhsb-test --y --timeout 60`\n- `\u002Fhsb-test --full`\n- `\u002Fhsb-test --full --verbose`\n- `\u002Fhsb-test --help`\n\n## Verbosity mode (`--verbose`)\n\nThe skill supports a `--verbose` flag:\n\n### Detecting the flag\n\nCheck whether `$ARGUMENTS` (the text after the slash command) contains any of: `--help` \u002F `-h`, `--verbose`, `--y`, `--timeout N`, or `--full` (case-insensitive). Strip all flags (and their values) from arguments before further parsing.\n\nWhen `--full` is present, ignore any cached session state and run Phase 0 from scratch.\n\n### Verbose mode (when set)\n\n- Show complete raw output of every SSH command\n- Show full test application output inline (all stdout\u002Fstderr)\n- Show detailed phase status blocks\n\n### Concise mode (default, no `--verbose`)\n\n- Show bullet-point summaries after each phase\n- Suppress raw command output\n- Show key test output lines (startup, errors, pass\u002Ffail indicators) but not every line\n- Show issues with the 4-line format (Symptom, Cause, Resolution, Blocking)\n\n## Auto-approve mode (`--y`)\n\nThe skill supports a `--y` flag that skips all phase gates and runs the entire workflow from start to finish without waiting for user confirmation between phases. This is **not recommended** for QA testing.\n\n### Confirmation warning\n\nWhen `--y` is detected, display a warning and ask the user to confirm:\n\n```\n⚠  WARNING: Auto-approve mode (--y) is enabled.\n\nThis is NOT RECOMMENDED for QA testing. All phase gates will be skipped\nand the entire test plan will execute without pausing for your\nconfirmation between phases or tests.\n\nYou will not be able to review intermediate results, intervene on\nfailures, or abort between tests. All output will be saved to a\ntimestamped log file.\n\nNOTE: In auto-approve mode, you must still provide the test plan in\nPhase 1. Failed tests are logged but not interactively debugged —\ntesting continues to the next test automatically.\n\nType 'yes' to confirm auto-approve mode, or anything else to cancel:\n```\n\n- If the user responds with **\"yes\"** (exact match, case-insensitive) → enable auto-approve mode.\n- Any other response → cancel auto-approve mode and run interactively.\n\n### Behavior when `--y` is active\n\n1. **Phase gates are skipped** between phases.\n2. **Test plan approval is skipped** — the generated test plan executes automatically.\n3. **Failed tests do not pause** — failures are logged and testing continues to the next test case automatically.\n4. **Inter-test prompts are skipped** — tests run back-to-back without confirmation.\n5. **Default timeout applies** — 120 seconds per test, or `--timeout N` if specified.\n6. **Log file**: Created at start as `hsb-test-log-YYYY-MM-DD-HHMMSS.md` in `$REMOTE_ROOT\u002F` or current directory.\n7. **Phase summaries are still shown** in real time.\n8. **Blocking connectivity failures still stop the workflow** and trigger re-verification.\n\n### Combining with other flags\n\n- `--y --verbose`: Auto-approve with full raw output.\n- `--y --timeout N`: Auto-approve with a custom per-test timeout.\n- `--y --full`: Auto-approve with forced full verification from Phase 0.\n\n## Timeout handling (`--timeout`)\n\nThe skill supports a `--timeout N` flag where N is the number of seconds to run each test.\n\n### Behavior\n\n- **When set**: Each test runs for at most N seconds, then is stopped. Pass\u002Ffail is evaluated from the output collected during that window.\n- **When not set**: Each test runs for at most **120 seconds** (2 minutes) by default, or until pass\u002Ffail can be determined from the output, whichever comes first.\n- **Per-test override**: If the test plan specifies a timeout for a specific test, that value takes precedence over both the default and the `--timeout` flag.\n\n### Validation\n\n- N must be a positive integer\n- Minimum: 5 seconds\n- Maximum: 3600 seconds (1 hour)\n- If invalid, show an error and ask the user to provide a valid timeout\n",{"name":5,"tags":24,"tools":28,"author":35,"license":15,"version":36,"metadata":37,"description":7,"allowed-tools":43,"disable-model-invocation":44},[25,26,27],"holoscan-sensor-bridge","hsb","testing",[29,30,31,32,33,34],"Read","Write","Edit","Grep","Glob","Bash","Holoscan Team \u003Choloscan-team@nvidia.com>","1.0.0",{"tags":38,"team":39,"agents":40,"author":35},[25,26,27],"holoscan",[41,42],"claude-code","codex","Read,Write,Edit,MultiEdit,Grep,Glob,Bash",true,"main","be3de0244dc1a57e323d8160787ebb40fb64930e","skills\u002Fnvidia\u002Fhsb-test","https:\u002F\u002Fgithub.com\u002FSolizardking\u002Fskillhub-main","https:\u002F\u002Fskills.x402.wtf","https:\u002F\u002Fgithub.com\u002FSolizardking","https:\u002F\u002Fmusebook.trade","Got a mile high and never came down","2026-10-08 23:20:13",{"source":8,"skillName":5,"commands":55,"prompt":65,"zipAvailable":44},[56,59,62],{"tool":57,"command":58},"npx","npx skills add Solizardking\u002Fskillhub-main --skill hsb-test",{"tool":60,"command":61},"bunx","bunx skills add Solizardking\u002Fskillhub-main --skill hsb-test",{"tool":63,"command":64},"pnpm","pnpm dlx skills add Solizardking\u002Fskillhub-main --skill hsb-test","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FSolizardking\u002Fskillhub-main\u002Fblob\u002Fmain\u002Fskills\u002Fnvidia\u002Fhsb-test\u002FSKILL.md",[67,73,77,81,85],{"path":68,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":71,"sourceHtmlUrl":72},"BENCHMARK.md","REFERENCE","参考文档",4312,"https:\u002F\u002Fgithub.com\u002FSolizardking\u002Fskillhub-main\u002Fblob\u002Fmain\u002Fskills\u002Fnvidia\u002Fhsb-test\u002FBENCHMARK.md",{"path":74,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":75,"sourceHtmlUrl":76},"evals\u002Fevals.json",2097,"https:\u002F\u002Fgithub.com\u002FSolizardking\u002Fskillhub-main\u002Fblob\u002Fmain\u002Fskills\u002Fnvidia\u002Fhsb-test\u002Fevals\u002Fevals.json",{"path":78,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":79,"sourceHtmlUrl":80},"references\u002Fphase-details.md",22668,"https:\u002F\u002Fgithub.com\u002FSolizardking\u002Fskillhub-main\u002Fblob\u002Fmain\u002Fskills\u002Fnvidia\u002Fhsb-test\u002Freferences\u002Fphase-details.md",{"path":82,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":83,"sourceHtmlUrl":84},"skill-card.md",3907,"https:\u002F\u002Fgithub.com\u002FSolizardking\u002Fskillhub-main\u002Fblob\u002Fmain\u002Fskills\u002Fnvidia\u002Fhsb-test\u002Fskill-card.md",{"path":86,"resourceType":87,"resourceTypeDesc":88,"sizeBytes":89,"sourceHtmlUrl":90},"skill.oms.sig","OTHER","其他",4817,"https:\u002F\u002Fgithub.com\u002FSolizardking\u002Fskillhub-main\u002Fblob\u002Fmain\u002Fskills\u002Fnvidia\u002Fhsb-test\u002Fskill.oms.sig",[92,100,107,114,121,129],{"skillNo":93,"name":94,"nameZh":6,"description":95,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":96,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":19},"01M78E0TGCAMNPS207BA3G07S7","zkrouter","Self-hosted OpenAI-compatible LLM router — smart tier-based routing, ZK-stamped routing decisions, mode overrides, free OpenRouter at install via the Birth bot. Save 60-80% on inference costs by routing to the cheapest capable model across 12+ OpenRouter models.","MIT","https:\u002F\u002Fgithub.com\u002FSolizardking\u002Fskillhub-main\u002Fblob\u002Fmain\u002Fskills\u002Fzkrouter\u002FSKILL.md",[],[],{"skillNo":101,"name":102,"nameZh":6,"description":103,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":96,"licenseFileUrl":6,"sourceHtmlUrl":104,"categories":105,"keywords":106,"publishedAt":19},"01M78E0R1Z8BDT6EDTHY17MTNB","zk","For custom ZK Solana programs and privacy-preserving applications to prevent double spending. Guide to integrate rent-free nullifier PDAs for double-spend prevention.","https:\u002F\u002Fgithub.com\u002FSolizardking\u002Fskillhub-main\u002Fblob\u002Fmain\u002Fskills\u002Fzk\u002FSKILL.md",[],[],{"skillNo":108,"name":109,"nameZh":6,"description":110,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":96,"licenseFileUrl":6,"sourceHtmlUrl":111,"categories":112,"keywords":113,"publishedAt":19},"01M78E0P3ZTZ1YWF8MD5MM23QE","zk-omni-messaging","Zero-knowledge omnichain messaging between Robinhood Chain and Solana using CheshireZkOmniMessenger (msgType 4) with nullifier anti-replay and the zk-omni-relayer service.","https:\u002F\u002Fgithub.com\u002FSolizardking\u002Fskillhub-main\u002Fblob\u002Fmain\u002Fskills\u002Fzk-omni-messaging\u002FSKILL.md",[],[],{"skillNo":115,"name":116,"nameZh":6,"description":117,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":96,"licenseFileUrl":6,"sourceHtmlUrl":118,"categories":119,"keywords":120,"publishedAt":19},"01M78E0JXZ2PNB1896VXAGDBWD","zerion-wallet-data","Use when the user asks to check a wallet's portfolio, token balances, DeFi positions, PnL, transaction history, or NFTs. Provides interpreted on-chain data across 40+ EVM chains and Solana via x402 pay-per-request or API key — no raw RPC decoding needed.","https:\u002F\u002Fgithub.com\u002FSolizardking\u002Fskillhub-main\u002Fblob\u002Fmain\u002Fskills\u002Fzerion-wallet-data\u002FSKILL.md",[],[],{"skillNo":122,"name":123,"nameZh":6,"description":124,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":96,"licenseFileUrl":125,"sourceHtmlUrl":126,"categories":127,"keywords":128,"publishedAt":19},"01M78E0G14FH9GRRTQYMKD5E59","youtube-clipper","YouTube 视频智能剪辑工具。下载视频和字幕，AI 分析生成精细章节（几分钟级别）， 用户选择片段后自动剪辑、翻译字幕为中英双语、烧录字幕到视频，并生成总结文案。 使用场景：当用户需要剪辑 YouTube 视频、生成短视频片段、制作双语字幕版本时。 关键词：视频剪辑、YouTube、字幕翻译、双语字幕、视频下载、clip video","https:\u002F\u002Fgithub.com\u002FSolizardking\u002Fskillhub-main\u002Fblob\u002Fmain\u002Fskills\u002Fyoutube-clipper\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FSolizardking\u002Fskillhub-main\u002Fblob\u002Fmain\u002Fskills\u002Fyoutube-clipper\u002FSKILL.md",[],[],{"skillNo":130,"name":131,"nameZh":6,"description":132,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":96,"licenseFileUrl":6,"sourceHtmlUrl":133,"categories":134,"keywords":135,"publishedAt":19},"01M78E0C2ZYA99CFFDNB7ZMK5S","yield-optimization","Multi-chain yield optimization via yield.xyz (StakeKit). Discover 2,988+ yield opportunities across 75+ blockchains, build deposit\u002Fwithdrawal transactions with shell scripts, and sign them with a MoonPay wallet. Use when the user wants to earn yield, find the best lending or staking rate, enter\u002Fexit a position, or check portfolio balances.","https:\u002F\u002Fgithub.com\u002FSolizardking\u002Fskillhub-main\u002Fblob\u002Fmain\u002Fskills\u002Fyield-optimization\u002FSKILL.md",[],[]]