Live survey315 models · 14 providers · 23,592 auditsAudited implement · SAFE →What changedHow we verifyllms.txt

Agent skill · Audited from source

xd-extract

skill · jeanpfs/xd-extractMIT licenceAudited 14 Oct 2026 · source 6d8958c9bc05

★ 0pushed today
✓SAFEGrade B · 89/100 · 14 Oct 2026 · 6d8958c
0repo stars · whole jeanpfs/xd-extract

Is it safe? Yes — SAFE, grade B (89/100). We read this skill's source at commit 6d8958c9bc05 and observed filesystem, network and shell access and no hard-coded secrets. What it does: Extract SVG vector art (icons, illustrations, logos, whole screens) from an Adobe XD share link (xd.adobe.com/view/...) or a .xd file, then validate it. Use when the user sends an XD link or file and wants SVG, says the…

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “xd-extract (jeanpfs/xd-extract)”. Retrieved 14 Oct 2026. https://modelsatlas.com/skills/jeanpfs/xd-extract

Trust audit

Audit 0.4.1 · source read 14 Oct 2026

Trust score89/100✓SAFE B
0 critical0 high0 medium5 low0 info

SAFE means nothing in the source contradicts what the skill says it does. Grade B is shared by 17,406 of 18,389 audited skills.

What the source does

  • FilesystemDeclared1 observation
  • NetworkDeclared1 observation
  • ShellDeclared1 observation
  • DependenciesPinnedNothing floats
  • SecretsNone foundNo keys in source

Five audit layers

LayerWhat we checkResultFindings
L0 ProvenanceRepo owner, licence, archive status, activityPASS0
L1 Static sourceSecrets, path traversal, supply chain, hidden codePASS5
L2 InstructionsPrompt injection, authority framing, hidden directivesPASS0
L3 InventoryThe files and declarations match the sourcePASS0
L4 SandboxRun in isolation and watch behaviourSKIPPED why0

Gates applied: no behavioural pass.

Findings (5)

LOWFilesystem / pathfs.traversal · packages/cli/test/golden.test.ts:14
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
const ROOT = join(import.meta.dirname, '../../../fixtures/public');
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · packages/cli/tsup.config.ts:9
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
tsconfig: '../../tsconfig.json',
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · packages/sources/test/live/sample-prototype.live.test.ts:3
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import { loadShareLink } from '../../src';
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · packages/sources/test/recorded.test.ts:5
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
const dir = join(import.meta.dirname, '../../../fixtures/recorded/sample-prototype');
Why
No further detail recorded for this rule.
Fix
—
LOWObfuscation / stealthobf.decode_call · packages/core/src/image.ts:18
F-07 Obfuscation / stealthCWE-506 · CWE-94Layer L1
head = Uint8Array.from(atob(b64.slice(0, 24)), (c) => c.charCodeAt(0));
Why
No further detail recorded for this rule.
Fix
—

Audit 0.4.1 · source sha 6d8958c9bc05 · 14 Oct 2026Report an issue or request a re-scan

Provenance

Who published it, and what the verdict is pinned to

  • Publisherjeanpfs GitHub userOwner of the repository this skill is read from
  • Source folderjeanpfs/xd-extractThe exact folder we audited
  • LicenceMITAs the repository states it
  • Commit pinned for this verdict6d8958c9bc05A new audit runs when the source changes
  • Repository statusNot archivedPushed today
  • Sandboxed runNot runSkills are read, not executed; layer L4 is skipped

What it tells the agent

Full source on GitHub ↗

Its description: Extract SVG vector art (icons, illustrations, logos, whole screens) from an Adobe XD share link (xd.adobe.com/view/...) or a .xd file, then validate it. Use when the user sends an XD link or file and wants SVG, says the…

---
name: xd-extract-svg
description: "Extract SVG vector art (icons, illustrations, logos, whole screens) from an Adobe XD share link (xd.adobe.com/view/...) or a .xd file, then validate it. Use when the user sends an XD link or file and wants SVG, says the download is disabled or the page is a canvas, or a screenshot is too low quality. Handles inventory, node selection by name or colour, frame (viewBox) selection and validation. Not for Figma or other formats."
---

# XD to SVG

Pull **vector** art out of an Adobe XD design. The art is never in the viewer's canvas: it arrives as a scene-graph JSON (AGC) that the viewer only draws. The `xd` CLI downloads that JSON (or reads it from a `.xd` file), converts the node tree to SVG and validates the result.

Output is **SVG only**. Angular gradients, background blur and inner shadows are not converted yet (object blur is); image fills are embedded in the SVG as data URIs (large ones may be refused: `--max-embed-bytes`); text is emitted as live `<text>` and needs its font; the tool reports each one as a warning instead of dropping it silently.

## Run the CLI

```bash
npx -y xd-extract <command>      # or `xd <command>` when installed globally
```

Needs Node >= 22. Commands: `inventory`, `extract`, `validate`, `redact`. `xd --help` lists every flag.

## Inputs to ask for

Ask for both in **one round**:

1. **The source**: a share link (`https://xd.adobe.com/view/...`) or a path to a `.xd` file.
2. **What to extract** and **how to name each output file**. Accept loose descriptions ("the orange illustration", "the cart icon"); resolve them to node names during inventory and confirm the mapping in the report.

## Procedure

1. **Inventory.** `xd inventory <source> --json` lists every top-level node per artboard with its bbox, dominant fill colour, shape count and warning codes. Never print the whole AGC into the context; the inventory is the projection.
   - Loose description by colour: `xd inventory <source> --find "#ff9c29"` ranks nodes by dominant fill.
   - Several candidates or an ambiguous request: `xd inventory <source> --preview /tmp/xd-preview.html`, open it for the user (`open /tmp/xd-preview.html` on macOS) and let them pick. Cheaper than guessing.
