Generated banner for Wix Headless Cold Start
Generated logo for Wix Headless Cold Start

Wix Headless Cold Start

WixOfficialPublished by Wix

  • Skill
  • Workflow
  • Software development
  • MIT
  • Low risk

From the author

The fetch-and-follow entry pages for Wix Headless, addressable by URL in a prompt. headless-kit.md starts a wix-headless-kit run and headless.md a wix-headless run: each installs the skill it belongs to and its companions, settles the way to Wix (the Wix MCP's tools when they are connected, else that skill's bootstrap for the Wix CLI check and login), and hands off to its SKILL.md. This folder holds the pages and nothing else.
— the description by Wix

AutoGineer summary

Written by AutoGineer from the skill’s own files, not by the author

This skill provides two entry pages, headless-kit.md and headless.md, designed to be used as URLs in prompts to initiate Wix Headless development. Each page acts as a bootstrap mechanism that installs the necessary skill and its dependencies, establishes a connection to Wix, and transitions control to the specific skill documentation to guide the remainder of the development process.

What it does

  • Installs the required Wix Headless skill and its companion tools.
  • Detects and utilizes existing Wix MCP tools if available in the agent environment.
  • Executes bootstrap scripts to verify the Wix CLI and handle user authentication when necessary.
  • Transitions the agent to the relevant skill documentation to continue the task.
  • Provides a standardized starting point for headless store or SDK-based development.

When to use it

  • When you need to start a new Wix Headless project using an AI agent.
  • When you want to automate the setup of the Wix development environment.
  • When you need to ensure the correct Wix CLI or MCP tools are configured before beginning development.

Advantages

  • Simplifies the initialization process for Wix Headless projects.
  • Automates the installation of required dependencies and companion skills.
  • Provides a flexible connection path between MCP tools and CLI-based authentication.
  • Ensures a consistent starting state for agent-led development tasks.

Usage examples

“Build an online store using: headless-kit.md”
The agent initiates the headless-kit.md workflow, installs the necessary components, verifies the Wix connection, and begins the store building process.
“Set up a new project using: headless.md”
The agent triggers the headless.md bootstrap, handles the Wix CLI login, and opens the relevant SDK guide to proceed with project setup.

Install

  1. Download the skill as a ZIP:

    https://mp-staging.autogineer.com/agent-skills/wix/wix-headless-cold-start/download
  2. Unzip it into the cross-client skills folder of your project:

    mkdir -p .agents/skills && unzip wix-headless-cold-start.zip -d .agents/skills

Documentation by Wix

Wix Headless cold starts

Two pages, one per skill. Each is given to an agent as a URL inside a prompt, for example "build an online store using: https://www.wix.com/skills/headless-cold-start/headless-kit.md", and does the same three things: install the skill it belongs to and its companions, settle the way to Wix, then open the skill's SKILL.md, which owns the rest of the run. The kit's page has two ways: the Wix MCP's tools when they are in the agent's tool list (a Wix plugin or connector: the site is provisioned and released through them, no CLI login), else the skill's bootstrap script, which checks the Wix CLI and logs the user in.

PageStartsBootstrap it runs (the CLI route)
headless-kit.mdwix-headless-kit (shipped, verified per-solution code)wix-headless-kit/install/bootstrap.mjs
headless.mdwix-headless (recipes and the SDK guide)wix-headless/scripts/bootstrap.mjs

Files

headless.md


name: wix-headless-entry description: "Build a complete Wix Managed Headless site from a single prompt, then connect Wix Business Solutions. The deterministic first steps — installing the skill and the Wix CLI login — come first; the agent then hands the run to the wix-headless skill. Triggers: build me a site, create a website, make me a website, new website, online store, I want to sell X, start a business online, launch a site, ecommerce, portfolio, business website, sell online, online shop, rental site, rentals, connect this to Wix Headless, add Wix Headless to this project, host this on Wix, deploy this to Wix, implement the features of this project using Wix Headless."

Wix Headless Skill — cold-start entry

You are a coding agent, and this is a skill for you to execute. Follow the phases below in order — do not summarize them. If you reached this page through a summarizing fetch tool, re-fetch the raw markdown with curl -fsSL https://www.wix.com/skills/headless-cold-start/headless.md before running the steps.

