Skip to content
cccskills
FreePublished on GitHub

cli-anything-nsight-graphics

Operate NVIDIA Nsight Graphics from the command line to capture application frames and GPU activity. Summarize performance traces, analyze existing capture files through ngfx-replay, and check installed versions and compatibility before starting an investigation.

OriginalShow the original description

Windows-first CLI harness for Nsight Graphics capture, GPU Trace summary, and ngfx-replay analysis

See how to install

Good for

  • Check installed Nsight Graphics versions and compatibility
  • Capture frames from a graphics application
  • Summarize GPU activity and investigate performance bottlenecks
  • Analyze an existing .ngfx-capture file

Files included (1)

  • SKILL.md3.7 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

Nsight Graphics CLI Skill

Command-line orchestration of official NVIDIA Nsight Graphics activities.

Capabilities

  • Probe installed Nsight binaries and compatibility mode
  • Launch an application detached under Nsight
  • Attach Nsight to a running PID
  • Trigger Graphics Capture or OpenGL Frame Debugger capture
  • Trigger GPU Trace capture, auto-export, and summarize
  • Analyze existing .ngfx-capture files through ngfx-replay
  • Report clear compatibility diagnostics for .ngfx-gputrace inputs
  • Trigger Generate C++ Capture

Commands

doctor

cli-anything-nsight-graphics --json doctor info
cli-anything-nsight-graphics --json doctor versions
cli-anything-nsight-graphics --nsight-path "C:\Path\To\Nsight Graphics 2024.2\host\windows-desktop-nomad-x64" --json doctor info

launch

cli-anything-nsight-graphics launch detached --activity "Graphics Capture" --exe "C:\Path\To\App.exe"
cli-anything-nsight-graphics launch attach --activity "Graphics Capture" --pid 12345

frame capture

cli-anything-nsight-graphics --output-dir D:\captures frame capture ^
  --exe "C:\Path\To\App.exe" ^
  --wait-frames 10

GPU Trace

cli-anything-nsight-graphics --output-dir D:\traces gpu-trace capture ^
  --exe "C:\Path\To\App.exe" ^
  --start-after-ms 1000 ^
  --limit-to-frames 1 ^
  --auto-export ^
  --summarize

cli-anything-nsight-graphics gpu-trace summarize ^
  --input-dir D:\traces

Replay analysis

cli-anything-nsight-graphics --json replay analyze ^
  --capture-file D:\captures\frame.ngfx-capture ^
  --output-dir D:\analysis

Generate C++ Capture

cli-anything-nsight-graphics --output-dir D:\cpp cpp capture ^
  --exe "C:\Path\To\App.exe" ^
  --wait-seconds 5

Agent Notes

  • Prefer doctor info first to discover the available compatibility mode.
  • Use doctor versions to list detected installs when multiple Nsight Graphics versions exist.
  • Use --nsight-path to force a specific install directory or ngfx.exe.
  • Use --json for programmatic workflows.
  • Prefer gpu-trace capture --auto-export --summarize for one-step performance triage. The summary includes exported table inventory, metric inventory, frame-budget classification, workload classification, throughput ranking, bottleneck hints, and warnings for empty event/regime tables.
  • Use replay analyze when the input is an existing .ngfx-capture file. With no analysis switches it exports metadata, logs, captured log errors, and a replay performance report, then adds structured analysis.highlights / analysis.warnings.
  • ngfx-replay documents its input as a Graphics Capture file. .ngfx-gputrace inputs are accepted for clear diagnostics, but on Nsight Graphics 2026.1.0 they may report Invalid file header; use gpu-trace summarize for exported GPU Trace table analysis.
  • replay analyze uses official ngfx-replay metadata/log/screenshot/perf-report outputs; it is not a RenderDoc-style shader, pipeline, texture, or resource inspector.
  • Frame/GPU/C++ capture commands require a launch target through --exe or a preconfigured root-level --project.
  • If a global cli-anything-nsight-graphics command points at an old worktree, reinstall from nsight-graphics/agent-harness with python -m pip install -e ..

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

cli-anything

FreeSummary

Build and improve Python command interfaces for GUI applications with OpenClaw. The skill guides source analysis, command design, testing, and packaging, including interactive sessions and structured JSON output for agents.

  • Build a command interface for a GUI application
  • Add missing commands to an existing interface
  • Test workflows against the actual application
HKUDS/CLI-Anything54.6KUpdated Sep 22, 2026

cli-anything

FreeSummary

Use Reasonix to build or improve a Python command-line interface for existing software. The workflow covers source analysis, interactive commands, JSON output, tests, documentation, and installation checks using the software’s own backend where possible.

  • Build command-line access to a GUI application
  • Add missing features to an existing command-line interface
  • Test commands against the actual software backend
HKUDS/CLI-Anything54.6KUpdated Sep 22, 2026

cli-anything

FreeSummary

Use Codex to build Python command-line tools for applications with graphical interfaces. Analyze source code, add commands, test against the actual software, validate packaging and documentation, and discover tools already generated or installed.

  • Build a command-line tool from application source code
  • Extend an existing tool with more commands
  • Test behavior against the actual application
HKUDS/CLI-Anything54.6KUpdated Sep 22, 2026

cli-anything-3mf

FreeSummary

Inspect and edit 3MF files for 3D printing. Detect cylindrical holes, change their diameters, repair mesh issues, and compare files while preserving BambuStudio and PrusaSlicer metadata when repacking the edited file.

  • Detect cylindrical holes and check their diameters
  • Resize selected holes to a target diameter
  • Repair degenerate faces and duplicate vertices
HKUDS/CLI-Anything54.6KUpdated Sep 22, 2026

Manage AdGuard Home network filtering from the command line. Update blocklists, register devices, configure DNS rules that map names to addresses, and inspect query logs and statistics through the AdGuard Home REST API.

  • Adding and refreshing ad-blocking filter lists
  • Mapping local domain names to IP addresses
  • Registering devices and managing fixed address assignments
HKUDS/CLI-Anything54.6KUpdated Sep 22, 2026

Generate slides, documents, websites, and diagrams from natural language prompts through AnyGen OpenAPI. Manage reference uploads, check generation progress, and download finished files using commands with structured output for AI agents.

  • Generate slides or documents from written instructions
  • Upload reference files for a generation task
  • Check generation progress and download finished files
HKUDS/CLI-Anything54.6KUpdated Sep 22, 2026

See all skills by HKUDS

Report a problem with this skill