ui-test

ui-test is a command for Claude Code from NVIDIA-AI-Blueprints/video-search-and-summarization. It costs 12 tokens per session (1,242 once invoked), scanned A, original, Apache-2.0.

A command that runs VIOS user-interface tests with Playwright, a tool for testing websites in a browser.

In plain words
What is it for?
Use it to run automated browser tests for the VIOS user interface.
Why use it?
It provides a direct way to check whether the VIOS interface behaves as expected.

Command for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it to run automated browser tests for the VIOS user interface.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/nvidia-ai-blueprints/video-search-and-summarization/ui-test
About the project

NVIDIA AI Blueprint for Video Search and Summarization (VSS) is a reference architecture for applications that use AI to search, analyze, question, and summarize live or recorded video. It is intended for building video analytics agents with vision-language models, language models, retrieval-augmented generation, and NVIDIA NIM microservices. The catalogue entries provide coding-agent rules, skills, commands, agents, instructions, and settings associated with the project.

NVIDIA-AI-Blueprints/video-search-and-summarization · 1,947 stars · on GitHub · build.nvidia.com

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/NVIDIA-AI-Blueprints/video-search-and-summarization

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ui-test

README.md
[![agentmods](https://agentmods.dev/badge/commands/nvidia-ai-blueprints/video-search-and-summarization/ui-test/github.svg)](https://agentmods.dev/commands/nvidia-ai-blueprints/video-search-and-summarization/ui-test)
Your own site
<a href="https://agentmods.dev/commands/nvidia-ai-blueprints/video-search-and-summarization/ui-test"><img src="https://agentmods.dev/badge/commands/nvidia-ai-blueprints/video-search-and-summarization/ui-test/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for ui-test

Your own site · 80×15
<a href="https://agentmods.dev/commands/nvidia-ai-blueprints/video-search-and-summarization/ui-test"><img src="https://agentmods.dev/badge/commands/nvidia-ai-blueprints/video-search-and-summarization/ui-test.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 12 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,242 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00012 $0.01242
Opus 5.5 $0.00005 $0.00497
Sonnet 5.5 $0.00002 $0.00248
Haiku 4.5 $0.00001 $0.00124

Measured 1mo ago against content hash 930001c43cda, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ui-test scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

services/vios/.claude/commands/ui-test.md · 111 lines

How it starts

The opening of the file, as written. The whole thing — 111 lines — stays where its author put it; the contents beside it link to each section on GitHub.

SPDX-License-Identifier: Apache-2.0

Licensed under the Apache License, Version 2.0 (the "License");

you may not use this file except in compliance with the License.

You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software

distributed under the License is distributed on an "AS IS" BASIS,

WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

See the License for the specific language governing permissions and

limitations under the License.

Ask the user for the full VIOS UI base URL including any path prefix (e.g. http://${HOST}:${PORT}/${PATH}) if not already provided. Store it as BASE_URL for use in all navigation steps below.

Then run the following test scenarios in order. Report pass/fail for each.


Scenario 1: Live Stream

  1. Navigate to BASE_URL/#/live-streams
  2. Open the "Select Sensors" dropdown
  3. Pick any 2 sensors from the list (use the first two available)
  4. Wait for stream cards to appear (up to 10 seconds) before checking console logs
  5. For each selected sensor, verify:
    • A stream card appears with the sensor name
    • Console logs show Stream status update received: PLAYING
    • Console logs show on First FrameReceived or FPS logs (e.g. <sensor> fps: N)
    • No WebRTC connection errors in console
  6. Take a screenshot as evidence

Pass criteria: Both sensors show PLAYING status and FPS > 0 Fail criteria: No sensors listed in dropdown, any sensor fails to reach PLAYING state, shows WebRTC connection errors, or video element never receives frames. Note: WebRTC Issue detected: {type: cpu} is a quality/degradation warning, not a connection failure — do not treat it as a FAIL.


Scenario 2: Recorded / Replay Stream

  1. Navigate to BASE_URL/#/recorded-streams
  2. Open the "Select Sensors" dropdown
  3. If the dropdown is empty (no sensors listed) — mark as FAIL immediately, do not proceed
  4. Pick any 2 sensors from the list (use the first two available)
  5. Wait up to 10 seconds for stream cards and recording timelines to appear
  6. For each selected sensor, verify:
    • A stream card appears with the sensor name
    • A recording timeline is visible (seek bar or timeline segment)
    • Console logs show Stream status update received: PLAYING
    • Console logs show on First FrameReceived or FPS logs (e.g. <sensor> fps: N)
    • No WebRTC connection errors in console
  7. Take a screenshot as evidence

Read the full file on GitHub · 111 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 111 lines · 12 tokens per session scan A 930001c43cda

Subscribe to this mod's changes

ui-test is a command published in the GitHub repository NVIDIA-AI-Blueprints/video-search-and-summarization (1,947 stars, last pushed yesterday), licensed Apache-2.0. It adds 12 tokens to every session and 1,242 once invoked, about $0.0000 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.