> To build or manage a Wix site with an AI agent, follow https://www.wix.com/headless/skill.md
> It builds a new Wix site or puts your own site online, from a prompt, and keeps changing it afterwards. The pages are code in any web technology, and Wix runs the backend.
> It works through the Wix plugin (the Wix MCP and the Wix skills), the Wix CLI or no Wix login, and puts the site live on Wix hosting or on another host.
> Business features include a store, bookings, events and tickets, a restaurant, a blog, forms, members and many more.
> Read the Wix skills online at https://www.wix.com/skills
> 
> Portal Navigation:
> 
> - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version.
> - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages).
> - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`).
> - If a reference page seems to be missing its schema (parameters, return types, or type definitions), append `?schema=true` to its `.md` URL (e.g. `https://dev.wix.com/docs/contexts/contexts/stores/category-info/use-category-info-context.md?schema=true`).
> - Top-level index of all portals: https://dev.wix.com/docs/llms.txt
> - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt

## Resource: origami create-site

## Article: origami create-site

## Article Link: https://dev.wix.com/docs/wix-cli/cli-for-origami/command-reference/export-commands/origami-create-site.md

## Article Content:

# wix origami create-site

<blockquote class="caution">

__Beta:__
[Exporting your site to code](https://dev.wix.com/docs/studio-two/code-your-site/export-your-site/about-exporting-your-site-to-code.md) is currently in beta. This feature is subject to change and may have bugs, issues, and limitations. We're actively improving it based on your feedback.

</blockquote>

Creates a blank, unpublished Studio Two site in your Wix account and [exports](https://dev.wix.com/docs/wix-cli/cli-for-origami/command-reference/export-commands/origami-export-site.md) it to a local folder as code. For more information, see [About Exporting Your Site to Code](https://dev.wix.com/docs/studio-two/code-your-site/export-your-site/about-exporting-your-site-to-code.md).

The CLI prompts you for a name for the new site and suggests one based on the current date and time. After it creates the site, the CLI displays a link to the site and prompts you for a folder, suggesting `origami/sites/<site-id>` in the current folder.

> **Note:** This command is part of the `origami` flow. To use it, [add the flow](https://dev.wix.com/docs/wix-cli/cli/command-reference/global-commands/flows.md) to the CLI.

## Usage

```bash
wix origami create-site [flags]
```

## Flags

The following flags are available for the `wix origami create-site` command:

| Flag | Description |
| ---- | ----------- |
| `--name <name>` | The name of the new site. |
| `-d, --dir <path>` | The folder to export the site to. |
| `-y, --yes` | Replaces an existing folder without asking. |
| `--json` | Outputs the result in JSON format. |