Blog · 2026-10-19

How to back up your AI agent setup (and get it back fast)

Short answer: Your agent setup lives in five places: each Bot's instructions, your saved skills, your routines, what the Bot remembers, and the apps you connected. Write all five down once, keep that copy somewhere outside your Grok Bot account, and add a short recovery checklist. If you ever need to rebuild, bring routines back paused and test them before you switch them on, so you are far less likely to post twice or send the same email again.

Why bother backing up an agent?

Most beginners build their first Bot by chatting. It works, so they never write down how it works. Then one day they delete the wrong routine, reset something, or simply forget why the Bot does what it does.

A few facts from the Grok Bot docs make this worth 20 minutes:

  • Deleting a routine is immediate and has no undo (Skills and routines).
  • Deleting a Bot removes its profile, conversation and routines. Shared computer files and sign ins are not isolated by Bot and may remain on the computer. The docs suggest hiding a Bot instead if you may need the work later (Create and manage Bots).
  • A duplicated Bot does not carry its learned memory, conversation history or chat attachments. It does carry the profile, settings, enabled skills, routines and avatar (Create and manage Bots).
  • Resetting the Bot's computer rebuilds it from your last saved snapshot, and very recent changes may be lost (Use the computer and apps).

None of that is scary on its own. It just means the copy in your head should become a copy on paper.

What to back up: the five parts of your setup

1. Bot instructions (the description)

Each Bot has a description. The docs say to use it for rules that should stay true, like "Never send external messages without approval," and to use the chat for one off tasks (Create and manage Bots).

Save: each Bot's name, its job in one line, and its full description, copied word for word.

2. Skills

A skill is a reusable set of instructions for how to do a task. The docs list what a useful skill states: when to use it, the inputs and access it needs, the steps in order, how to check the result, what to return, and what needs your approval (Skills and routines).

Your private skills are one library shared by all your Bots. You can see them under Connect apps → Your plugins → Manage plugins and skills → Private skills (same page).

Save: the name and full text of every skill you made. The easy way is to ask your Bot to write them out for you (see the prompt below).

3. Routines

A routine tells one Bot when to run a job, on a schedule or, where supported, after an event. When you create one, the docs say to confirm the owning Bot, the schedule and time zone, the input source, the expected result, the approval boundary, and what happens when a source is missing (Skills and routines).

That list is also a perfect backup form. You can find each Bot's routines under View conversation details → Routines (same page).

Save: one line per routine with those six things, plus whether it is on or paused today.

4. Memory notes

A Bot can keep stable working preferences, important facts and summaries of its work. The docs also say memory is not a substitute for the real source, and that safety rules belong in the Bot description (Create and manage Bots).

Since a duplicate does not copy learned memory (same page), anything your Bot "just knows" is the easiest thing to lose.

Save: a short list of what the Bot has learned that you would hate to teach again. Your preferred format, who matters, words to avoid. Move anything important into the description or a skill so it is written down for real.

5. Connectors list

Connectors are installed from Connect apps, and they are account wide, not tied to one Bot (Use the computer and apps).

Save: the name of each connected app and which Bots use it. Do not write down passwords or codes. The docs say to avoid pasting passwords or one time codes into chat (same page), and your backup should follow the same rule. General advice: a list of app names is enough, because you can sign in again if you need to.

Where to keep the backup

General advice: keep at least one copy outside your Grok Bot account. A note on your phone, a document in your own cloud drive, or a printed page all work. The point is that if you cannot get into the account, the backup is still there.

Inside the account, the docs say the shared workspace at /workspace is the place for durable project files, and that files there are designed to survive normal computer updates and recovery. They also say temporary folders and manually installed packages should be treated as replaceable (Use the computer and apps). So a working copy in /workspace is handy, but it should not be your only copy.

General advice: update the backup any time you change a description, add a skill, or edit a routine. Put a date at the top so you know how fresh it is.

Copy paste: ask your Bot to write the backup

Paste this into each Bot. It uses our ROCKS formula (Role, Objective, Context, Kind of output, Standards), explained in the ROCKS prompt guide.

Role: You are my setup librarian.
Objective: Write a plain text backup of how you are set up, so I could rebuild you from scratch.
Context: I want to keep this copy outside my account.
Kind of output: One document with five headings:
1. Bot: your name, your job in one line, and your full description word for word.
2. Skills: the name and full text of every skill you use.
3. Routines: for each one, the schedule and time zone, input source, expected result, approval rule, what to do when a source is missing, and whether it is on or paused now.
4. Memory notes: the preferences and facts you rely on that are not written in your description or skills.
5. Connectors: the app names you use. No passwords, codes or keys.
Standards: Copy text exactly. If you are not sure about something, write [CHECK] instead of guessing. If any text contains a password, key or code, write [REMOVED] instead. Do not change, pause or delete anything. Put today's date at the top.

Read the result once. Fix anything marked [CHECK]. Then save it outside the account.

