Clone Website
vdd_cloneCrawl a target domain to generate a clone dataset and manifest, with WordPress-aware schema inference and Payload collections, for cloning external sites.
Instructions
Crawl and capture a target domain into a clone dataset + manifest — WordPress-aware schema inference, Payload collections, and a Next.js + Payload + Postgres scaffold manifest (vdd/clone-manifest.json). Writes vdd/clone-dataset.json, vdd/clone-manifest.json, and vdd/clone.md. Pass the domain as description; tune maxPages, timeoutMs, concurrency, crawl, browser, and refresh (set refresh=true to bypass a cached dataset and re-crawl). Open-world: makes network requests to the target site. Use for cloning an external site; it is not part of the VDD phase pipeline, so for the normal init→validate flow call those phase tools instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| crawl | No | Clone: run the crawl (default true) | |
| browser | No | Clone: run browser/static capture (default true) | |
| refresh | No | Clone: force re-crawl, ignore a fresh cached dataset | |
| maxPages | No | Clone: max pages to crawl (default 200) | |
| statement | No | Freeform vision statement (required for vision) | |
| timeoutMs | No | Clone: per-request timeout in ms | |
| concurrency | No | Clone: concurrent crawl workers (default 8) | |
| description | No | Freeform description input | |
| projectRoot | No | Project root: directory that constitution.md and the vdd/ folder are written to and resolved against (default ".") | . |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| _sdt | Yes | Strategy-and-Tactic instructions for the next step | |
| error | No | Error message when the phase fails | |
| _phase | Yes | VDD phase that produced this result | |
| output | No | Additional structured phase output | |
| success | Yes | Whether the phase completed successfully | |
| artifact | No | Primary artifact produced or returned | |
| gateResult | No | Quality-gate result, when the phase runs a gate |