Skills

From HKUDS/CLI-Anything · View interactive version

Skills is an AI agent skill from the GitHub repository HKUDS/CLI-Anything. Windows-first CLI harness for Nsight Graphics capture, GPU Trace summary, and ngfx-replay analysis

How to use this skill

Skill file

Nsight Graphics CLI Skill

Command-line orchestration of official NVIDIA Nsight Graphics activities.

Capabilities

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

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.

no analysis switches it exports metadata, logs, captured log errors, and a

replay performance report, then adds structured analysis.highlights /

analysis.warnings.

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.

outputs; it is not a RenderDoc-style shader, pipeline, texture, or resource inspector.

preconfigured root-level --project.

reinstall from nsight-graphics/agent-harness with python -m pip install -e ..

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.