2. **Extract.** One node: `xd extract <source> --node "<name>" -o out/<file>.svg`. Several: write a `map.json` (`[{"file":"cart.svg","node":"cart"}]`) and run `xd extract <source> --map map.json -d out`. If the same node name exists on several artboards, add `--artboard "<name>"`.
3. **Validate.** `xd validate out/*.svg` (add `--expect-same-frame` when the set should share one frame). Exit code 1 means at least one `error`. Read `references/defects.md` for what each finding means.
4. **Look at the pixels.** Validation does not prove correctness. Open the preview in the user's own browser and check every export; see `references/defects.md` for what a defect looks like. Never skip this.
5. **Report**, for every file: source node, artboard, output path, `viewBox`, frame rule (`plate` or `content`), every mask snap, and every warning. Name the exact source so the extraction can be re-run after a design update.

## When it fails

| Error | Meaning | Do |
|---|---|---|
| `NoVectorPayload` | The link is a raster-only prototype: no AGC exists to convert. | Tell the user and stop. Do **not** screenshot, trace or redraw. |
| `PrivateLink` | The page exposes no manifest (private, password, or an unseen layout). | Retry once with `--browser` (needs `agent-browser`). If it still fails, ask for a public link or the `.xd` file. |
| `TokenExpired` | The manifest or an AGC request was refused. | Ask for a fresh link; retry with `--browser`. |
| `LinkNotFound` | The link answers 404/410. | Ask for the right link. |
| `TargetNotFound` / `AmbiguousTarget` | The node name does not match, or matches several nodes. | The error lists the available names or candidates: pick one, add `--artboard`. |
| `NoPaintedGeometry` | The node has no painted shapes (text only, or everything hidden). | Pick another node. |

## Warnings

`unsupported-fill:gradient|pattern`, `unsupported-stroke:*`, `unsupported-shape:*`, `unsupported-node:*` (including a symbol instance whose master was not found) mean art is **missing** from the SVG and validation fails on them. Report it to the user; do not hand-draw the missing part. `skipped-text`, `unsupported-style:filters` (shadows, blur), `unsupported-style:clipPath` and `stroke-align-ignored:*` are visible differences from the design; list them in the report.

## References

- `references/rules.md` : why each conversion rule exists, and how the frame (`viewBox`) is chosen.
- `references/defects.md` : defect to cause table, mapped to validator codes.
- `references/canvas-viewers.md` : the generic method for design viewers that render into a `<canvas>`, for formats the CLI does not cover.

## Hard rules

- **Never** deliver a canvas screenshot, a traced bitmap or a hand-drawn approximation as if it were the extracted vector. If the vector payload is unreachable, say so and stop.
- **Never** skip the visual check. XML-valid and correct are unrelated properties.
- Write exports to a dedicated directory (for example `xd-export/`). Do not overwrite project assets unless asked; replacing a raster with an SVG usually also needs code changes (for example React Native `<Image source={require(...)}>` to an SVG component).
- Do not commit exports or preview pages without being asked.
- `--record` and `redact` operate on the user's design. Recorded files contain the full design JSON; never commit them. `redact` keeps geometry, so the artwork itself must be cleared for publication.

Excerpt, first 5,674 characters of SKILL.md, verbatim from the audited commit. It is text from someone else’s repository, quoted so you can judge it before your agent reads it.

Install

Pinned to the audited commit 6d8958c

Download folder ↗
npx skills add jeanpfs/xd-extract --list
npx skills add jeanpfs/xd-extract --skill xd-extract-svg -g

Commands as the repository documents them: shown, never run by us. Our verdict covers commit 6d8958c9bc05 only.

Works in which agents?

What its own text says, not a test

AgentStatusMore
Claude CodeMentioned in its text, not testedSkills for Claude Code · About Claude Code
“Mentioned” means the skill’s text names the agent. We have not run it there.

Audit history

Every audit, every source change

  1. ✓SAFE B 89 / 100

    first audit · source 6d8958c9bc05

README badge

For maintainers · shows the latest audit

ModelsAtlas: SAFE BMODELSATLASSAFE · B
[![ModelsAtlas: SAFE B](https://modelsatlas.com/skills/jeanpfs/xd-extract/badge.svg)](https://modelsatlas.com/skills/jeanpfs/xd-extract/)

The badge shows our verdict and grade for this skill, and links back to this page. It changes when the audit does.

Similar skills

Add this badge to your README

[![ModelsAtlas: SAFE B](https://modelsatlas.com/skills/jeanpfs/xd-extract/badge.svg)](https://modelsatlas.com/skills/jeanpfs/xd-extract/)

Questions about xd-extract

What does the xd-extract skill do?
Extract SVG vector art from Adobe XD share links and .xd files: inventory, export and validate. CLI plus agent skills.
Is xd-extract safe to install?
The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean skill reads B.
What can xd-extract access on my machine?
The audit observed that it reaches the network, runs shell commands and reads or writes files. Each of those is consistent with what it says it does. Secrets in the source: none found.
What do I need installed to use xd-extract?
Its own instructions reference agent-browser. Dependencies are pinned to exact versions.
Which assistants does xd-extract work with?
Its documentation mentions claude-code. That is what the text claims, not a compatibility test we ran.
How current is this page?
The grade is for one exact copy of the source (6d8958c9bc05), read on 2026-10-14. The repository is watched, and a new audit runs when it changes — this is the first audit.

Sources

Spotted something wrong? Report a correction · Methodology

Keep going in your AI

Opens with this page as the source. We add nothing else to the prompt.