Ask an AI agent to write the "what's new" post for a release that ships today. It searches the web. The web has nothing, because the release is not public yet. So the agent writes around the gap, or it guesses.
Now give it one file: the release notes, written by the people who built the release. The same request gives a different answer. It names what changed, what was fixed, the date and the systems the release runs on.
Web search did not fail. It answered a different question. Web search finds what is already published. The facts that make your site specific are often the ones nobody has published yet:
| What the agent needs | Can web search find it? |
|---|---|
| Facts about your field that others have written about | Yes |
| What ships next week | No. It is not on the web yet |
| How a feature works, and where it stops | Seldom. The full detail is in your specs |
| A fact you changed last month | Sometimes the old version, from your own site |
| Your words, and the words you never use | No |
Those facts already sit on your computer: product specs, release notes, presentations, legal PDFs. This post shows how we give the agent those files on splitleaf.eu, step by step.
A longer prompt is the wrong fix
The usual advice is to write a better prompt. Paste in the brand guide. Paste in the product specs. Explain the product again.
That works once. Then three things go wrong:
- Each chat starts new. The prompt you wrote on Monday is gone on Tuesday. You paste it again.
- The paste goes out of date. A feature changes in the spec. The copy in last week's prompt does not.
- You become the context. Every fact the agent knows, you typed. You are back to doing the work.
We made the same case for content tools in Agentic CMS: the context problem nobody solves. Every upload is a copy, and copies go out of date. This post is the practical half: the three places your business files should go, so you stop typing them.
| What you have | Where it goes | How often you set it up |
|---|---|---|
| Folders of business files: specs, release notes, presentations | A linked folder | Once |
| Rules: words to use, words to avoid, how a post looks | Site rules and collection rules | Once, then add as you go |
| One file for one task: a client brief, a contract, a deck | An attachment in the chat | Each time |
Step 1: Link the folders the facts live in
A linked folder is a folder on your computer that the agent can read. It stays where it is. You do not upload it, and the agent reads the current version every time.
To link one:
- Open the Assets panel.
- Click + next to Local.
- Select the folder.
This is what we link on splitleaf.eu:
| Folder | What is in it | What the agent uses it for |
|---|---|---|
| Specifications | How each feature works, with its limits | Checking each claim about the app before it goes on the site |
| Releases | One folder for each of 37 versions, each with its release notes | The changelog and "what's new" copy |
| Presentations | Our slide decks | Positioning and the words we use for the product |
| Legal | Terms, privacy policy and data processing agreement | Answers to questions about data and contracts |
The agent read the specifications folder to write the limits in Step 3 of this post. It did not guess them.
The rules a linked folder follows
From the docs:
- The agent lists, searches and reads the files in a linked folder.
- It can copy a file from the folder into your site's assets, for example a product photo.
- It never writes to a linked folder. It never renames or deletes a file there.
- It never reads credential files or secret files there.
- Your team does not see your linked folders. They are private to your computer.
What never to put there
When the agent reads a file, the text of that file goes to the AI provider that runs the agent. The file stays on your computer, but its words travel. So link folders of facts you would put on a website. Leave out:
- Contracts and files with your clients' personal data.
- Payroll, HR and health files.
- Passwords and keys. The agent skips credential files, but a password in a note called
ideas.txtis just text.
A good test: would you paste this file into an AI chat? If not, do not link the folder it is in.
Step 2: Write the rules once
A linked folder gives the agent facts. Rules tell it how to use them. Each chat starts new, but your rules do not: the agent reads the rules of your site in every chat, with every engine.
There are two levels:
| Rules for | Where you edit them | File in your site folder |
|---|---|---|
| The whole site | Site settings, Agent instructions | AGENTS.md |
| One collection, such as the blog | Content panel, Edit collection, Skill | content/<collection>/SKILL.md |
Both are plain Markdown files in your site folder. They go to your team with the site, and they are never on the live site. AGENTS.md is an open format that other coding agents also read, so your rules are not locked to one tool.
Our real site rules
These are the rules in the AGENTS.md of splitleaf.eu today:
- Never put a small label above a heading. Headings stand alone.
- Write "your own API key", and say what the person does. Example: "Connect using your own API key and pay the provider for usage directly."
- Quote the exact price of our AI credits only on the pricing page, or in a direct comparison of the ways to run the agent. Everywhere else, say "packs from $10 to $100".
None of these rules are clever. They are the small things a new copywriter gets wrong in week one, and an agent gets wrong in every chat until you write them down.
Our blog rules
The Blog collection has its own rules. A few of them: no em dashes, sentence case in every heading, no year in a title, and every claim links to its source. This post was written under those rules. You can check.
Rules the agent remembers
When you correct the agent, it can offer to keep the correction. A card shows Remember this? with the rule in one sentence. Select Yes, remember it, and the rule goes into AGENTS.md or into the collection's rules. Select No, just this time, and nothing is written. You do not need to sit down and write a style guide. Correct the agent as you work, and the rules add up.
Step 3: Attach the file for one task
Some files belong to one task, not to every chat. A client brief. A contract you want summarized for an FAQ. A deck from a partner.
Drop the file into the chat, or click + and then Attach files. From the docs and our attachment spec:
| File | What the agent does |
|---|---|
| Reads it, up to 20 MB | |
| Image | Sees it, up to 5 MB. It can also place it on a page |
| Text, Markdown, HTML, CSS, JSON | Reads it |
| CSV | Reads the rows. Example: turn a price list into CMS items |
| Zip | Opens it as a folder |
One message takes up to 10 files. CSV and zip files have a separate limit of 200. A larger PDF or image still attaches: the agent can put it on your site, but it cannot see what is in it.
Two limits to know:
- Word, PowerPoint and Keynote files do not attach. Export the deck or document as a PDF first.
- PDFs in a linked folder depend on how you run the agent. On Claude Code, the agent opens PDFs and images in a linked folder directly. On Splitleaf Credits or your own API key, it cannot read a PDF in a linked folder. Drag the PDF from the Assets panel into the chat to attach it.
What it looks like on a real task
Splitleaf 0.3.3 is dated 4 December 2026. Its notes are one Markdown file in the linked releases folder: what changed, what was fixed, the date, the channel and the systems it runs on. On that date, no page on the web had those facts. Our own changelog stopped at 0.3.2.
When a version ships, the work goes in this order:
- The people who built it write the notes. One file in the release folder. This is the only step where a person writes the facts.
- We ask the agent for the changelog entry. One sentence: "Write the changelog for 0.3.3 from the release notes."
- The agent reads the file and the rules. It reads the release notes, and the rules of the Releases collection: the format, the order of the sections, the words to avoid. A web search could not help here. The answer is not on the web yet.
- Every edit waits for review. The agent stages the new entry. We read it in the review list, and keep or undo it. Nothing goes live until we publish.
The prompt in step 2 is one sentence. It can be short because the facts are in the file and the rules are in the collection. The agent does not need us to explain what changed, or how a changelog entry looks.
The short version
- Let web search find what is already public. Give the agent files for what is not.
- Put the facts in folders, and link them once.
- Put the rules in
AGENTS.mdand in your collection rules, and add to them each time you correct the agent. - Attach a file when it belongs to one task.
- Keep the prompt for the task itself.
This post is one part of how to build a website with Claude Code, and run it after launch. To see what the agent can read and do in Splitleaf, go to the build with agents page.