Clone Website
vdd_cloneCrawl a target domain to produce a clone dataset and manifest, supporting WordPress schema inference and Next.js + Payload scaffolds.
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). Pass the domain as description. Writes vdd/clone-dataset.json, vdd/clone-manifest.json, and vdd/clone.md, overwriting any existing versions in place. Open-world: makes network requests to the target site and reads its sitemap and same-origin links. 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. Parameter relationships: description is the target domain and statement is the desired outcome (both optional); maxPages, timeoutMs, concurrency, crawl, and browser tune the crawl and refresh=true bypasses a cached dataset.
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, 1-5000 (default 200) | |
| statement | No | Freeform vision statement (required for vision) | |
| timeoutMs | No | Clone: per-request timeout in ms, 1000-60000 (default 10000) | |
| concurrency | No | Clone: concurrent crawl workers, 1-16; above ~16 risks tripping the target site rate limit (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. Relative paths resolve from the current working directory; keep the same value across every phase (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 |