Build with AI

# Build a website with *AI*

## CCMS Core comes with step-by-step instructions written for AI coding agents. Coming soon: start from an empty folder with one sentence.

How it works Instructions for AI agents

- Coming soon **I want to ccms.build a new website!**
- Made for **AI coding agents**
- Needs **Node.js 22.12 or later**
- Tested on **macOS**

Today

## What your agent gets today.

- Instructions that match the code CCMS Core comes with step-by-step instructions written for AI coding agents. Agents read them from the exact Core version installed in each site.
- Quick or Detailed Onboarding starts with one question. Detailed takes more questions and gives a better first draft.
- Builds on your computer The agent builds and previews the site on your own computer. You need a CCMS account only to use CCMS services.
- Errors it can fix When something is wrong, the build names the error code and the file, so the agent can fix it and build again.
- A gate before launch The publish gate stops an agent from launching starter placeholder text, untranslated pages or unreviewed page schema. A failed build never replaces the last working site.
- What it needs CCMS Core needs Node.js 22.12 or later, and macOS is the tested platform. Under License 2.0, from Core 3.0.0-beta.12, AI assistants may install and run Core for you.

For you (coming soon)

## One sentence. One yes. Then you build.

You don’t need to know any commands. Your agent reads the instructions on ccms.build, explains its plan, waits for your yes and builds the site with you.

The public release is coming soon. For early access, write to [hello@ccms.build](mailto:hello@ccms.build).

1. Open your AI tool Open Codex, Claude Code or another AI coding tool that can work with files and run commands. Any folder will do; a new, empty one is fine.
2. Type one sentence Tell your agent `I want to ccms.build a new website!`. That is all it takes to get started.
3. Say yes to the plan Your agent explains what it will do and waits for your yes: your sites go in a folder called ccms-sites, on your Desktop unless you already have one, with your first site inside it.
4. Choose Quick or Detailed Quick: you answer one question and get a first draft. Detailed: you go through the facts and your material first, and the first draft is better.

Next time, open the ccms-sites folder in your AI tool and ask for a new site. Building your sites and looking at them on your own computer needs no account. When you want to publish, your agent helps you connect a site to CCMS.

For AI agents

## For you, the AI agent

“I want to ccms.build a new website!” means: build the site with CCMS, starting at https://ccms.build. Have you been asked that? Follow these steps in order. Explain your plan and wait for the person’s yes before you create anything, and never publish unless the person asks you to. Once the site exists, its `AGENTS.md` decides what needs the person’s yes.

The public release is coming soon. For early access, write to [hello@ccms.build](mailto:hello@ccms.build).

The command that creates the site (coming soon)

```
npm create ccms@latest
```

1. **Check Node.js.** CCMS needs Node.js 22.12 or later. Run `node --version`. If Node.js is missing or older, ask the person to install a current version first.
2. **Explain the plan and get a yes.** Tell the person in a few plain sentences that their sites go in a folder called `ccms-sites`, on the Desktop unless they already have one, and that you will create the first site inside it. Wait for a yes.
3. **Create the site.** This step works once the public release is out (coming soon). Run `npm create ccms@latest`; `npx @cehlinsolutions/ccms-core@latest init` does the same. It finds the person’s `ccms-sites` folder, or creates one on the Desktop after asking, and creates the site in a new subfolder with its own `AGENTS.md`, its own Core and its own Git. Your AI tool may ask the person to allow writing outside the current folder.
4. **Read AGENTS.md and follow it.** Open `AGENTS.md` in the new site folder before you do anything else, and from now on run every command in that folder. It starts the onboarding, where the person chooses Quick or Detailed. `npm run build` and `npm run preview` work without an account.
5. **Publish only when the person asks.** Follow `AGENTS.md`; it leads to the publishing instructions. The person signs in once with `npx ccms login` in the site folder and approves the code; you never handle the code. Then run `npx ccms connect --project <id>` with the project the person names; `npx ccms connect --list` shows the projects.
6. **Next time.** Tell the person to open the `ccms-sites` folder in their AI tool and ask for a new site. Its `AGENTS.md` knows how.

[Read the documentation](https://docs.ccms.build/getting-started/)

## Questions about building with AI

The short answers, before you type that sentence.

### Which AI tools work?

CCMS is made for AI coding tools that can read files and run commands in a folder on your computer, such as Codex and Claude Code. You use your own subscription with the AI provider.

### Do I need an account?

Not to build the site and look at it on your own computer. You need a CCMS account only to use CCMS services.

### What does my computer need?

Node.js 22.12 or later, and an AI coding tool. macOS is the tested platform. Your agent checks the version for you and tells you if something is missing.

### Will the agent run commands without asking?

The instructions tell the agent to explain its plan and wait for your yes before it creates anything, and never to publish unless you ask. While it builds, it runs the build commands itself, and your AI tool may ask you to approve them.

### Where does the site end up?

In a folder on your computer. Each site has its own folder, with JSON for the content and your original pictures. CCMS builds them into a fast, static website.
