본문으로 건너뛰기
Skillpedia
일반 코딩58k · #3230

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가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/HKUDS/CLI-Anything/blob/main/nsight-graphics/agent-harness/cli_anything/nsight_graphics/skills/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

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-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 ..
자주 묻는 질문

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.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