path-tracing-reverse

Reverse engineer ray-tracing binaries to reconstruct pixel-perfect rendering algorithms.

134|21|Updated Nov 12, 2025
One-click install
npx skills add https://github.com/letta-ai/skills --skill path-tracing-reverse
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: path-tracing-reverse
Source: https://github.com/letta-ai/skills/tree/main/ai/benchmarks/letta/terminal-bench-2/trajectory-only/path-tracing-reverse
Command: npx skills add https://github.com/letta-ai/skills --skill path-tracing-reverse

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill guides the reverse engineering of compiled binaries to reconstruct functionally identical source code, often with byte-for-byte parity, focusing on precise reconstruction over approximation.

Core Features & Use Cases

  • Phase-driven binary analysis (disassembly, constants, main function)
  • Constant extraction and cross-referencing with usage
  • Exact algorithm reconstruction and verification

Quick Start

Extract the main algorithm from a given binary and reproduce a source file that matches the original output exactly.

Frequently Asked Questions about path-tracing-reverse

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I reverse engineer a binary to recover the original source code?

Reverse engineering binaries involves disassembly, constant extraction, and algorithm reconstruction to reproduce functionally identical source code. This Skill uses phase-driven analysis to systematically extract main functions, floating-point constants, and rendering logic, then validates output pixel-for-pixel against reference images to ensure exact fidelity.

Can I extract exact constants and algorithms from compiled ELF binaries?

Yes. This Skill specializes in extracting floating-point constants, lighting parameters, and rendering algorithms from compiled binaries through cross-referencing constant usage patterns and systematic component isolation, enabling byte-for-byte parity with original implementations.

What's the best way to reconstruct ray-tracing or path-tracing rendering from a binary?

Binary analysis of ray/path-tracing implementations requires phase-driven disassembly to identify scene setup, algorithm flow, and constant values. This Skill reconstructs the complete rendering pipeline and validates reproduction through per-pixel comparison against reference outputs.

How do I validate that my reconstructed source matches the original binary output?

Per-pixel comparison against reference images confirms fidelity. This Skill performs exact output validation, checking pixel-perfect or near-pixel-perfect alignment between reconstructed source and original binary rendering to guarantee functional equivalence.

Do I need specialized tools to disassemble and analyze compiled binaries?

Disassembly and binary analysis require systematic approaches to constant extraction, function identification, and algorithm mapping. This Skill provides phase-driven methodology for ELF binaries, focusing on complete reconstruction rather than approximation for rendering and computational tasks.