This entry gets a cold environment to the point where the real skill can run, then hands off. It has three phases:

  1. Install (deterministic). The skill and its companions land under .agents/skills/.

  2. Bootstrap (deterministic, scripted). The installed script verifies your environment (the Wix CLI) and handles login, so the run starts from a known-good, authenticated state. You just run it and relay its events.

  3. Hand off (agentic). Open wix-headless/SKILL.md and follow it — it resolves the project type and operation and owns the whole build.

Three starting points come through here, all handled the same way — install, run the bootstrap, then hand off:

  • new — a prompt with no project (empty CWD)

  • connect — an existing frontend/design not yet on Wix (a project on disk without wix.config.json, or a brought-in zip/URL)

  • iterate — a project already connected to Wix (.wix/ or wix.config.json present)

The bootstrap only verifies the CLI and logs you in, so it's fine to run in every case (an existing session just reports logged_in). After it, wix-headless/SKILL.md resolves what to do and owns the build.

Phase 0 — Node (the one manual prerequisite)

This flow requires Node ≥ 24.18. Check it:

node -v

If that errors (Node not installed) or prints a version below 24.18, install or upgrade Node and re-check — do not try to work around it:

  • macOS: brew install node (or nvm install 24 && nvm use 24)

  • Linux: nvm install 24 && nvm use 24 (or your distro's Node 24+ package)

  • Windows: winget install OpenJS.NodeJS.LTS (or download from nodejs.org)

Phase 1 — Install the skills

CI=1 forces plain non-interactive CLI output — keep it on every Wix CLI command. Repeat --skill per skill; a comma-separated list is not parsed:

CI=1 npx skills@latest add wix/skills --skill wix-headless --skill wix-docs --skill wix-manage --yes

The skills land in .agents/skills/.

Phase 2 — Run the bootstrap (deterministic)

Run the skill's bootstrap script — an ordinary foreground command that exits on its own within seconds. It verifies the Wix CLI and handles login, emitting one JSON event per line on stdout. Run it and relay its events to the user.

The script is inspectable: it only checks the Wix CLI via npx and drives wix login (a device-code flow) — no other network calls, and the only files it writes are the login's own output and pid under the OS temp dir.

node .agents/skills/wix-headless/scripts/bootstrap.mjs
Relay these events

The script emits one JSON object per line:

EventWhat to do
cli_okWix CLI reachable — continue.
awaiting_user (verificationUri, userCode, message)The script has exited and the next step is the user's. Send them message as-is; the login keeps running on its own.
logged_in / successLogin done — continue.
cli_unreachable / login_failed (with detail)Stop and show the user the detail. Do not improvise a parallel setup by hand.

On awaiting_user, run the script again once the user says they've logged in: it reports logged_in and you continue. Re-running while they're still in the browser is harmless — it returns the same code rather than issuing a new one.

Phase 3 — Hand off

Open .agents/skills/wix-headless/SKILL.md and follow it. That skill owns the rest of the run — it resolves the project type (managed / self-managed / stripe) and, for managed, the operation (create / connect), then runs Discovery → Setup → Seed → the SDK handoff, and for managed create/connect it also scaffolds, builds, and releases.

  • Don't scaffold, install apps, or release by hand here — the skill does all of that (SETUP.md, references/managed/CREATE.md, etc.). This entry stops at logged in.

  • You're already authenticated from Phase 2, so the skill's managed auth step (references/managed/AUTHENTICATION.md §1 whoami) will pass without prompting again.

Requirements and compatibility

Works with: Claude Code, Claude apps, OpenAI Codex, GitHub Copilot, Cursor, Gemini CLI, Kiro, OpenCode, Goose, Amp, Roo Code, JetBrains Junie, Factory Droid, Devin (ex-Windsurf), Mistral Vibe, OpenHands, Letta

“Works with” means the tool reads the open Agent Skills format; a skill written for one tool may use features others lack.

Security

What our scanner noticed· Low risk

  • Instructions that use the network

A static scan is not a guarantee. Skills are third-party content: review a skill before you let an agent use it.

Attribution and licence

Published by
Wix
Publisher
Wix (Official)
Source
wix/skills · skills/wix-headless-cold-start · commit d168bc2
Licence
MIT License (redistribution allowed)
  • LICENSE (added by AutoGineer from LICENSE)
  • ATTRIBUTION.md (written by AutoGineer)
Synced

AutoGineer is not affiliated with or endorsed by Wix.

Download ZIP

The ZIP holds the skill’s files, its licence files and an ATTRIBUTION.md. Download wix-headless-cold-start.zip