cli-anything-nsight-graphics
하는 일
이 스킬은 AI 에이전트가 NVIDIA Nsight Graphics 도구를 실행해 게임이나 그래픽 앱의 프레임과 GPU 시간을 캡처하도록 합니다. 성능 데이터가 필요한 게임 개발자와 그래픽 엔지니어에게 맞습니다.
사용하는 경우
- ✓실행 중인 게임에서 프레임 한 장을 캡처해 어떻게 그려졌는지 보고 싶을 때.
- ✓그래픽 앱에서 느린 부분을 찾기 위해 GPU 추적 요약이 필요할 때.
- ✓이미 있는 캡처 파일을 분석하고 싶을 때.
스킬 링크
https://github.com/HKUDS/CLI-Anything/blob/main/nsight-graphics/agent-harness/cli_anything/nsight_graphics/skills/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“제 게임에서 프레임 몇 장을 캡처해서 어떤 단계가 가장 오래 걸리는지 보여 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
에이전트가 앱과 함께 Nsight Graphics를 실행하거나 실행 중인 앱에 연결해 캡처를 시작하고 결과를 저장합니다. 기록된 데이터를 요약할 수도 있습니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
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-capturefiles throughngfx-replay - Report clear compatibility diagnostics for
.ngfx-gputraceinputs - 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 infofirst to discover the available compatibility mode. - Use
doctor versionsto list detected installs when multiple Nsight Graphics versions exist. - Use
--nsight-pathto force a specific install directory orngfx.exe. - Use
--jsonfor programmatic workflows. - Prefer
gpu-trace capture --auto-export --summarizefor 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 analyzewhen the input is an existing.ngfx-capturefile. With no analysis switches it exports metadata, logs, captured log errors, and a replay performance report, then adds structuredanalysis.highlights/analysis.warnings. ngfx-replaydocuments its input as a Graphics Capture file..ngfx-gputraceinputs are accepted for clear diagnostics, but on Nsight Graphics 2026.1.0 they may reportInvalid file header; usegpu-trace summarizefor exported GPU Trace table analysis.replay analyzeuses officialngfx-replaymetadata/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
--exeor a preconfigured root-level--project. - If a global
cli-anything-nsight-graphicscommand points at an old worktree, reinstall fromnsight-graphics/agent-harnesswithpython -m pip install -e ..
자주 묻는 질문
Mac이나 Linux에서도 되나요?
이 스킬은 Windows를 우선으로 합니다. NVIDIA 그래픽 카드를 쓰는 Windows 컴퓨터에서 가장 잘 맞습니다.
Nsight Graphics를 설치해야 하나요?
네. 스킬이 설치된 Nsight Graphics 버전을 찾아 실행 전에 확인합니다.
이미 실행 중인 앱을 캡처할 수 있나요?
네. 프로세스 ID를 이용해 실행 중인 앱에 Nsight를 연결할 수 있습니다.
상세 정보
작성자의 원본 설명
Windows-first CLI harness for Nsight Graphics capture, GPU Trace summary, and ngfx-replay analysis
repo: HKUDS/CLI-Anything
인기도
- GitHub 스타
- 58k
- 순위
- #3230
- 라이선스
- Apache-2.0
- 업데이트
- 2026. 9. 21.
댓글
- …
이 저장소의 다른 스킬
cli-anything-3mf
58k에이전트가 3D 프린팅 파일을 검사하고 고치도록 돕습니다. 둥근 구멍 찾기, 크기 조정, 메시 수리, 두 파일 비교가 가능합니다.
cli-anything-qgis
58k에이전트가 터미널에서 QGIS 지도 프로젝트를 열고 편집하고 내보내도록 돕습니다. 레이어, 피처, 인쇄 레이아웃, 처리 도구를 포함합니다.
cli-anything-adguardhome
58k에이전트가 네트워크 전체의 광고 차단기인 AdGuard Home을 관리하도록 돕습니다. 필터, DNS 재작성, 클라이언트, 쿼리 로그를 포함합니다.
cli-anything-anygen
58k에이전트가 AnyGen 서비스를 이용해 글로 된 프롬프트로 슬라이드, 문서, 웹사이트, 다이어그램을 만들도록 돕습니다.