figma

figma is a skill for Claude Code from heygen-com/hyperframes. It costs 72 tokens per session (1,560 once invoked), scanned A, original, Apache-2.0.

A workflow for bringing designs from Figma, a collaborative design tool, into HyperFrames, a framework for rendering video from HTML. It imports visual assets, design settings, components, and selected motion or shader data.

In plain words
What is it for?
Use it to import Figma assets and brand settings, reconstruct components as HTML, and build motion-based video scenes in HyperFrames.
Why use it?
It gives developers a defined way to turn a Figma design into a repeatable video composition while keeping imported assets available locally.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the hyperframes plugin — 22 skills, 1 hook, 1 MCP server shipped together

Good fit Use it to import Figma assets and brand settings, reconstruct components as HTML, and build motion-based video scenes in HyperFrames.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/heygen-com/hyperframes/figma
About the project

HyperFrames is an open-source framework that turns HTML, CSS, media, and timed animations into deterministic MP4 videos. It is used locally, by coding agents, and in hosted authoring workflows to create rendered videos from web-based designs. Its catalogue add-ons provide skills, agents, instructions, hooks, settings, and a plugin for agent-driven video production.

heygen-com/hyperframes · 92,730 stars · on GitHub · hyperframes.studio

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add heygen-com/hyperframes --skill figma
Clone the repo
git clone --depth 1 https://github.com/heygen-com/hyperframes

Made for: Claude Code.

Or install hyperframes, the plugin that ships this one along with the rest of its 22 skills, 1 hook, 1 MCP server.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for figma

README.md
[![agentmods](https://agentmods.dev/badge/skills/heygen-com/hyperframes/figma/github.svg)](https://agentmods.dev/skills/heygen-com/hyperframes/figma)
Your own site
<a href="https://agentmods.dev/skills/heygen-com/hyperframes/figma"><img src="https://agentmods.dev/badge/skills/heygen-com/hyperframes/figma/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for figma

Your own site · 80×15
<a href="https://agentmods.dev/skills/heygen-com/hyperframes/figma"><img src="https://agentmods.dev/badge/skills/heygen-com/hyperframes/figma.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 72 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,560 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 18 Nov 2026
  • Snyk warn 23 Nov 2026
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 5 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Privilege Escalation · line 26
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • medium MCP Rug Pull · line 6
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 89
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 98
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium Excessive Agency · line 36
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00072 $0.01560
Opus 5.5 $0.00029 $0.00624
Sonnet 5.5 $0.00014 $0.00312
Haiku 4.5 $0.00007 $0.00156

Measured 6d ago against content hash af8c3893a1dc, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

figma scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

The scan reads SKILL.md. This mod also ships 3 executable files (scripts/lib/literal-media-input.mjs, scripts/lib/windows-exe-search.mjs, scripts/verify-motion.mjs), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

  • figma — 95% identical, 147 lines differ
skills/figma/SKILL.md · 58 lines

How it starts

The opening of the file, as written. The whole thing — 58 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Running the CLI: every npx hyperframes <command> here, the beacon included, means node <SKILLS>/hyperframes/scripts/plugin-cli.mjs <command> run in the project, where <SKILLS> holds this skill's folder (rules).

Usage note: before the first one, tell the person once: "I'll send HyperFrames a usage note (linked to your account if signed in); say no to skip." Unless they say no, run npx hyperframes events --skill=figma once as this skill starts.

Figma → HyperFrames

Every import happens at build time and freezes a local file with its source recorded under .media/, so renders never call Figma and re-running a command re-imports only what changed. Assets, tokens and components go over REST with a token; motion and shader data need a Figma connector, or a native export from the person.

Access

FIGMA_TOKEN in the shell or the project .env. Check it exists before the first command; if not, tell the person how to make one and stop: figma.com → Settings → Security → Personal access tokens, read-only File content and File metadata, plus Library content for tokens on non-Enterprise plans. They set it themselves; never ask them to paste it into the chat.

Error Meaning
BAD_TOKEN (401) Expired or revoked: make a new one
FORBIDDEN (403) The message names the missing scope, or the file isn't visible to the account
REQUIRES_ENTERPRISE (403, variables) Not a failure: the published-styles fallback already ran
RATE_LIMITED (429) Already retried with backoff; wait a minute or import fewer nodes per call

Commands

  • A layer, logo or image: npx hyperframes figma asset '<url or fileKey:nodeId>' [more refs] --format svg|png --scale 2 --description "<what it is>" [--entity "<brand mark>"]. SVG for vectors and logos, PNG at 2x for raster. Several nodes of one file in one call render in a single request; --entity lets /media-use find a brand mark later.
  • Brand colours and type: npx hyperframes figma tokens <fileKey>. Run it before component and paste the printed entries into data-composition-variables. Without Enterprise it falls back to published styles. A connector can supply variables there instead: cache its raw response in .media/figma-cache/ and write the bindings to .media/figma-bindings.jsonl ({kind:"binding", figmaId, sourceFileKey, compositionVariableId:"figma:<name>", version}).
  • A frame as editable HTML at exact geometry: npx hyperframes figma component '<url or fileKey:nodeId>', packaged under compositions/components/<name>/. A fill bound to an imported token comes out as var(--slug, #literal), so one variable re-brands every import; an unknown token stays a literal marked data-figma-unresolved: import that library's tokens and re-import. Ask once which file a library is; never match by hex.
  • Check hero components against Figma's pixels (figma asset <same node> --format png). Text drift is the usual cause; report drift you can't fix instead of hand-tweaking the import.

Read the full file on GitHub · 58 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago Changed af8c3893a1dc
  2. 7d ago Changed · +6 tokens per session 1217296bcba3
  3. 14d ago Changed 11d3bc878c93
  4. 25d ago Changed · +2 lines 0c5b70c4b2b6
  5. 1mo ago Changed · -79 lines · -23 tokens per session d9537758a88b
  6. 1mo ago Changed 7de64558985c
  7. 1mo ago Changed d659d026ace8
  8. 2mo ago Changed · +2 lines 4573c828057f
  9. 3mo ago First seen · 133 lines · 89 tokens per session scan A dea209625506

Subscribe to this mod's changes

figma is a skill published in the GitHub repository heygen-com/hyperframes (92,730 stars, last pushed today), licensed Apache-2.0. It adds 72 tokens to every session and 1,560 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

figma compared with skills from other repositories

figma next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
figmaheygen-com/hyperframesSkill93ktodayApache-2.0A72Claude Code
validate-motionMasterPlayspots/motionspecSkill25d agoMITA52Claude Code, Codex
audit-motionMasterPlayspots/motionspecSkill25d agoMITA56Claude Code, Codex
motionMasterPlayspots/motionspecSkill25d agoMITA57Claude Code
motiscope-analyzeKumarSashank/motiscopeSkill1324mo agoMITB103Claude Code
frame-data-chart-nytnexu-io/html-videoSkill5.0k13d agoApache-2.0A30Claude Code, Codex
motiscope-rebuild-siteKumarSashank/motiscopeSkill1324mo agoMITB107Claude Code