1---2name: rdc-cli3description: Use when tasks involve RenderDoc capture files (.rdc), GPU frame analysis, draw call and pipeline inspection, shader debugging, render target export, or CI-style assertions over captures. Prefer this skill when the user mentions RenderDoc, rdc, .rdc files, draw calls, pixel history, shader replay, or GPU capture automation.4---56# rdc-cli Skill78## When to use9- Open or inspect RenderDoc capture files (`.rdc`).10- Capture a frame from a local Windows application with `rdc capture`.11- Analyze draw calls, events, render passes, resources, pipeline state, or bindings.12- Debug a pixel, vertex, or compute thread from a capture.13- Export textures, render targets, buffers, meshes, or thumbnails from a capture.14- Compare captures or run CI-style assertions such as `assert-pixel`, `assert-image`, `assert-count`, and `assert-state`.15- Use remote replay, split mode, or Android capture workflows.1617## Preconditions18- Confirm `rdc doctor` passes before assuming local replay works.19- On Windows, prefer quoted `C:\...` paths in user-facing commands.20- If the task needs local replay, ensure the `renderdoc` Python module is available.21- If the task needs remote replay, confirm whether the target machine runs `rdc serve` or `renderdoccmd remoteserver`.2223## Core workflow241. Open or create a capture session.25 - Existing capture: `rdc open "C:\path\to\frame.rdc"`26 - Fresh capture: `rdc capture "C:\path\to\app.exe" -o "C:\Temp\frame.rdc" --auto-open`272. Inspect frame shape.28 - Start with `rdc info`, `rdc stats`, `rdc passes`, `rdc events --limit 100`293. Narrow to an event or pass.30 - Use `rdc goto EID`, `rdc pipeline EID`, `rdc bindings EID`, `rdc usage RESOURCE_ID`314. Debug exact output.32 - Use `rdc pick-pixel X Y`, `rdc pixel X Y`, or `rdc debug pixel X Y`335. Export evidence.34 - Use `rdc rt EID -o out.png`, `rdc texture EID -o tex.png`, `rdc log`, `rdc snapshot`356. Close the session when done.36 - `rdc close`3738## Output modes39- Default TSV is best for human reading and shell pipelines.40- Use `--json` when the user wants structured output, automation, or downstream parsing.41- Use `-q` or `--no-header` when extracting identifiers for follow-up commands.4243## High-value commands44- Session: `open`, `capture`, `status`, `goto`, `close`45- Inspection: `info`, `stats`, `passes`, `pass`, `events`, `draws`, `resources`, `usage`46- Pipeline: `pipeline`, `bindings`, `shader`, `shaders`, `search`47- Pixel and debug: `pick-pixel`, `pixel`, `debug`48- Export: `rt`, `texture`, `buffer`, `mesh`, `thumbnail`, `snapshot`, `log`49- Assertions: `assert-clean`, `assert-count`, `assert-pixel`, `assert-state`, `assert-image`50- Remote: `serve`, `remote connect`, `remote list`, `remote capture`, `open --proxy`, `open --connect`5152## Windows command style53- Existing capture:54 - `rdc open "C:\Temp\frame.rdc"`55- Local frame capture:56 - `rdc capture "C:\Games\MyApp.exe" -o "C:\Temp\frame.rdc" --frame 100 --auto-open`57- Query events as JSON:58 - `rdc events --json`59- Export current render target:60 - `rdc rt 12345 -o "C:\Temp\rt.png"`6162## Remote and split mode63- Replay host:64 - `rdc serve --port 54321`65- Analyst machine:66 - `rdc remote connect "HOST:54321"`67 - `rdc open "C:\Temp\frame.rdc" --proxy HOST:54321`68- Thin client mode:69 - Server: `rdc open "C:\Temp\frame.rdc" --listen 0.0.0.0:54321`70 - Client: `rdc open --connect HOST:54321 --token TOKEN`7172## References73- For high-frequency commands and examples, read [references/quick-ref.md](references/quick-ref.md).74- For the full CLI surface, prefer `rdc --help` and `rdc <command> --help`.75