clone-page
高精度克隆网页。使用 Playwright 渐进式采集页面数据(DOM 结构、样式、截图、资源), 然后分阶段构建完整的 HTML/CSS 还原。支持快速还原和高精度还原两种模式。 当用户需要克隆、复刻、还原、仿制网页时使用此技能。 当用户提供 URL 并要求"做一个一样的页面"、"把这个页面克隆过来"、…
Skill by lintendo
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/lintendo-clone-page
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: frontend, testing
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Node.js package
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/clone-page
What's inside
- Skill name
clone-page- Description
- 高精度克隆网页。使用 Playwright 渐进式采集页面数据(DOM 结构、样式、截图、资源), 然后分阶段构建完整的 HTML/CSS 还原。支持快速还原和高精度还原两种模式。 当用户需要克隆、复刻、还原、仿制网页时使用此技能。 当用户提供 URL 并要求"做一个一样的页面"、"把这个页面克隆过来"、 "参考这个网站的设计"、"还原这个页面"时,务必使用此技能。
- License
- MIT
- Instructions
- 182 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (15)
- SKILL.md
- clone.mjs · scripts/
- extract-assets.js · scripts/inject/
- extract-section-styles.js · scripts/inject/
- extract-skeleton.js · scripts/inject/
- assets.mjs · scripts/lib/
- browser.mjs · scripts/lib/
- init.mjs · scripts/lib/
- injected-function.mjs · scripts/lib/
- injected-function.test.mjs · scripts/lib/
- interact.mjs · scripts/lib/
- responsive.mjs · scripts/lib/
- section-styles.mjs · scripts/lib/
- skeleton.mjs · scripts/lib/
- query.mjs · scripts/
SKILL.md (first lines)
# 克隆网页 使用 Playwright 渐进式采集页面数据,然后分阶段还原 HTML/CSS。 **前置条件:** Node.js >= 18(Playwright + Chromium 首次运行自动安装) ## 采集脚本 从技能目录下的 `scripts/` 运行: ```bash node scripts/clone.mjs <url> <command> [options] ``` ## 两种还原模式 ### 🚀 快速还原(推荐先用这个) 适合快速出原型,token 消耗少,几分钟完成。 **采集:** ```bash node scripts/clone.mjs <url> quick -o ./clone-data --scroll ``` **数据源优先级:** 1. ⭐⭐⭐⭐⭐ `screenshot.png` — 视觉真相,以它为准 2. ⭐⭐⭐⭐ `theme.json` — 颜色、字体、间距等设计令牌 3. ⭐⭐⭐ `skeleton.json` — DOM 骨架(了解层级和语义标签) **还原步骤:** 1. 看 `screenshot.png`,理解页面整体布局 2. 读 `theme.json`,提取关键设计令牌(主色、字体、间距、圆角、阴影) 3. 粗读 `skeleton.json --depth=2`,了解大的 section 划分 4. 按 header → main → footer 的顺序,参照截图逐 section 写 HTML/CSS 5. 使用 theme.json 中的值作为 CSS 变量 ```bash # 渐进式读取数据 node scripts/query.mjs ./clone-data summary node scripts/query.mjs ./clone-data skeleton --depth=2 ``` --- ### 🎨 高精度还原 适合生产环境,还原到像素级别。在快速还原的基础上追加采集。 **采集:** ```bash # 先执行 quick(如果还没有) node scripts/clone.mjs <url> quick -o ./clone-data --scroll # 然后逐 section 深入采集样式 node scripts/clone.mjs <url> styles -o ./clone-data --selector "header" node scripts/clone.mjs <url> styles -o ./clone-data --selector "main > section:nth-child(1)" node scripts/clone.mjs <url> styles -o ./clone-data --selector "main > section:nth-child(2)" node scripts/clone.mjs <url> styles -o ./clone-data --selector "footer" # 需要时:交互态 node scripts/clone.mjs <url> interact -o ./clone-data --hover "nav a:first-child" # 需要时:响应式截图 node scripts/clone.mjs <url> responsive -o ./clone-data # 最后:下载资源 node scripts/clone.mjs <url> assets -o ./clone-data ``` **数据源优先级:** 1. ⭐⭐⭐⭐⭐ `screenshot.png` — 还是以截图为准 2. ⭐⭐⭐⭐⭐ `sections/*/nodes.json` — 精确的 DOM 结构 + selector 3. ⭐⭐⭐⭐⭐ `sections/*/styles.json` — 完整的 computedStyle 4. ⭐⭐⭐⭐ `theme.json` — 设计令牌 5. ⭐⭐⭐ `sections/*/screenshot.png` — 单 section 截图对比 **还原步骤:** 1. 同快速还原 Step 1-3 2. 查看已采集的 section 列表: ```bash node scripts/query.mjs ./clone-data sections ``` 3. 逐 section 还原: ```bash # 查看 section 的完整数据(DOM + 样式) node scripts/query.mjs ./clone-data section header ``` - 按 `nodes.json` 中的 `children` 严格构建层级 - 按 `styles.json` 中的 `styleId` 应用精确样式 - 对比 `screenshot.png` 微调 4. 如果 section 样式不够精确,可以进一步缩小 selector 范围重新采集 5. 如果需要 hover/focus 态,使用 `interact` 命令采集 6. 使用 `assets/` 目录中的图片和字体 --- ## 采集命令速查 | 命令 | 用途 | 产出 | |------|------|------| | `quick` | 快速模式 = init + skeleton | screenshot + meta + theme + skeleton | | `full` | 全量模式 = init + skeleton + responsive + assets | 上述 + 响应式截图 + 资源 | | `init` | 截图 + 元信息 + 设计令牌 | screenshot.png, meta.json, theme.json | | `skeleton` | DOM 骨架(不含样式) | skeleton.json | | `styles --selector "X"` | 指定区域的完整样式 | sections/X/nodes.json + styles.json + screenshot.png | | `interact` | 交互态截图 | interactions/*.png + *-styles.json | | `responsive` | 多 viewport 截图 | responsive/*.png | | `assets` | 下载图片/字体/SVG | assets/ | ## 查询命令速查 ```bash node scripts/query.mjs <dir> summary # 概览 node scripts/query.mjs <dir> skeleton --depth=2 # 骨架(前 2 层) node scripts/query.mjs <dir> subtree n2 --depth=3 # 某节点子树 node scripts/query.mjs <dir> node n15 # 单节点(含已采集样式)
From lintendo/Axhub-Skills, MIT.
More from lintendo/Axhub-Skills
- 0.741score
search-design-system
lintendo
Use when selecting an existing design system or theme for a product, page, prototype, or implementation through Axhub design knowledge indexes; not when…
SkillBFreshness: B★ 133Claude Code +9 - 0.741score
axhub-annotation-standalone
lintendo
Use when adding @axhub/annotation to standalone React apps, plain HTML pages, Vite prototypes, or other web hosts that need annotation markers, directories…
SkillBFreshness: B★ 133Claude Code +9 - 0.741score
axhub-prototype-context
lintendo
Use when an annotated prototype URL exposes PRD, directory, annotation, or source context that an AI Agent needs for review, implementation planning…
SkillBFreshness: B★ 133Claude Code +9 - 0.741score
axhub-commentary
lintendo
处理 Axhub Commentary 完整工作流。优先读取本地页面批注文档,落实修改并更新批注状态,或在用户确认后写入删除标记;本地读取失败时再确认 ACP UI 并生成临时可批注地址。也可为已接入 @axhub/annotation 的页面准备标注编辑环境,或配置 AI 侧边栏对话、AI…
SkillBFreshness: B★ 133Claude Code +9 - 0.738score
figma-content-operator
lintendo
用于处理涉及检查、读取、创建、编辑、导出或代码映射的 Figma 内容任务,也用于将 HTML/React/Vue 等网页复制到 Figma,尤其适用于当前选区、设计系统、Figma MCP、Drafito、Figwright 或需要避免 MCP 工具污染上下文的场景。当用户需要可批注 Figma…
SkillBFreshness: B★ 133Claude Code +9 - 0.730score
react-to-figma-make
lintendo
Use when 需要把现有 React、Vite、Next.js、V0 或 AI Studio 页面转换为 Figma Make 可导入的 .fig 资产,或补齐、更新、验证已有 Figma Make 导出壳和 canvas.fig。
SkillBFreshness: B★ 133Claude Code +9 - 0.727score
build-design-system
lintendo
从网页中采集设计令牌并生成完整的 DESIGN.md 设计规范文档 + Tailwind CSS 主题文件。 当用户提供 URL 并要求"提取主题"、"生成设计规范"、"导出设计系统"、 "提取这个网站的设计令牌"、"帮我做一个主题"、"分析这个页面的设计风格"时使用。 产出包含…
SkillBFreshness: B★ 133Claude Code +9 - 0.727score
generate-theme
lintendo
从网页中采集设计令牌并生成完整的 DESIGN.md 设计规范文档 + Tailwind CSS 主题文件。 当用户提供 URL 并要求"提取主题"、"生成设计规范"、"导出设计系统"、 "提取这个网站的设计令牌"、"帮我做一个主题"、"分析这个页面的设计风格"时使用。 产出包含…
SkillBFreshness: B★ 133Claude Code +9 - 0.723score
design-system-search
lintendo
Compatibility entry for the renamed search-design-system skill; use search-design-system for new work.
SkillBFreshness: B★ 133Claude Code +9 - 0.684score
extract-axure-data
lintendo
Extract structured data from Axure prototypes using Playwright — screenshots, design tokens, interaction maps, annotations, and page text.
SkillCFreshness: C★ 133Claude Code +9 - 0.682score
china-customer-research
lintendo
Use when 需要在中国、海外或跨市场场景中开展客户研究、用户研究、VOC、ICP、JTBD、Persona、竞品口碑、购买或流失原因分析,或从访谈、问卷、工单、社区与评论中为需求分析和 PRD 建立客户证据。
SkillCFreshness: C★ 133Claude Code +9 - 0.671score
git-repo-beginner-guide
lintendo
面向不熟悉 Git 的产品经理、设计师、运营、文档作者等非技术用户,引导 GitHub/GitLab/Gitee/Bitbucket/自建 Git 平台的仓库初始化、授权、克隆、提交同步、冲突处理、版本恢复和协作交接。
SkillCFreshness: C★ 133Claude Code +9
Signals
- Stars
- 133
- Forks
- 17
- Open issues
- 2
- Last commit (this folder)
- Jun 21, 2026 (4 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/lintendo/Axhub-Skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
More from lintendo
- 0.741score
search-design-system
lintendo
Use when selecting an existing design system or theme for a product, page, prototype, or implementation through Axhub design knowledge indexes; not when…
SkillBFreshness: B★ 133Claude Code +9 - 0.741score
axhub-prototype-context
lintendo
Use when an annotated prototype URL exposes PRD, directory, annotation, or source context that an AI Agent needs for review, implementation planning…
SkillBFreshness: B★ 133Claude Code +9 - 0.741score
axhub-annotation-standalone
lintendo
Use when adding @axhub/annotation to standalone React apps, plain HTML pages, Vite prototypes, or other web hosts that need annotation markers, directories…
SkillBFreshness: B★ 133Claude Code +9 - 0.741score
axhub-commentary
lintendo
处理 Axhub Commentary 完整工作流。优先读取本地页面批注文档,落实修改并更新批注状态,或在用户确认后写入删除标记;本地读取失败时再确认 ACP UI 并生成临时可批注地址。也可为已接入 @axhub/annotation 的页面准备标注编辑环境,或配置 AI 侧边栏对话、AI…
SkillBFreshness: B★ 133Claude Code +9 - 0.738score
figma-content-operator
lintendo
用于处理涉及检查、读取、创建、编辑、导出或代码映射的 Figma 内容任务,也用于将 HTML/React/Vue 等网页复制到 Figma,尤其适用于当前选区、设计系统、Figma MCP、Drafito、Figwright 或需要避免 MCP 工具污染上下文的场景。当用户需要可批注 Figma…
SkillBFreshness: B★ 133Claude Code +9 - 0.730score
react-to-figma-make
lintendo
Use when 需要把现有 React、Vite、Next.js、V0 或 AI Studio 页面转换为 Figma Make 可导入的 .fig 资产,或补齐、更新、验证已有 Figma Make 导出壳和 canvas.fig。
SkillBFreshness: B★ 133Claude Code +9
Cite this page
clone-page skill. Agent Mart. https://agentmart.dev/skills/lintendo-clone-page (last updated 2026-10-24)