Documentation
rdc-cli is a Unix-friendly command-line interface forRenderDoc GPU captures. It provides pipe-friendly TSV output, JSON mode, and 77 commands for exploring.rdc capture files — designed for CI pipelines and AI agents.
Quick Start
pipx install rdc-cli
rdc open capture.rdc
rdc info
rdc draws
rdc pipeline 5 --json
rdc closeKey Concepts
Two-Layer Architecture
rdc-cli uses a daemon architecture: rdc open starts a background daemon that loads the capture and holds it open. Subsequent commands (rdc draws, rdc pipeline, etc.) send JSON-RPC requests to the daemon over TCP. This means the capture is loaded only once, and queries are fast.
Output Modes
By default, commands output TSV (tab-separated values) — ideal for Unix pipes like grep, awk, cut, andsort. Add --json to any command for structured JSON output, perfect for jq, CI assertions, or AI agent consumption.
VFS Path System
rdc-cli exposes capture data through a virtual filesystem. You can browse it with rdc ls, rdc cat, and rdc tree. Every piece of data has a stable path like/draws/142/shader/ps.
Sections
- Installation — PyPI, AUR, from source, renderdoc setup
- Usage Patterns — common workflows and examples
- Command Reference — all 77 commands
- VFS Paths — virtual filesystem namespace
- AI Agent Integration — Claude Code skill, agent-friendly design
- Why This Design — daemon architecture, TSV-first output, VFS paths, and key trade-offs
- Examples — real-world workflow recipes