Turn authorized URLs or webpage screenshots into deterministic, build-ready clone prompts.
web-clone-prompt is a prompt-first Codex skill for web clone work. It inspects visual evidence, pins layout and motion decisions into exact implementation constraints, and returns a portable prompt before any local build starts.
It is intentionally separate from web-design-pro: use this skill for authorized clone prompts; use web-design-pro for original or reference-inspired web design.
The skill supports two input paths: a live URL or one or more screenshots. Click a card to open the recorded workflow.
More demos are available on the GitHub Pages site.
mkdir -p ~/.codex/skills
git clone https://github.com/xiaopu-ai/web-clone-prompt ~/.codex/skills/web-clone-promptThen call it in Codex:
$web-clone-prompt
To update an existing install:
cd ~/.codex/skills/web-clone-prompt
git pull- a deterministic clone prompt, not a vague design brief
- exact color, font, spacing, asset, and motion constraints
- screenshot or URL evidence boundaries
- asset sourcing rules for stable URLs, generated media briefs, or fetch-only fallback
- responsive behavior and visual regression checkpoints
- an explicit pause before local implementation
Use this when the source page is publicly reachable and authorized for analysis.
The skill can inspect DOM structure, source assets, styles, fonts, scripts, motion primitives, opening sequences, hover states, scroll behavior, and runtime screenshots. Public stable assets are preferred; private, unstable, or protected assets are converted into generation briefs.
Use this when you have one or more captured reference frames.
The skill treats each screenshot as a visual evidence frame. Visible regions are pinned precisely; off-screen sections are inferred only when the user asks for a full page or landing site, and those assumptions are marked in the prompt.
Use this skill for:
- authorized webpage clone prompts from URLs
- screenshot-to-prompt reconstruction
- internal visual regression briefs
- prompt specs for Codex, Claude Code, Cursor, v0, Bolt, or similar implementation agents
Do not use it for:
- original landing page design
- brand-new product pages without a source page
- backend, database, or non-web clone tasks
- public reuse of third-party brand assets without permission
SKILL.md # Codex skill entrypoint
agents/openai.yaml # Skill metadata for Codex
references/ # Prompt, asset, font, motion, and regression guides
src/ # React/Vite GitHub Pages intro site
public/ # Site media and static assets
npm install
npm run dev
npm run buildThe site deploys to GitHub Pages through .github/workflows/pages.yml.
MIT

