figma

figma is a skill for Claude Code, Codex from cafe3310/public-agent-skills. It costs 66 tokens per session (1,455 once invoked), scanned A, original, Apache-2.0.

A Figma import workflow for HyperFrames, a tool that turns web-based designs into videos. It brings in design assets, brand settings, components, and frame layouts for animated scenes.

In plain words
What is it for?
Use it when you receive a Figma link or need to use a Figma frame, logo, or brand style in a HyperFrames video.
Why use it?
It avoids rebuilding a Figma design by hand and keeps imported files local so later renders do not need to contact Figma.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when you receive a Figma link or need to use a Figma frame, logo, or brand style in a HyperFrames video.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/cafe3310/public-agent-skills/figma
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 cafe3310/public-agent-skills --skill figma
Clone the repo
git clone --depth 1 https://github.com/cafe3310/public-agent-skills

Made for: Claude Code, Codex.

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/cafe3310/public-agent-skills/figma/github.svg)](https://agentmods.dev/skills/cafe3310/public-agent-skills/figma)
Your own site
<a href="https://agentmods.dev/skills/cafe3310/public-agent-skills/figma"><img src="https://agentmods.dev/badge/skills/cafe3310/public-agent-skills/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/cafe3310/public-agent-skills/figma"><img src="https://agentmods.dev/badge/skills/cafe3310/public-agent-skills/figma.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 66 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,455 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.
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.00066 $0.01455
Opus 5.5 $0.00026 $0.00582
Sonnet 5.5 $0.00013 $0.00291
Haiku 4.5 $0.00007 $0.00145

Measured 25d ago against content hash 86ba425b1f00, 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 25d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (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.

skills/hyperframes/subskills/figma/SKILL.md · 56 lines

How it starts

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

Plugin installs: Before setup or freshness commands, follow plugin execution rules when this skill is inside a HyperFrames plugin.

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 · 56 lines

Files

What ships with it

1 file 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. 25d ago First seen · 56 lines · 66 tokens per session scan A 86ba425b1f00

Subscribe to this mod's changes

figma is a skill published in the GitHub repository cafe3310/public-agent-skills (260 stars, last pushed 14d ago), licensed Apache-2.0. It adds 66 tokens to every session and 1,455 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-11-05.

Related

figma compared with skills from other repositories

figma next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
figmacafe3310/public-agent-skillsSkill26014d agoApache-2.0A66Claude Code, Codex
google-fonts-curatorflc1125/skillsSkill39todayMITA61Claude Code, Codex
preview-svgveelenga/preview-skillsSkill91mo agoMITA107Claude Code
android-accessibilityGuillemRoca/agent-skills-androidSkill71mo agoMITA35Claude Code
android-ui-engineeringGuillemRoca/agent-skills-androidSkill71mo agoMITA52Claude Code
design-taste-frontendfirstsun-dev/skillsSkill55d agononeA61Claude Code, Codex
imagegen-frontend-mobilefirstsun-dev/skillsSkill55d agononeA126Claude Code, Codex