Agent skill

Extract Axure Data

by lintendo in lintendo/Axhub-Skills

Extract structured data from Axure prototypes using Playwright — screenshots, design tokens, interaction maps, annotations, and page text.

MITAuto-check: warningsFrontend & Design

Install Extract Axure Data

The automated check flagged lines worth reading first. See the safety section below.

skills CLI
$ npx skills add lintendo/Axhub-Skills --skill extract-axure-data -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install lintendo/Axhub-Skills extract-axure-data --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/lintendo/Axhub-Skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/extract-axure-data .claude/skills/extract-axure-data && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
extract-axure-data
GitHub stars
130
Token cost
~1.9k tokens
SKILL.md length
540 words
Files
3 (incl. scripts)
Skills in repo
13
Repo updated
First seen
Licence
MIT

At a glance

Extract structured data from Axure prototypes using Playwright — screenshots, design tokens, interaction maps, annotations, and page text.

  • The user wants to extract data from an Axure prototype
  • SKILL.md covers When to use this, How it works, Quick start and Parameters, plus 7 more sections
  • Runs JavaScript scripts from its folder; calls node, npx and npm; reaches npmmirror.com
  • Clone an Axure page

What it does

Extract Axure Data is an agent skill from lintendo/Axhub-Skills. Extract structured data from Axure prototypes using Playwright — screenshots, design tokens, interaction maps, annotations, and page text. Use this skill whenever the user wants to extract data from an Axure prototype, reconstruct or clone an Axure page, analyze Axure design tokens, export Axure content, or work with Axure prototype URLs (even if they don't say "Axure" explicitly — look for AxShare links, /start.htmlp= URLs, /start.html?id=...&p=... URLs, or mentions of wireframes/prototypes hosted online).

Its SKILL.md is about 1.9k tokens, which your agent loads only when the skill is triggered. The skill folder holds 3 other files, including scripts.

It sits in Frontend & Design, covering Design tokens, Browser testing and UI design. It works with Playwright. The licence is MIT.

When your agent uses it

  • The user wants to extract data from an Axure prototype
  • Clone an Axure page
  • Analyze Axure design tokens
  • Export Axure content

Example prompts

  • “t say”
  • “/extract-axure-data”

Requirements

  • Node.js

What it can do on your machine

Read from SKILL.md and the folder at commit 1e1c5bc. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 2 files in scripts/ (JavaScript), which the agent can run.

    Shell commands in SKILL.md call:

    • node
    • npx
    • npm
    • curl

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • npmmirror.com

    Also links to:

    • github.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Extract Axure Data loads about 1.9k tokens when it runs. Until then it costs about 133 tokens; SKILL.md has 540 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~133
When it runs · the whole SKILL.md, loaded when a task matches
~1.9k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: warnings

The automated check found patterns that need a careful read before installing.

  • WarningMentions a credentials file (SSH keys, cloud or package-manager tokens)SKILL.md:86
    **Connect to an existing Chrome session** (recommended — reuses cookies):

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from lintendo/Axhub-Skills at commit 1e1c5bc, republished under its MIT licence (© lintendo). 540 words, ~1,912 tokens.

Download SKILL.mdSave it as .claude/skills/extract-axure-data/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.
name
extract-axure-data
description
Extract structured data from Axure prototypes using Playwright — screenshots, design tokens, interaction maps, annotations, and page text. Use this skill whenever the user wants to extract data from an Axure prototype, reconstruct or clone an Axure page, analyze Axure design tokens, export Axure content, or work with Axure prototype URLs (even if they don't say "Axure" explicitly — look for AxShare links, /start.html#p= URLs, /start.html?id=...&p=... URLs, or mentions of wireframes/prototypes hosted online).

Extract Axure Data

Extract structured data from Axure prototypes for page reconstruction, content analysis, or design review. The script handles dependency installation automatically — just point it at a URL.

When to use this

  • User shares an Axure prototype URL and wants to extract or rebuild it
  • User asks to clone, reconstruct, or analyze a wireframe/prototype
  • User mentions AxShare, Axure Cloud, or prototype URLs with start.html#p= or start.html?id=...&p=...
  • User wants design tokens, screenshots, or interaction data from a prototype

How it works

Axure stores page data in static JS files (data/document.js, files/{page}/data.js). The script parses these directly in Node.js without needing a browser — this is fast and works for sitemap, interactions, and annotations. Screenshots and design tokens require rendering, so Playwright launches a Chromium instance for those. For Axure preview URLs that route through start.html?id=...&p=..., the script first resolves the rendered frame URL so page data, screenshots, and text are extracted from the correct page resource directory.

Quick start

Run the extraction script from scripts/extract.mjs relative to this skill directory.

bash
# Basic extraction — screenshot + design tokens (default)
node scripts/extract.mjs <AXURE_URL> --all

# Full extraction — add interactions, annotations, page text
node scripts/extract.mjs <AXURE_URL> --all --advanced

# Specific pages only
node scripts/extract.mjs <AXURE_URL> --pages login,dashboard

First run auto-installs Playwright + Chromium to ~/.cache/axure-extractor/. This takes 1-2 minutes and happens once.

Parameters

FlagWhat it doesDefault
<url>Axure prototype URL (required)—
--allProcess all pagesfirst page only
--advancedAdd interactions, annotations, page textoff
-o DIROutput directory./axure-export
--pages P1,P2Process only named pages—
--no-screenshotSkip screenshotsscreenshots on
--no-headlessShow browser windowheadless
--connect-cdp URLAttach to running Chrome (for auth)—
--verboseDetailed loggingoff

Output structure

axure-export/
├── sitemap.json           # Page tree and hierarchy (always produced)
└── pages/{pageName}/
    ├── screenshot.png      # Page screenshot
    ├── theme.json          # Design tokens (colors, fonts, spacing, radii)
    ├── data.json           # Page metadata and diagram        (--advanced)
    ├── notes.json          # Component annotations            (--advanced)
    ├── interactions.json   # Event map (clicks, navigations)  (--advanced)
    └── content.md          # Rendered page text as Markdown   (--advanced)

When the goal is to rebuild an Axure prototype as a real web page, use a two-step approach. The reason for splitting is that screenshots + theme tokens are enough for ~80% visual fidelity, and the additional data only helps when fine-tuning details — so extracting everything upfront wastes time if the basic result is already good.

Step 1 — Basic extraction:

bash
node scripts/extract.mjs <URL> --pages <target>

Use screenshot.png as the visual reference and theme.json for exact colors, fonts, and spacing. Build the page.

Step 2 — Refine if needed:

bash
node scripts/extract.mjs <URL> --pages <target> --advanced

If interactions are missing or annotations are wrong, the additional files (interactions.json, notes.json, content.md) provide the detail to fix them.

Show full SKILL.md (192 more words)Show less

Authenticated prototypes

Some Axure prototypes require login (AxShare, corporate SSO). Two approaches:

Connect to an existing Chrome session (recommended — reuses cookies):

macOS:

bash
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --remote-debugging-port=9222

Windows:

powershell
start chrome --remote-debugging-port=9222

Then log in via that Chrome window and run:

bash
node scripts/extract.mjs <URL> --all --connect-cdp http://localhost:9222

Show the browser window (manual login during extraction):

bash
node scripts/extract.mjs <URL> --all --no-headless

Dependency installation

The script auto-installs on first run. If it fails:

bash
# Manual install
cd ~/.cache/axure-extractor   # macOS/Linux
# or: cd %USERPROFILE%\.cache\axure-extractor   (Windows)

npm install playwright
npx playwright install chromium

# If Chromium download is slow (e.g. behind GFW):
PLAYWRIGHT_DOWNLOAD_HOST=https://npmmirror.com/mirrors/playwright npx playwright install chromium

If Playwright can't be installed at all, the script degrades gracefully — it still extracts sitemap, page data, annotations, and interactions (everything that doesn't need a browser), but skips screenshots and theme tokens.

Output data formats

theme.json

Design system tokens extracted from computed styles:

json
{
  "colors": {
    "background": [{"value": "rgb(255,255,255)", "count": 42, "tags": ["div"]}],
    "text": [{"value": "rgb(51,51,51)", "count": 28, "tags": ["p","span"]}],
    "border": [{"value": "rgb(221,221,221)", "count": 12}]
  },
  "typography": {
    "families": [{"value": "\"PingFang SC\", sans-serif", "count": 56}],
    "textStyles": [{"size": "14px", "lineHeight": "22px", "weight": "400", "count": 20}]
  },
  "spacing": [{"value": "16px", "count": 15}],
  "radius": [{"value": "4px", "count": 8}]
}
notes.json

Component annotations authored in Axure:

json
{
  "page": {"description": "User login page"},
  "id-username-input": {"description": "Username field", "placeholder": "Enter username"},
  "id-submit-btn": {"description": "Login button", "action": "Submit form"}
}
interactions.json

Event mappings defined in Axure's interaction designer:

json
{
  "onClick": {"targetPage": "dashboard", "action": "navigate"}
}

Playwright 查缺补漏

导出数据基于静态 JS 解析和快照采集,某些动态内容(交互状态、条件面板、动态面板切换等)可能不完整。可使用 Playwright CLI 回到原型页面补充采集。

bash
# 打开 Axure 原型
playwright-cli open <AXURE_URL>
playwright-cli snapshot

# 点击交互元素查看动态面板切换
playwright-cli click e12
playwright-cli screenshot --filename=panel-state-2.png

# 获取元素的精确样式
playwright-cli eval "el => getComputedStyle(el).cssText" e5

playwright-cli close

完整命令参考: Playwright CLI 官方技能文档

典型补充场景
场景Playwright 做什么
动态面板状态点击触发切换后截图
条件显示/隐藏触发条件后采集 DOM
交互动画录制交互过程
需要登录的原型复用已登录的 Chrome 会话
Axure 母版内容进入页面后完整采集

Troubleshooting

ProblemFix
HTTP 404: .../data/document.jsURL isn't an Axure prototype, or wrong base URL
Sitemap 提取失败Check URL is reachable: curl -I <url>
Screenshots are blankPage needs longer to render — try --no-headless to watch
Need loginUse --connect-cdp (see Authenticated prototypes above)
Playwright install failsManual install, or set PLAYWRIGHT_DOWNLOAD_HOST for mirror

© lintendo, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 2 other files (scripts) in skills/extract-axure-data of lintendo/Axhub-Skills.

  • SKILL.md
  • scripts/extract.mjs
  • scripts/routing.mjs

Open the folder on GitHubat commit 1e1c5bc

Compare with similar skills

Extract Axure Data next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Extract Axure Data compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Extract Axure Data this skilllintendo/Axhub-Skills130—~1.9kAutomated safety check: WarnMIT
Web Designxiaopu-ai/web-design783—~3kAutomated safety check: PassMIT
Website Design Taste Extractorsenlindesign/taste-skill385—~5.3kAutomated safety check: PassNone
Add Generation To GallerySunkenInTime/which-ai129—~2kAutomated safety check: PassNone
Liteyuki Webui FrontendLiteyukiStudio/LiteyukiBot157—~2.5kAutomated safety check: PassCustom licence
Igniteui Angular Figma To AppIgniteUI/igniteui-angular599—~6.4kAutomated safety check: PassMIT

Similar skills

  • Web Design

    xiaopu-ai/web-design

    Web 视觉设计 SKILL。输入 PRD / 参考 URL / 截图 / 关键词(任意组合),先产出一份标准化 DESIGN.md 设计规范,用户确认后据此生成 UI/UX、视觉、动效、响应式全部达标的 web 代码。专攻 web 端:Landing Page、Portfolio、产品页、博客、个人站、SaaS 介绍页等。当用户说"帮我做个网站""设计一个页面""参考 XX…

    783 GitHub stars~3k tokensUpdated 3 mo ago
    Frontend & DesignAuto-check passed
  • Website Design Taste Extractor

    senlindesign/taste-skill

    Reverse-engineers a website's design from its URL into a Markdown and JSON pair holding concrete tokens and the trade-offs behind the look.

    385 GitHub stars~5.3k tokensUpdated 3 mo ago
    Frontend & DesignAuto-check passed
  • Add Generation To Gallery

    SunkenInTime/which-ai

    Add a generated regular Next.js source app into the ui-design-bench static gallery as a model generation, including source placement, variant wrapper, manifest/registry/type updates, scoped CSS…

    129 GitHub stars~2k tokensUpdated today
    Frontend & DesignAuto-check passed
  • Liteyuki Webui Frontend

    LiteyukiStudio/LiteyukiBot

    Build, review, or test LiteyukiBot v7's React/Vite WebUI under webui/ and its packaged static delivery in packages/webui/.

    157 GitHub stars~2.5k tokensUpdated 1 mo ago
    Frontend & DesignAuto-check passed
  • Igniteui Angular Figma To App

    IgniteUI/igniteui-angular

    Builds Angular views from Figma designs with Ignite UI for Angular, supporting Indigo.Design kits, third-party kits, and plain frames.

    599 GitHub stars~6.4k tokensUpdated today
    Frontend & DesignAuto-check passed
  • Extract Design System

    espennilsen/pi

    Reverse-engineer a design system from a live website (public URL or localhost).

    122 GitHub stars~2k tokensUpdated 17 days ago
    Frontend & DesignAuto-check passed

More from lintendo/Axhub-Skills

All 13 skills in this repo
  • React To Figma Make

    lintendo/Axhub-Skills

    A skill your agent uses when 需要把现有 React、Vite、Next.js、V0 或 AI Studio 页面转换为 Figma Make 可导入的 .fig 资产,或补齐、更新、验证已有 Figma Make 导出壳和 canvas.fig。

    130 GitHub stars~4.2k tokensUpdated 1 mo ago
    Auto-check passed
  • Search Design System

    lintendo/Axhub-Skills

    A skill your agent uses when selecting an existing design system or theme for a product, page, prototype, or implementation through Axhub design knowledge indexes; not when creating or updating a…

    130 GitHub stars~643 tokensUpdated 1 mo ago
    Auto-check passed
  • Axhub Prototype Context

    lintendo/Axhub-Skills

    A skill your agent uses when an annotated prototype URL exposes PRD, directory, annotation, or source context that an AI Agent needs for review, implementation planning, production work, source…

    130 GitHub stars~684 tokensUpdated 1 mo ago
    Auto-check passed
  • Clone Page

    lintendo/Axhub-Skills

    高精度克隆网页。使用 Playwright 渐进式采集页面数据(DOM 结构、样式、截图、资源), 然后分阶段构建完整的 HTML/CSS 还原。支持快速还原和高精度还原两种模式。

    130 GitHub stars~1.3k tokensUpdated 1 mo ago
    Auto-check passed
  • Extract Page Data

    lintendo/Axhub-Skills

    Extract structured data from any web page using Playwright — screenshots, design tokens, page text as Markdown, interactive element maps, and full page data packs.

    130 GitHub stars~2.7k tokensUpdated 1 mo ago
    Auto-check: warnings
  • Figma Content Operator

    lintendo/Axhub-Skills

    用于处理涉及检查、读取、创建、编辑、导出或代码映射的 Figma 内容任务,也用于将 HTML/React/Vue 等网页复制到 Figma,尤其适用于当前选区、设计系统、Figma MCP、Drafito、Figwright 或需要避免 MCP 工具污染上下文的场景。当用户需要可批注 Figma 链接或要求同时绑定工作目录时,也应与 axhub-commentary 组合。

    130 GitHub stars~630 tokensUpdated 1 mo ago
    Auto-check passed

Works with

Questions about Extract Axure Data

What does Extract Axure Data do?

Extract structured data from Axure prototypes using Playwright — screenshots, design tokens, interaction maps, annotations, and page text. Extract Axure Data is an agent skill from lintendo/Axhub-Skills. Extract structured data from Axure prototypes using Playwright — screenshots, design tokens, interaction maps, annotations, and page text.

When should I use Extract Axure Data?

Extract Axure Data fits situations like: the user wants to extract data from an Axure prototype; clone an Axure page; analyze Axure design tokens; export Axure content.

How do I install Extract Axure Data in Claude Code?

Run `npx skills add lintendo/Axhub-Skills --skill extract-axure-data -a claude-code`. Or copy the skill folder (skills/extract-axure-data in lintendo/Axhub-Skills) into .claude/skills/extract-axure-data in your project. Claude Code loads it when a task matches its description.

How do I install Extract Axure Data in Codex?

Run `npx skills add lintendo/Axhub-Skills --skill extract-axure-data -a codex`. Or copy the skill folder (skills/extract-axure-data in lintendo/Axhub-Skills) into .agents/skills/extract-axure-data in your project. Codex loads it when a task matches its description.

Can I use Extract Axure Data in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add lintendo/Axhub-Skills --skill extract-axure-data -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/extract-axure-data, .gemini/skills/extract-axure-data, .github/skills/extract-axure-data and .opencode/skills/extract-axure-data in your project.

What does Extract Axure Data need to run?

Going by SKILL.md and its folder, Extract Axure Data needs JavaScript for the scripts in its folder and the command-line tools its instructions call (node, npx, npm and curl). Our summary lists: Node.js.

Does Extract Axure Data access the network?

SKILL.md names 2 domains. In commands or code: npmmirror.com; the agent is likely to contact it when it follows the instructions. As links in the text: github.com. This is read from the text; nothing was executed.

Is Extract Axure Data safe to install?

Our automated static check of SKILL.md flagged 1 warning(s): mentions a credentials file (ssh keys, cloud or package-manager tokens). Read the flagged lines before installing; the check is not a guarantee either way. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Extract Axure Data use?

Extract Axure Data is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Extract Axure Data use?

About 1.9k tokens (SKILL.md is roughly 7.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Extract Axure Data?

Skills that share tags, products or a category with Extract Axure Data: Web Design (xiaopu-ai/web-design, 783 stars), Website Design Taste Extractor (senlindesign/taste-skill, 385 stars), Add Generation To Gallery (SunkenInTime/which-ai, 129 stars) and Liteyuki Webui Frontend (LiteyukiStudio/LiteyukiBot, 157 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Extract Axure Data?

lintendo (a GitHub user) maintains it in lintendo/Axhub-Skills, which has 130 GitHub stars. The repository holds 13 skills in this directory. The repository was last updated on August 21, 2026.

Source: lintendo/Axhub-Skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.