
这项技能允许你的 AI 代理逐像素克隆任何网站,包括用户体验和用户界面
概览
一个代理技能,可以从任何网站的URL一对一(布局、排版、素材、滚动动画、有状态交互)中克隆出来,并通过评分基准来证明真实度,而不是声称其准确性。 一句话的做法是:把在线网站当作你可以查询的真实数据,而不是你眼里看到的图片。从运行页中提取真实的DOM标记、真实的CSS标记、真实的关键帧、真实的字体和真实的配置数据,从这些事实中重建,然后在原始和克隆上运行同样的测量探针,并对数字进行微分直到收敛。 Plain Agent Skills 包:一个 SKILL.md,包含参考、脚本和工具,没有针对 agent 的特定代码。它支持 Claude Code、Codex CLI、Cursor、Gemini CLI、opencode 以及所有读取该标准的软件。 在 arc.net、town.com、wisprflow.ai、landonorris.com、creativemarketing.peachweb.io 上经过实战考验。 这样可以把一份副本安装到 ~/。
概述(AI 翻译)
中文版
一个代理技能,可以从任何网站的URL一对一(布局、排版、素材、滚动动画、有状态交互)中克隆出来,并通过评分基准来证明真实度,而不是声称其准确性。
一句话的做法是:把在线网站当作你可以查询的真实数据,而不是你眼里看到的图片。从运行页中提取真实的DOM标记、真实的CSS标记、真实的关键帧、真实的字体和真实的配置数据,从这些事实中重建,然后在原始和克隆上运行同样的测量探针,并对数字进行微分直到收敛。
Plain Agent Skills 包:一个 SKILL.md 加上 references/、scripts/ 和 tools/,没有特工专用代码。它支持 Claude Code、Codex CLI、Cursor、Gemini CLI、opencode 以及所有读取该标准的软件。
在 arc.net、town.com、wisprflow.ai、landonorris.com、creativemarketing.peachweb.io 上经过实战考验。
安装
一句话,任何代理:
这会在 ~/.agents/skills/clone-website](Cursor、Gemini CLI 和 opencode 直接读取的供应商中立位置)安装一份副本,并在 ~/.claude/skills/ 和 ~/.codex/skills/ 存在时将其符号链接,因此 git pull 会一次性更新所有代理。
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
clone-website
An agent skill that clones any live website 1:1 (layout, typography, assets, scroll animations, stateful interactions) from nothing but its URL, and proves the fidelity with a scored benchmark instead of claiming it.
The method in one sentence: treat the live site as ground truth you can query, not a picture you eyeball. Pull the real DOM, real CSS tokens, real keyframes, real fonts, and real config data out of the running page, rebuild from those facts, then run the same measurement probe on original and clone and diff the numbers until they converge.
Plain Agent Skills package: a SKILL.md plus references/, scripts/, and tools/, with no agent-specific code. It runs on Claude Code, Codex CLI, Cursor, Gemini CLI, opencode, and anything else that reads the standard.
Battle-tested on arc.net, town.com, wisprflow.ai, landonorris.com, creativemarketing.peachweb.io.
Install
One line, any agent:
curl -fsSL https://raw.githubusercontent.com/braxtonROSE4/clone-any-website/main/install.sh | sh
That installs one copy into ~/.agents/skills/clone-website (the vendor-neutral location Cursor, Gemini CLI, and opencode read directly) and symlinks it into ~/.claude/skills/ and ~/.codex/skills/ when those exist, so git pull updates every agent at once. Re-run the same command to update. --project [dir] installs into /.agents/skills/ for one project instead of the whole machine.
Manual install works just as well, since the payload is only files:
| Agent | Where to clone it |
|---|---|
| Claude Code | ~/.claude/skills/clone-website |
| Codex CLI | ~/.codex/skills/clone-website (or $CODEX_HOME/skills/) |
| Cursor | ~/.cursor/skills/clone-website, or ~/.agents/skills/clone-website |
| Gemini CLI | ~/.gemini/skills/clone-website, or ~/.agents/skills/clone-website |
| opencode | ~/.config/opencode/skills/clone-website (it also reads ~/.claude/skills and ~/.agents/skills) |
| Anything that can read files and run shell commands | Clone anywhere, point the agent at SKILL.md |
git clone https://github.com/braxtonROSE4/clone-any-website.git ~/.agents/skills/clone-website
The destination folder has to be named clone-website: agents take the skill name from the folder and require it to match the name in the frontmatter. Project-scoped installs use the same layout under a repo, in .agents/skills/, .claude/skills/, .codex/skills/, or .cursor/skills/.
Once installed the skill loads on its own when you ask for a clone. Trigger phrases include “clone this website”, “rebuild this landing page pixel-perfect”, “how does this site do that scroll effect”.
Runtime dependency
推荐工具
换一个关键词,或者移除筛选条件。
安装
npx skillfish add braxtonrose4/clone-any-website