AI CMS
Can an AI break your website? The guardrails of a safe AI CMS
Handing a client's website to an AI sounds risky. It is, unless the AI CMS is built so that the AI can only do small, visible, reversible things. Here is what those guardrails look like.

The first question agencies ask about an AI CMS is not "what can it do?". It is "what can it break?". Fair enough. You built the site, you host it, and when something goes wrong at 9 pm on a Saturday, it is your phone that rings.
An AI that rewrites files freely would be a bad idea. But a well-built AI CMS doesn't work that way. The AI is not let loose on your repository. It works through a small set of tools, every change is recorded with its "before", someone looks at it, and nothing goes live without a person pressing a button.
This article walks through those guardrails, using ClaudePress as the example. If you are new to the idea, start with what an AI CMS is.
What could actually go wrong
Let's be concrete about the risks. When a client asks an AI to "change the opening hours", these are the things you are worried about:
- It edits the wrong thing. The hours change on the contact page but not in the footer, or a price changes on the wrong product.
- It breaks the layout or the code. A missing bracket in a template and the whole site stops building.
- It invents content. The client asked for one sentence and got three paragraphs of marketing.
- It goes live unchecked. Nobody noticed until a customer did.
- It can't be undone. Or it can, but only by you, with git, late at night.
A safe AI CMS answers each of these with a design choice, not with a promise that the model is clever.
Guardrail 1: content-only tools, never code
In ClaudePress, the assistant does not get a shell or free access to your files. It gets a short list of content tools: read a page, search the site, edit a text, a list, a button or a photo, change a page's SEO title and description, set a product price, or hand the request over to the agency.
That's it. There is no tool to edit a template, a stylesheet or a script. So "it broke the build" is not something a client's request can cause. If the client asks for something the tools can't do, such as a new section or a menu change, the assistant says so and passes it to you as a request.
Permissions: you decide what each site's clients may change
Not every change is the same. For each site, you say what clients may change freely, what you approve first, and what stays with you:
| Kind of change | By default |
|---|---|
| Texts, photos, prices, blog articles and SEO texts of the pages | Free |
| Business details shown site-wide: address, phone, e-mail, opening hours | With the agency's approval |
| Menu labels and other texts shared by every page | With the agency's approval |
| Layout, new sections, forms, design, code | The agency's: the assistant passes the request on |
With approval, even a client who can publish sends the change to you first. A person you trust like your own team can be set to Everything, like the agency: every file of the site, no approval. That setting exists for your team, and it is clearly labelled as such.
Guardrail 2: every edit keeps its "before"
Each change the assistant makes is stored as an operation: where it is, what was there before, what is there after. That has three useful effects.
- It is checked against the live content. If the text the assistant meant to replace is no longer what's on the site, the change doesn't apply blindly.
- It can be shown. The client sees exactly what changed, word by word.
- It can be undone. Removing one change from a request, or reverting a published one, is a normal action, not an emergency.

Guardrail 3: a before/after on the real page
A diff is good for you. A client needs to see their own page. So every change can be opened on the page itself, before and after side by side, with the edited block outlined, on desktop or on mobile.
When someone wants the full picture, ClaudePress prepares a complete preview built with the site's own build command. That's the same build your host runs, so what you see is what will be published. More on this in the guide to previews and before/after.
Guardrail 4: approval, with roles that match real life
There are three roles in ClaudePress (more on the client approval workflow):
- Administrator: everything, on every site. That's you, the agency.
- Client who can publish: edits their site and publishes, and approves changes sent by others on that site.
- Client who prepares changes: makes changes and sends them for review. Someone else puts them online.
So the junior marketing person at your client's company can prepare the change, the owner approves it, or you do. When a change is waiting, the person who can approve it gets a notification.

If you want the full workflow, the article on stopping "small change" requests shows how agencies set these roles up in practice.
Guardrail 5: publishing is a git commit
When someone presses Publish, ClaudePress writes the change to the site's GitHub repository as a commit, signed with that person's name. Your host (Netlify, Vercel, Cloudflare Pages, Firebase, Hostinger, GitHub Pages and so on) then deploys it the way it always does.
That matters for safety in two ways:
- You have a full history in the tool you already use. Who changed what, and when, is in
git log. - Nothing bypasses your pipeline. If your build has checks, they still run. ClaudePress doesn't upload files to your server behind your back.
If you want to know why a repository is such a good home for website content, read git-based CMS explained.
Guardrail 6: the AI can't add facts on its own
The assistant is told to change what was asked, in the site's tone, and nothing more. When information is missing, it asks or flags it. In our own test on the Sodial site, the client asked for a sentence about holiday pre-orders. The assistant added the sentence, then pointed out that it couldn't find a pre-order page to link to, and asked for its address instead of guessing.
Each site also gets a short guide that you write in plain language: what clients may change, what should go to the agency, and the tone to use. The assistant follows it.
What about the data and the keys?
A safe AI CMS is also careful with what it stores.
- Your Claude API key, if you bring your own, is encrypted, never shown again after you save it, and only used for your account's sites.
- On the hosted plans, ClaudePress runs on Google Cloud in the EU and keeps no copy of your site: it reads content files through the GitHub API. Preview builds are deleted when a change is published or discarded, and after 3 days in any case.
- GitHub access goes through the ClaudePress GitHub App. You choose which repositories it may see, and it uses short-lived tokens.
One honest limit: previews run your site's build
To show a real preview, ClaudePress runs the site's own build. That's what makes previews trustworthy, but it also means the build scripts of that site run. For sites you built yourself, that's fine. Don't point ClaudePress at a site whose code you don't trust. We say this in the README too, because it's the kind of thing you should know before you start.
A quick checklist for any AI CMS
Whether you pick ClaudePress or something else, ask these questions before you let clients loose:
| Question | What a good answer looks like |
|---|---|
| Can the AI edit code? | No, or only for people you explicitly allow |
| Is every change shown before it goes live? | Yes, on the real page, not only as raw text |
| Who can publish? | Roles you set per person and per site |
| Can a change be undone? | Yes, one change at a time |
| Where does publishing go? | Through your repo and your usual deploy |
| Where is the data kept? | Clearly stated, with a region you can live with |
If you are comparing tools, our overview of the best CMS for static sites covers the main options.
The short answer
Can an AI break your website? An AI with free access to your files could. An AI CMS built around content-only tools, recorded changes, previews, approval and git commits can't do much damage, and anything it does is visible and reversible.
You can see the guardrails for yourself on a real site: create a free account for one site, or read the FAQ for the details on data, roles and licensing.


