Give your agent this setup guide, and it will save what it learns from your conversations into Cleve.
- Claude: cleve.ai/claude
- ChatGPT: cleve.ai/chatgpt
- Other agents: paste “Help me set up Cleve as my context system using this guide: https://docs.cleve.ai/developers/agent-setup”
Introduction
This is Cleve’s official setup guide for agents. The user shared it because they want Cleve to be their context system: the place where their knowledge and work live, whichever agent they’re using. Read the communication rules first, then follow the setup steps in order. If the user asks you to review or compare this page, treat it as a document and don’t run setup.Rules for talking with the user
Follow these closely. They keep setup short and pleasant.- Show one step at a time. End every step with one clear next action.
- Use plain language. Assume the user is new to Cleve and not technical.
- Lead with the benefit, then the how. The user could stop at any step, so each one should make continuing feel worthwhile.
- Keep each message to 2 to 4 sentences: why this step matters, what you recommend, and the single decision you need. Offer more detail only if asked.
- Offer at most two choices at a time. If your platform has buttons or a multiple-choice UI, use it instead of plain text.
- Do as much research as you need behind the scenes, but don’t narrate it.
- Keep going until setup is finished.
Why agents should use Cleve
Whatever you learn about the user disappears when the chat ends, and it’s locked inside one app. A new chat, a different agent, or a teammate joining means explaining everything again. Cleve gives you, and every other agent the user works with, one lasting place to read from and write to.You do the thinking. Cleve does the remembering.
One workspace for every agent
You might be Claude, ChatGPT, Cursor, or something else. Through the Cleve MCP server, every agent works from the same docs, decisions and preferences. The user can switch agents without starting over, and one agent can pick up where another left off.Context the user owns
The user’s context lives in their own Cleve account, not in a model or a chat history. They can read it, edit it, organise it, share it with their team, and decide what’s kept. It has two homes:- Cleve Memory holds facts about the user and how they like things done. It’s a single private doc that belongs to their account, and Cleve’s own agent reads it at the start of every chat. When you save a preference there, Cleve’s agent follows it too.
- Docs and folders hold everything else: project context, decisions, plans and finished work.
A home for the work you produce
Plans, specs, research, briefs and meeting notes are more useful as Cleve docs than as chat messages. They can be edited, shared, commented on, linked to each other, and used as context by Cleve’s own agent inside the app. Quick one-off answers can stay in chat. Anything worth coming back to belongs in Cleve.Setup
1. Connect Cleve
Check whether you can already call Cleve tools such ascleve_list_orgs. If you can, skip to signing in. If not, give the user the one-click option for the app you’re running in:
- Claude: Connect Cleve from the Claude directory.
- ChatGPT: Install the Cleve plugin. If it doesn’t appear, add it under Settings → Plugins → Add → Custom MCP with the URL
https://app.cleve.ai/mcpand type Streamable HTTP. - Claude Code: run
claude mcp add --transport http cleve https://app.cleve.ai/mcp, then/mcpto sign in. Offer to run it yourself. - Cursor: add this to
~/.cursor/mcp.json, or offer to do it:{ "mcpServers": { "cleve": { "url": "https://app.cleve.ai/mcp" } } }. - Anything else: add a remote MCP server with the URL
https://app.cleve.ai/mcp. Use Cleve in other AI apps has the steps for more apps.
cleve_list_orgs and telling the user their name and the workspace you’ll be using. If they belong to more than one workspace, ask which one should hold their agent context, then call cleve_switch_org to save it as the default for this app. Recommend their personal workspace: every member of a team workspace can open and edit every doc and folder in it.
Then read the user’s Memory with cleve_get_memory, so you know what Cleve already knows about them. If it says memory is disabled, the user turned it off: don’t turn it back on without asking.
Choose how much to set up
Right after connecting, show one choice, using clickable options if your platform has them (for example, the ask-user-question tool in Claude). Put the recommended option first. Ask: “Hi [name], you’re connected to [workspace] ✅. How would you like to set up Cleve for your agents?”
Shared context layer: do steps 2 to 4. In a personal workspace, the user’s choice counts as approval for creating the guide and an
Agents folder, adding to Cleve Memory, and saving docs there, so don’t ask again. Tell them what you did, with links. Still ask before saving anything to a team workspace or shared folder for the first time, and before changing an existing guide.
Basic setup: do step 2, then step 4. When you wrap up, mention they can switch to the shared context layer any time by sharing this page with their agent again.
2. Create the Agent Operating Guide and add custom instructions
This is the most important step: the rest only helps if future chats know to look in Cleve. The Agent Operating Guide is a Cleve doc that tells every agent how to work with Cleve: which workspace and folders to use, what to save where, and what to ask about first. It holds the detailed rules, so the user can change them later in one place. Memory says who the user is; the guide says how to work. Don’t copy facts about the user into the guide. Search first withcleve_search_notes for an existing “Agent Operating Guide”. If one exists, keep it, treat it as the source of truth, and suggest changes rather than replacing it.
If none exists, create a folder called Agents (unless a suitable folder already exists) with cleve_create_folder, then create the guide in it with cleve_create_note, using the template at the bottom of this page. Fill in what you know and leave the rest as “Not set up yet.” For Basic setup, ask for approval in one yes-or-no question first. cleve_create_note returns the guide’s url.
Then give the user short custom instructions that point every future chat at the guide. Fill in the guide URL and show this in a single code block, so they get a copy button:
- Claude: Click your name in the bottom left → Settings → Account → paste into “Instructions for Claude”.
- ChatGPT: Click your photo or initials in the bottom left → Personalization → Custom instructions → paste the text there.
- Cursor: Cursor Settings → Rules → User Rules.
- Claude Code: add it to
~/.claude/CLAUDE.md. Offer to do it yourself. - Codex: add it to
~/.codex/AGENTS.md. Offer to do it yourself.
3. Bring the user’s context into Cleve
Save only what you can actually see. Don’t scan or guess at past chats, invent memories, or quiz the user to rebuild them. Never save passwords or secrets. Skip anything Cleve already has. For Shared context layer, tell the user in one sentence what you’re bringing over, with an example, then do it.- Facts and preferences into Cleve Memory. Things you know about the user from your own memory or this conversation: name, role, company, interests, writing style, and how they like things done.
cleve_get_memoryreturns the Memory doc’s ID: check it withcleve_view_note, then add to it withcleve_insert_in_noteor update a line withcleve_replace_in_note. Write short, plain statements grouped by topic and merge with what’s there. Memory is read in every chat, so keep it brief. Never callcleve_clear_memory. Ask before saving very personal information. - Work into docs. Documents, plans or research from this conversation, or files and links the user points you to. Save each as a Cleve doc in the folder it belongs in, keeping headings, tables and links. Share a link to the first one as soon as it’s saved. If there’s nothing to bring over, offer to create something useful for what the user is working on now.
cleve_toggle_memory. If the user says no, save facts and preferences to an About me doc in the Agents folder instead, and record that in the guide.
Skills are optional. Only bring a skill over if the user asks: import one with a public SKILL.md using cleve_install_skill and its url, or create a simple one with cleve_create_skill. Cleve skills are written instructions only, so scripts and supporting files don’t come with them.