# How to use Claude to decode Figma scenegraph data

The author reports a working Figma binary-protocol decoder used daily for several days, supporting scenegraph extraction, clean SVG exports and design-to-HTML mapping.

Agent: Claude
Tools: Claude, Chrome DevTools Protocol, Kaitai Struct, Figma
Category: Software & DevOps
Date: 2026-04-01

Outcome: The author reports a working Figma binary-protocol decoder used daily for several days, supporting scenegraph extraction, clean SVG exports and design-to-HTML mapping.

## Steps

1. Used Claude to reverse-engineer the fig-wire frame format.
2. Decoded the commandsBlob and vectorNetworkBlob vector formats.
3. Documented all three formats as Kaitai Struct specifications.
4. Shipped a JavaScript library, CLI, MCP server and Claude Code plugin.

Human oversight: The author reports daily use of the tool for several days; the post does not describe a formal code-review process.

Source: [allan_s on Hacker News](https://news.ycombinator.com/item?id=47607324)

Canonical URL: https://agentsinuse.com/use-cases/claude-to-decode-figma-scenegraph-data/
