Agent skill · Audited from source
xd-extract
skill · jeanpfs/xd-extractMIT licenceAudited 14 Oct 2026 · source 6d8958c9bc05
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…
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
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
| Layer | What we check | Result | Findings |
|---|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS | 0 |
L1 Static source | Secrets, path traversal, supply chain, hidden code | PASS | 5 |
L2 Instructions | Prompt injection, authority framing, hidden directives | PASS | 0 |
L3 Inventory | The files and declarations match the source | PASS | 0 |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED why | 0 |
Gates applied: no behavioural pass.
Findings (5)
LOWFilesystem / pathfs.traversal · packages/cli/test/golden.test.ts:14
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
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
import { loadShareLink } from '../../src';- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · packages/sources/test/recorded.test.ts:5
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
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
npx skills add jeanpfs/xd-extract --list npx skills add jeanpfs/xd-extract --skill xd-extract-svg -g
git clone https://github.com/jeanpfs/xd-extract git -C xd-extract checkout 6d8958c9bc05
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
| Agent | Status | More |
|---|---|---|
| Claude Code | Mentioned in its text, not tested | Skills for Claude Code · About Claude Code |
Audit history
Every audit, every source change
- ✓SAFE B 89 / 100
first audit · source
6d8958c9bc05
README badge
For maintainers · shows the latest audit
[](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
n8n-io/n8n
Reproduce a bug from a Linear ticket with a failing test. Expects the full ticket context (title, description, comments) to be provided as input.
n8n-io/n8n
Creates GitHub pull requests with properly formatted titles that pass the check-pr-title CI validation. Use when creating PRs, submitting changes for review, or when the user says /pr or asks to create a pull request.
google-gemini/gemini-cli
Use this skill when asked to review text and user-facing strings within the codebase. It ensures that these strings follow rules on clarity, usefulness, brevity and style.
google-gemini/gemini-cli
Use this skill during code reviews to proactively investigate the codebase for duplicated functionality, reinvented wheels, or failure to reuse existing project best practices and shared utilities.
google-gemini/gemini-cli
An open-source AI agent that brings the power of Gemini directly into your terminal.
google-gemini/gemini-cli
Use this skill if the user asks you to help them address GitHub PR comments for their current branch of the Gemini CLI. Requires `gh` CLI tool.
Add this badge to your README
[](https://modelsatlas.com/skills/jeanpfs/xd-extract/)
<a href="https://modelsatlas.com/skills/jeanpfs/xd-extract/"><img src="https://modelsatlas.com/skills/jeanpfs/xd-extract/badge.svg" alt="ModelsAtlas: SAFE B"></a>
Questions about xd-extract
What does the xd-extract skill do?
Is xd-extract safe to install?
What can xd-extract access on my machine?
What do I need installed to use xd-extract?
Which assistants does xd-extract work with?
How current is this page?
Sources
- github.com/jeanpfs/xd-extract — the audited source at commit 6d8958c9bc05 and every finding aboveObserved · 14 Oct 2026
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.
- What does the xd-extract skill do?
- Is xd-extract safe to install?
- What can xd-extract access on my machine?