One .fig file is the whole handoff.

No Dev Mode seat. No API call cap. No desktop app on the cloud box. Give your agent the path to a saved design.fig and it plans the slicing, builds the screen and exports the images on its own.

Plugins for Claude Code, Codex and Pi. Also Cursor, OpenCode, OMP and any MCP client.

An illustrative frame. The tags show what figlens reports for each layer.

Built for agents that Figma access keeps metering.

No Dev Mode seat
You have the design but no paid seat for Figma's MCP. figlens reads the saved file directly.
MCP limits
Call limits stop an agent before it finishes a whole design, even with the desktop app open. Reading a local file has no budget.
Agents in the cloud
A cloud host cannot run the desktop app, and the REST API caps calls per day. Hand the agent a .fig path and it slices, plans and exports by itself.
Designers
Your part ends at File > Save local copy. One file next to the code is the whole handoff.

Every layer comes back as values the agent can build from.

Point at a row to find its layer. To see real output, run figlens on the public first-success example.

  • LayoutCard @16,16 288×168 r=14
  • Text"Ship the screen" 22/600 #16151a
  • ComponentsButton instance 84×28 r=7 fill #5b47b8
  • IconsCheck → check.svg
  • Imageslogo.webp, original bytes, shown 96×32
  • Variablesdesign tokens with their modes, exportable as DTCG
  • Reference renderreferences/screen.png, to compare the build against

From Save local copy to a checked screen.

  1. The designer saves a local copy.

    In Figma, File > Save local copy. Commit design.fig, or put it where your cloud agent can read it.

  2. The agent finds the frame.

    By name or by visible text. No node ids to copy from a browser.

    figlens find design.fig "First success" --type FRAME
  3. One command lifts the bundle.

    Structure, text, assets, a reference render and a manifest, in one zip.

    figlens bundle design.fig 0:1 frame.zip
  4. It builds, then checks its own work.

    A screenshot of the running page is compared with the frame. The largest differing regions come back with the layers under them.

    figlens compare-image design.fig 0:1 screenshot.png

Measured against Figma's own exports.

826 production frames and five Community files, compared with Figma's JSON, PNG and SVG exports on 2026-10-22.

  • Frames with identical node structure, names, visibility, bounds and text771 of 826
  • Original image fills, byte-identical2,608 of 2,608
  • SVG assets within the pixel threshold5,014 of 5,197
  • Community frame bundles with no missing assets306 of 306

In a task-list case study, all six figlens-based attempts kept all 19 visible text occurrences as real DOM text and all four icons, with Docker networking disabled. Method and limits.

Install it where your agent lives.

Each setup gives the agent the figlens tools and the same built-in guidance. Restart the host, then check the tools are listed.

claude plugin marketplace add runkids/figlens
claude plugin install figlens@figlens

Command line

Pick one. The binary is self-contained, with no Rust or Docker needed.

  • Homebrew
    brew install runkids/tap/figlens
  • macOS and Linux script
    curl -fsSL https://raw.githubusercontent.com/runkids/figlens/main/scripts/install.sh | sh
  • Windows PowerShell
    irm https://raw.githubusercontent.com/runkids/figlens/main/scripts/install.ps1 | iex
  • Try without installing
    npx @runkids/figlens --help
More hosts: Cursor, OpenCode, OMP, Antigravity, Kimi Code, skillshare, any MCP client
  • Cursor
    git clone --depth 1 https://github.com/runkids/figlens ~/.cursor/plugins/local/figlens

    Then reload the window.

  • OpenCode V2
    opencode plugin add @runkids/figlens

    Restart, then run /figlens help.

  • OMP
    omp plugin install @runkids/figlens

    Restart, then run /figlens help.

  • Antigravity
    agy plugin install https://github.com/runkids/figlens/tree/main
  • Kimi Code
    /plugins install https://github.com/runkids/figlens/tree/main

    Run it in a session, then /reload.

  • skillshare
    skillshare plugin add https://github.com/runkids/figlens.git --target claude --target codex --target cursor -g

    Installs the same plugin on several hosts at once.

  • Any MCP client
    { "mcpServers": { "figlens": { "command": "npx", "args": ["-y", "@runkids/figlens", "mcp"] } } }

    Node.js 18+. Without Node.js, install the CLI and use "command": "figlens", "args": ["mcp"].