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 1mo 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.
- 1mo ago Changed · -1 lines · -34 tokens per session 458d074b45ff
- 2mo ago Changed a312f3f3c297
- 3mo 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 (9 stars, last pushed 3d 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.
dx-figma-extract compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| dx-figma-extracteasingthemes/dx-aem-flow | Skill | 9 | 3d ago | MIT | A | 50 | Claude Code |
| anti-slop-designsickn33/agentic-awesome-skills | Skill | 51k | today | MIT | A | 34 | Claude Code |
| chakra-ui-builderchakra-ui/chakra-ui | Skill | 41k | today | MIT | A | 214 | Claude Code, Codex |
| visual-ralphYeachan-Heo/oh-my-codex | Skill | 34k | yesterday | MIT | A | 52 | Codex |
| baseline-uivercel-labs/open-agents | Skill | 5.9k | 2d ago | MIT | A | 48 | Claude Code, Codex |
| prototype-webnexu-io/html-anything | Skill | 17k | 5d ago | Apache-2.0 | A | 24 | Claude Code, Codex |
| open-design-setupcompozy/compozy | Skill | 2.9k | today | MIT | A | 67 | Claude Code, Codex |