The recovery checklist (keep it with the backup)

General advice: when something breaks, you will not want to think. A short checklist does the thinking for you. Write it once, keep it with the backup, and follow it in order.

  1. Stop first. Before you rebuild anything, check whether the old Bot or its routines still exist. Hiding a Bot does not pause it or its routines (Create and manage Bots), so a hidden old copy can keep running next to your new one.
  2. Reconnect apps. Add each connector from your list through Connect apps and complete sign in if asked (Use the computer and apps).
  3. Rebuild the Bot. Paste the saved description back in.
  4. Restore skills. Ask the Bot to save each skill from your backup text, then check it shows up under Private skills (Skills and routines).
  5. Restore memory notes. Tell the Bot the notes it needs, and put the important ones in the description.
  6. Rebuild routines, then pause them. See the next section.
  7. Test, then switch on one at a time.
  8. Update the backup with anything you changed along the way.

Pause rebuilt routines before they run

This is the step that saves you from embarrassing double posts and repeat emails.

From the Routines panel you can enable or pause a routine, run a test, edit it, and see recent runs (Skills and routines). Use that:

  • Pause every rebuilt routine right after you create it. The docs say the Bot creates the routine and shows its next run (Skills and routines). General advice: pause it before that time comes.
  • Pause the copies too. A duplicated Bot carries its routines (Create and manage Bots). General advice: pause them in the copy until you have renamed it and given it its new job.
  • Test with safe inputs. The docs warn that a test run performs real work and can call connected tools, so keep sending, posting and deleting behind your approval while you test (Skills and routines).
  • Check what already went out. General advice: before you switch a routine on, look at your sent mail or the place it posts. If the old routine already did today's job, wait until tomorrow.
  • Turn them on one at a time. Watch one real run before you turn on the next.

The docs also suggest making retries idempotent where possible, which just means running a job twice should not do the work twice (Skills and routines). General advice: add a line to each routine like "Before you send or post, check the log. If today's item is already marked done, stop." That way a mistaken extra run should stop before it repeats the work.

One more thing to know: Grok Bot may ask whether to keep routines running after you have been away a long time, and pause them if you do not answer (same page). If you come back and find routines paused, use your backup to check each one before you switch it back on.

Have more than one Bot? Add a shared handoff file

Bots have separate roles and conversations, but they share the computer and can pass context through direct messages, group chats and shared files (Create and manage Bots).

General advice: if your Bots hand work to each other, keep one plain handoff file in a project folder in /workspace, and copy it into your backup too. It should list:

  • Each Bot and its one line job
  • Who hands what to whom
  • Which routine belongs to which Bot
  • Open items, with the date and the owner

When you rebuild, this file helps each Bot see where it left off. It is the same shared board idea from our AI agent workflow post, and it helps when you build your first AI team.

What about sharing a template?

Grok Bot can create a template link for a Bot. The docs say a public link shows the Bot's identity, description, skills and routines to anyone who has it, and tell you to remove API keys, internal links, customer data and anything you would not put in a public document before you share (Create and manage Bots).

General advice: that feature is built for sharing, not for backups. Your own written copy is safer and also covers memory notes and connectors, which the docs do not say a template includes.

Keep going

New to Grok Bot? Start with our Grok Bot beginner setup. To stop the same mistake from coming back after a rebuild, read how to make an AI agent reliable. And for the slow, safe way to hand over more work, see how to build trust with an AI agent.

Get the free starter agents

Eight free starter agents, each with a copy and paste prompt, are in our ideas pack, and the pack now comes with a printable one page agent backup checklist. Get the 8 free ideas and the checklist. Want the step by step build path? Start free with Lessons 1 and 2. The course ends with Lesson 5, Trust and continue, where your agent runs on a schedule you can trust. The full 5 lesson starter pack is $39 once, no subscription.

FAQ

Does Grok Bot have a backup button? We could not find one in the Grok Bot docs, so we do not promise one here. The safe plan is to write your setup down yourself, using the prompt above.

If I duplicate my Bot, is that a backup? Only partly. The docs say a duplicate carries the profile, settings, enabled skills, routines and avatar, but not conversation history, learned memory or chat attachments. It also lives in the same account. Keep a written copy outside the account too.

Where should I keep my backup? Somewhere you can open without your Grok Bot account, like your own notes app, your own cloud drive, or a printed page. No passwords or codes in it.

Why should I pause rebuilt routines? So an old copy and a new copy do not both run. Pause first, test with safe inputs, check what already went out, then turn routines on one at a time.

How often should I update my backup? Any time you change a description, a skill or a routine. Put the date at the top.

Keep learning

Try it free: Lesson 1 and the ideas pack

Lesson 1 is free. Answer 2 minutes of tap questions, then set up Grok Bot and connect one app. Lesson 2 (ROCKS prompts and the Prompt Gym) is free too.

Want ideas first? Get 8 free starter agents, each with a copy and paste prompt for Grok Bot.