Skill package for cloning single public webpages into local Vite React Tailwind apps with Playwright capture, asset mirroring, and visual verification for Codex, Claude Code, and Gemini.
The workflow captures page structure, styles, assets, favicons, screenshots, and motion hints with Playwright; creates section contracts; assembles a local app; and verifies the result across desktop, tablet, and mobile viewports.
The package currently provides one skill:
web-clone/SKILL.md: core workflow, completion rules, and CLI usagescripts/: Node.js tools for capture, contract creation, app assembly, and verificationreferences/: code generation and fidelity rulesagents/openai.yaml: optional Codex UI metadatapackage.json/package-lock.json: runtime dependencies for the skill scriptssetup.sh: convenience setup wrapper for npm dependencies and Playwright Chromium
Typical use cases:
- Cloning a single public webpage into a local Vite React Tailwind app
- Capturing layout, CSS, assets, favicons, and motion hints for a page reconstruction task
- Generating section contracts for component rebuilding
- Verifying desktop, tablet, and mobile fidelity before considering a clone complete
Clone this package first, then run the copy commands from the cloned directory:
git clone https://github.com/acentrist/web-clone-skills.git
cd web-clone-skillsIf you already cloned it, run the install commands from that repository root. The path ./web-clone must exist.
Copy the skill into $CODEX_HOME/skills/:
mkdir -p "${CODEX_HOME:-$HOME/.codex}/skills"
cp -R web-clone "${CODEX_HOME:-$HOME/.codex}/skills/"
sh "${CODEX_HOME:-$HOME/.codex}/skills/web-clone/setup.sh"Or install from a public GitHub repository with $skill-installer:
$skill-installer install https://github.com/acentrist/web-clone-skills/tree/main/web-clone
After GitHub URL installation, install the runtime dependencies:
sh "${CODEX_HOME:-$HOME/.codex}/skills/web-clone/setup.sh"Usage example:
Use $web-clone to clone https://www.example.com/ into a local Vite React Tailwind app.
Use either a global or project-level installation.
Global:
mkdir -p "$HOME/.claude/skills"
cp -R web-clone "$HOME/.claude/skills/"
sh "$HOME/.claude/skills/web-clone/setup.sh"Project-level:
mkdir -p .claude/skills
cp -R web-clone .claude/skills/
sh .claude/skills/web-clone/setup.shIn prompts, explicitly request this skill, for example: Please use the web-clone skill to clone https://www.example.com/.
Copy this skill into your Gemini skills directory:
mkdir -p "$HOME/.gemini/skills"
cp -R web-clone "$HOME/.gemini/skills/"
sh "$HOME/.gemini/skills/web-clone/setup.sh"Then ask concrete cloning tasks in Gemini, for example: Use the web-clone skill to clone https://www.example.com/.
- The runtime requires Node.js, npm, network access for the target page, and a Chromium runtime installed by Playwright.
- Generated apps, captured HTML, screenshots, mirrored third-party assets, and verification reports are local run artifacts.
- The default workflow writes local run artifacts under a host-named directory, for example
$HOME/web-clone-runs/example.com. - The skill is scoped to one public page. It does not crawl whole sites, recreate backend behavior, bypass authentication, or provide rights to third-party content.
This project is licensed under the MIT License. See LICENSE.
