Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/easingthemes/dx-aem-flownpx agentmods add skills/easingthemes/dx-aem-flow/dx-figma-extractWrote 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.
[](https://agentmods.dev/skills/easingthemes/dx-aem-flow/dx-figma-extract)<a href="https://agentmods.dev/skills/easingthemes/dx-aem-flow/dx-figma-extract"><img src="https://agentmods.dev/badge/skills/easingthemes/dx-aem-flow/dx-figma-extract/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.
<a href="https://agentmods.dev/skills/easingthemes/dx-aem-flow/dx-figma-extract"><img src="https://agentmods.dev/badge/skills/easingthemes/dx-aem-flow/dx-figma-extract.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00050 | $0.03560 |
| Opus 5.5 | $0.00020 | $0.01424 |
| Sonnet 5.5 | $0.00010 | $0.00712 |
| Haiku 4.5 | $0.00005 | $0.00356 |
Grade A, and why
dx-figma-extract 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 2d ago.
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.
How it starts
The opening of the file, as written. The whole thing — 283 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You extract everything needed from a Figma design link — reference code, design tokens, screenshots — so that Figma is never consulted again in downstream steps.
Use ultrathink for node selection logic — matching Figma frame names to story context requires careful reasoning.
1. Parse Arguments & Locate Spec Directory
Parse $ARGUMENTS into two optional parts: an ADO work item ID and a Figma URL. They can appear in any order, or only one, or neither.
Detection rules:
- Figma URL: any token containing
figma.com/— set$FIGMA_URL_ARG - ADO ID: any token that is purely numeric — set
$ADO_ID_ARG - Remaining tokens: ignore (may be noise from slash-command parsing)
Locate spec directory using only the ADO ID (never the Figma URL):
SPEC_DIR=$(bash .ai/lib/dx-common.sh find-spec-dir $ADO_ID_ARG)
If no ADO ID was provided, find-spec-dir returns the most recent spec directory. If the script exits with error, ask the user for the work item ID.
2. Check Existing Output
- Check if
figma-extract.mdexists in the spec directory - If it exists and
raw-story.mdhasn't changed → printfigma-extract.md already up to date — skippingand STOP - If stale → continue (regenerate)
3. Find Figma URL
Priority order:
$FIGMA_URL_ARG(from arguments) — if provided, use it as the Figma URL$SPEC_DIR/raw-story.md— search for URLs matchingfigma.com/design/<fileKey>/<fileName>?node-id=<nodeId>$SPEC_DIR/dor-report.md(Design section) — fallback if raw-story.md has no Figma URL
If no Figma URL found anywhere: Print No Figma URL found in story or arguments — skipping and STOP.
URL Parsing:
- Extract
nodeIdfromnode-id=parameter, convert hyphens to colons (1-2→1:2) - Extract
fileKeyfrom the path segment after/design/(recorded in figma-extract.md for reference) - If URL format is
figma.com/design/:fileKey/branch/:branchKey/:fileName→ usebranchKeyas fileKey
User-provided URL override:
If $FIGMA_URL_ARG was provided AND raw-story.md also contains a Figma URL, record both in figma-extract.md and flag the override:
⚠️ Using user-provided Figma URL (differs from story URL)
Story URL: <url from raw-story.md>
User URL: <url from user>
If raw-story.md has no Figma URL, record the source as "User-provided URL (no story URL)".
What ships with it
5 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.
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.
- 2d ago Changed · -1 lines · -34 tokens per session 458d074b45ff
- 19d ago Changed a312f3f3c297
- 1mo ago First seen · 284 lines · 84 tokens per session scan A 156e87aedd31
dx-figma-extract is a skill published in the GitHub repository easingthemes/dx-aem-flow (6 stars, last pushed 2d ago), licensed MIT. It adds 50 tokens to every session and 3,560 once invoked, about $0.0002 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-09-03.
Other skills, from other repositories
anti-slop-design
Autonomous Principal Design Technologist. Cures vibe-coded software from AI frontend slop using curated token archetypes and 7-axis quality gating.
chakra-ui-builder
Build responsive, accessible UI components and layouts using Chakra UI v3, install or configure Chakra UI in new and existing projects, and design scalable themes using tokens, semantic tokens, recipes, and slot recipes. Use this skill whenever a user asks to build, create, or generate any UI component, page, form…
visual-ralph
Visual Ralph orchestration for frontend UI from generated references, static references, or live URL targets, using $ultragoal with built-in visual verdict and pixel-diff evidence until the implementation matches and leaves a reproducible design system.
frontend-ui-dark-ts
Build dark-themed React applications using Tailwind CSS with custom theming, glassmorphism effects, and Framer Motion animations. Use when creating dashboards, admin panels, or data-rich interfaces with a refined dark aesthetic.
frontend-visual-qa
Audits rendered UI and specific task/object-link handoffs; excludes ordinary source citations alone. Audits already-rendered UI and Markdown/Obsidian image layout — web app, deck/slide, dashboard, design-system, or Electron/native app — via real-browser/native-app journeys and a Playwright sweep. Use after UI…
prototype-web
A clickable, high-fidelity web product prototype with navigation, a hero section, feature cards, steps, social proof, and optional pricing. It is designed to resemble a finished landing page while remaining a prototype.