← All playbooks · Raw API
task-clone-page
# Capability: Clone page structure
## Intent phrases
- copy page layout
- duplicate page structure
- use existing page as template
## Requires capabilities
`pages`
## Prerequisites
- Identify source page slug and target slug/title
- Read `cms-edit://customer/components-index`
## Steps
1. `cms_edit ["open", "--page-slug", "<source-slug>"]`
2. `cms_edit ["snapshot"]` — note template and component tree
3. `cms_edit ["list", "--type", "template"]` — confirm template ID
4. Build `create from-json` payload mirroring structure with new slug/title
5. `create from-json --dry-run --strict` → create → `save`
6. Adjust copy/fields on the new page
## Confirmation gates
1. Confirm source page, new slug, and title
2. `--dry-run --strict` before create
## Out of scope
- Publish
## Related resources
- `cms-edit://customer/components-index`
- `task-create-page`