hkuds avatar

Cli Anything Nsight Graphics

If you're profiling NVIDIA graphics workloads and need to script Nsight Graphics from the command line, this is the harness you want. It wraps the official Nsight binaries so you can trigger frame captures, GPU traces, and C++ replay generation without clicking through the GUI. The standout feature is the one-shot GPU trace workflow with automatic export and summarization that gives you bottleneck hints and workload classification in JSON. It also includes a doctor command to probe installed versions and compatibility modes, which matters when you have multiple Nsight installations. Windows first, as you'd expect for NVIDIA tooling, and it properly handles the distinction between capture file formats when ngfx-replay chokes on the wrong input type.

skills.sh installs
448
GitHub stars
58.5K
last updated
Aug 21, 2026

Install

$ npx -y skills add hkuds/cli-anything --skill cli-anything-nsight-graphics --agent claude-code

Installs into .claude/skills of the current project.

Files

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

Sponsors

Details

Repository
github.com/hkuds/cli-anything
Category
CLI & Terminal
First seen
Jun 3, 2026

More from hkuds/cli-anything

All 51
1steipete avatarcreate-clisteipete/agent-scriptsCLI UX/spec: args, flags, help, output, errors, config, dry-run.437skills.sh installs
2jackwener avatartwitter-clijackwener/twitter-clitwitter cli405skills.sh installs
3mims-harvard avatartooluniverse-crispr-screen-analysismims-harvard/tooluniverseAnalyze CRISPR-Cas9 genetic screens — MAGeCK gene-level scores, sgRNA count QC, replicate correlation, hit prioritization, and pathway GSEA on screen output. Us375skills.sh installs
4jackwener avatarboss-clijackwener/boss-cliUse boss-cli for ALL BOSS 直聘 operations — searching jobs, viewing recommendations, managing applications, chatting with recruiters, and batch greeting. Invoke w362skills.sh installs
5jpoehnelt avataragent-dx-cli-scalejpoehnelt/skillsagent dx cli scale358skills.sh installs
6riba2534 avatarfeishu-cli-driveriba2534/feishu-cli飞书云盘增强命令组。分块上传大文件(≥20MB 自动 3 段式)、流式下载、 文档异步导出(markdown 快捷路径 / sheet+bitable csv / sub-id / 有界轮询 + resume)、 文档异步导入、文件/文件夹移动(folder 自动轮询)、富文本评论(text/mention_user/352skills.sh installs