Communitygithub.com

cli-anything-nsight-graphics

Windows-basierte CLI-Schnittstelle für Nsight Graphics Capture, GPU Trace-Zusammenfassung und ngfx-replay-Analyse

Was ist cli-anything-nsight-graphics?

Diese Fähigkeit orchestriert offizielle NVIDIA Nsight Graphics Aktivitäten über die Kommandozeile und ist primär für Windows ausgelegt. Sie ermöglicht das Erkennen installierter Nsight-Binärdateien, das Starten einer App im Nsight-Kontext, das Anhängen an einen laufenden Prozess sowie das Aufnehmen von Graphics Captures und GPU Traces. Für GPU Traces bietet sie ein vereinfachtes Workflow mit automatischem Export und Zusammenfassung, die Metriken, Framebudget, Auslastung und Engpässe analysiert. Die Analyse bestehender `.ngfx-capture`-Dateien erfolgt über `ngfx-replay` und gibt Metadaten, Logs, Screenshots und Performance-Reports aus. Die Fähigkeit wird über ein Skript `cli-anything-nsight-graphics` bedient, unterstützt JSON-Ausgabe und erkennt mehrere installierte Nsight-Versionen automatisch oder erzwingt einen Pfad per `--nsight-path`.

Funktioniert mit~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/HKUDS/CLI-Anything/tree/main/skills/cli-anything-nsight-graphics

In Ihrer bevorzugten KI fragen

Öffnet einen neuen Chat, in dem dieser Agent-Skill bereits geladen ist.

Dokumentation

Nsight Graphics CLI Skill

Kommandozeilen-Orchestrierung offizieller NVIDIA Nsight Graphics Aktivitäten.

Fähigkeiten

  • Erkennen installierter Nsight-Binärdateien und des Kompatibilitätsmodus
  • Starten einer Anwendung im abgetrennten Nsight-Modus
  • Anhängen von Nsight an eine laufende PID
  • Auslösen von Graphics Capture oder OpenGL Frame Debugger Capture
  • Auslösen von GPU Trace Capture, automatischem Export und Zusammenfassung
  • Analysieren vorhandener .ngfx-capture-Dateien mit ngfx-replay
  • Melden klarer Kompatibilitätsdiagnosen für .ngfx-gputrace-Eingaben
  • Auslösen von Generate C++ Capture

Befehle

doctor

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

launch

cli-anything-nsight-graphics launch detached --activity "Graphics Capture" --exe "C:\Pfad\Zu\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:\Pfad\Zu\App.exe" ^
  --wait-frames 10

GPU Trace

cli-anything-nsight-graphics --output-dir D:\traces gpu-trace capture ^
  --exe "C:\Pfad\Zu\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-Analyse

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:\Pfad\Zu\App.exe" ^
  --wait-seconds 5

Agent-Hinweise

  • Bevorzuge zuerst doctor info, um den verfügbaren Kompatibilitätsmodus zu finden.
  • Verwende doctor versions, um erkannte Installationen aufzulisten, wenn mehrere Nsight Graphics Versionen existieren.
  • Verwende --nsight-path, um ein bestimmtes Installationsverzeichnis oder ngfx.exe zu erzwingen.
  • Verwende --json für programmatische Workflows.
  • Bevorzuge gpu-trace capture --auto-export --summarize für ein einstufiges Performance-Triage. Die Zusammenfassung enthält exportierte Tabelleninventur, Metrikinventur, Framebudget-Klassifizierung, Auslastungsklassifizierung, Durchsatz-Ranking, Engpasshinweise und Warnungen für leere Ereignis-/Regimetabellen.
  • Verwende replay analyze, wenn die Eingabe eine vorhandene .ngfx-capture-Datei ist. Ohne Analyses­chalter exportiert es Metadaten, Logs, erfasste Log-Fehler und einen Replay-Performance-Bericht und fügt dann strukturierte analysis.highlights / analysis.warnings hinzu.
  • ngfx-replay dokumentiert seine Eingabe als Graphics Capture-Datei. .ngfx-gputrace-Eingaben werden für klare Diagnosen akzeptiert, können aber auf Nsight Graphics 2026.1.0 Invalid file header melden; verwende gpu-trace summarize für exportierte GPU Trace-Tabellenanalyse.
  • replay analyze verwendet offizielle ngfx-replay-Metadaten-/Log-/Screenshot-/Perf-Bericht-Ausgaben; es ist kein RenderDoc-artiger Shader-, Pipeline-, Textur- oder Ressourceninspektor.
  • Frame-/GPU-/C++-Capture-Befehle erfordern ein Startziel über --exe oder ein vorkonfiguriertes root-level --project.
  • Wenn ein globales cli-anything-nsight-graphics-Kommando auf ein altes Worktree verweist, installiere es neu von nsight-graphics/agent-harness mit python -m pip install -e ..

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

cli-anything-adguardhome

>-

cli-anything-anygen

>-

cli-anything-audacity

>-

cli-anything-blender

>-

cli-anything-browser

Browser automation CLI using DOMShell MCP server. Maps Chrome

cli-anything-calibre

>-

cli-anything-ccswitch

CLI interface for CC Switch — manage AI coding tool configurations from the terminal

cli-anything-chromadb

>-

cli-anything-cloudanalyzer

Command-line interface for CloudAnalyzer — Agent-friendly harness for CloudAnalyzer, a QA platform for mapping, localization, and perception outputs. Supports 27 commands across 8 groups: point cloud evaluation, trajectory evaluation, ground segmentation QA, config-driven quality gates, baseline evolution, processing, visualization, and interactive REPL.

cli-anything-cloudcompare

Command-line interface for CloudCompare — Agent-friendly harness for CloudCompare, the open-source 3D point cloud and mesh processing software. Supports 41 commands across 9 groups: project management, session control, point cloud operations (subsample, filter, segment, analyze), mesh operations, distance computation (C2C, C2M), transformations (ICP, matrix), export (LAS/LAZ/PLY/PCD/OBJ/STL/E57), and interactive REPL.

cli-anything-comfyui

>-

cli-anything-dify-workflow

Wrapper for the Dify workflow DSL CLI. Create, inspect, validate, edit, and export Dify workflow files through a CLI-Anything harness.

cli-anything-drawio

>-

cli-anything-eez-studio

Use EEZ Studio from the command line: inspect and modify native .eez-project files, edit LVGL screens/widgets, manage SCPI commands, and invoke the real EEZ Studio backend for LVGL builds.

cli-anything-eth2-quickstart

>-

cli-anything-exa

>-

cli-anything-firefly-iii

Firefly III CLI - Personal finance management via CLI-Anything

cli-anything-freecad

Complete CLI harness for FreeCAD parametric 3D CAD modeler (258 commands). Covers ALL workbenches: Part (29 primitives + boolean + mirror + loft + sweep), Sketcher (26 cmds: geometry + constraints + editing), PartDesign (38 cmds: pad/pocket/groove/fillet/chamfer/patterns/hole/datum), Assembly (11 cmds), Mesh (16 cmds), TechDraw (15 cmds: views + dimensions + PDF/SVG), Draft (33 cmds: 2D shapes + arrays + transforms), FEM (12 cmds), CAM/CNC (10 cmds), Surface (6 cmds), Spreadsheet (7 cmds), Import (13 formats), Export (17 formats), Measure (12 cmds), Materials (21 presets). Headless FreeCAD export to STEP/IGES/STL/OBJ/DXF/PDF/glTF/3MF.

cli-anything-gimp

>-

cli-anything-godot

>-

Verwandte Skills