ask-matt
MAmattpocock/skills336k近 7 天新增 4,217 个 star
Export the user's Grok Bot agents into one .zip file that OpenBot imports, with instructions, avatars, skills, routines, memories, group chats, and optional workspace files. Use when the user asks to export, move, or migrate their agents to OpenBot.
Make one .zip file that the user opens in OpenBot at Server settings → Import. OpenBot reads
it on the user's computer. Nothing is uploaded. The format is strict: OpenBot rejects the whole
file when the manifest is invalid, so follow the format below exactly.
Find the agents. List every agent the user has in Grok Bot. For each agent, collect:
SKILL.md and the files it uses;Do not export the agent that runs this skill. It exists only to make the export, so leave it out
of the agent list and out of openbot-import.json, even when the user asks for all agents. Also
leave this skill (openbot-export) out of every agent's skills.
Also list every group chat, where several agents talk together. OpenBot imports a group chat as a channel. For each group chat, collect:
If you cannot read a part, tell the user what you could not export. Do not guess its contents.
Ask about files. Show the list of agents, the group chats, and the total size of the workspace files. Ask: "Include workspace files? (yes / no)". Also ask whether to export all agents and group chats or only some. Wait for the answer before you continue. Export every group chat, including one with only one other agent. Leave one out only when none of its agents are exported.
Leave out folders that a tool makes again from the other files, and do not count them in the
size: node_modules, .git, .venv, venv, __pycache__, .pytest_cache, .mypy_cache,
.next, .nuxt, dist, build, target, .gradle, .cache, and coverage. Also leave out
.DS_Store files. When a folder with one of these names holds the user's own work, ask before
you leave it out.
Write memories. From each agent's chats, write at most 50 short facts that the agent must keep: user preferences, names, recurring tasks, decisions, and open work. One fact per memory, 500 characters or fewer, written as a statement ("The user reports in EUR."). Do not copy whole messages. Do not include secrets. For each group chat, write at most 32 facts the same way.
Remove secrets. Do not export .env files, private keys, API keys, tokens, passwords, or
cookies, in files or in instructions. Replace a secret in instructions with
<ask the user for …>. OpenBot rejects the archive if it contains a file named .env* or
*private*key*, or a nested archive (.zip, .tar, .gz, .7z, .rar), so leave those out.
Build the folder (see Format) and write openbot-import.json last.
OpenBot puts the files of agents/<key>/files/ in imported/ in the agent's workspace. In
instructions and routine instructions, change each absolute path to a file that you export to
its new place: /workspace/notes/plan.md becomes imported/notes/plan.md when the file is at
agents/<key>/files/notes/plan.md. Keep a path to a file that you do not export, and tell the
user about it in step 7.
Check it with the checklist below. Then zip the folder contents into
~/Downloads/.openbot-export-<YYYY-MM-DD>.zip.part. When the zip is complete, rename it to
~/Downloads/openbot-export-<YYYY-MM-DD>.zip. The rename replaces an older export with the
same name in one step, so OpenBot never reads a half-written file.
Tell the user, only after the rename, the path, the number of agents and group chats, and anything you left out or changed: each task that starts on an event, with what starts it, and each path that you kept. Tell them to open OpenBot, go to Server settings → Import, and choose the file.
openbot-import.json
agents/<key>/avatar.png optional; PNG, JPEG, or WebP, 512 KB or less
agents/<key>/skills/<skill>/SKILL.md one folder for each skill
agents/<key>/files/… optional workspace files
<key> is a short unique ID for the agent: lowercase letters, digits, and hyphens, such as
research or sales-outbound. It has 64 characters or fewer, and it does not start or end with a
hyphen. When you make a key from a long agent name, keep only the first words. All paths for an
agent must start with agents/<key>/.
openbot-import.json:
{
"format": "openbot-agent-import",
"version": 1,
"source": { "app": "grok-bot", "exportedAt": "2026-09-23T10:00:00Z" },
"agents": [
{
"key": "research",
"name": "Research",
"title": "Market research analyst",
"description": "You find sources, compare competitors, and write short cited briefs…",
"avatar": "agents/research/avatar.png",
"skills": ["agents/research/skills/web-brief"],
"routines": [
{
"name": "Morning digest",
"instruction": "Summarize yesterday's news about our competitors.",
"active": true,
"timezone": "Europe/Warsaw",
"schedule": { "kind": "weekdays", "time": "08:30" }
}
],
"memories": ["The user reports in EUR.", "Competitors to watch: Acme, Globex."],
"files": "agents/research/files"
}
],
"channels": [
{
"key": "market-desk",
"name": "Market desk",
"title": "Weekly competitor review",
"instructions": "Research finds the news, Sales says what it means for open deals.",
"members": ["research", "sales-outbound"],
"lead": "research",
"routines": [
{
"name": "Friday review",
"instruction": "Review this week's competitor news and agree on three actions.",
"active": true,
"timezone": "Europe/Warsaw",
"schedule": { "kind": "weekly", "weekday": 5, "time": "15:00" }
}
],
"memories": ["The user wants actions, not summaries."]
}
]
}
channels is optional. Leave it out, or use [], when there are no group chats.
Field rules:
| Field | Rule |
|---|---|
name | Required. 80 characters or fewer. |
title | Optional. 120 characters or fewer. |
description | Required. The agent's instructions, 2,000 characters or fewer. If they are longer, write the full text to agents/<key>/files/INSTRUCTIONS.md, set files, and put a summary here that tells the agent to read imported/INSTRUCTIONS.md. |
avatar | Path or null. |
skills | Up to 32 folder paths. Each folder has SKILL.md at its root, which starts with YAML frontmatter that has name (80 characters or fewer) and description. Each skill folder is 10 MB and 200 files or fewer. |
routines | Up to 64. name is 80 characters or fewer. instruction is the prompt that runs. timezone is an IANA name, such as America/New_York. |
memories | Up to 64 strings, 500 characters or fewer each. |
files | Folder path or null. OpenBot copies it to imported/ in the agent's workspace. |
Channel field rules:
| Field | Rule |
|---|---|
key | Required. The same rules as an agent key, and unique among the channels. |
name | Required. 80 characters or fewer. |
title | Optional. 120 characters or fewer. |
instructions | Optional. The group chat's shared instructions, 2,000 characters or fewer. |
members | Required. The key of each agent in the group chat. Use only agents in this export, at least one. Count every agent in the group chat, including the agent it is named after. Never the agent that runs this skill. |
lead | Optional. The key of one member, or null. |
routines | Up to 64, in the same shape as agent routines. |
memories | Up to 32 strings, 500 characters or fewer each. |
A channel has no folder in the archive. Up to 100 channels.
The whole archive must have 200,000 files or fewer. It has no size limit, but the computer that imports it needs free disk space for the workspace files.
Use one of these shapes. Times are 24-hour HH:MM in the routine's time zone. Days of the week are
0 (Sunday) to 6 (Saturday). A schedule cannot run more often than every 3 minutes.
| Schedule | JSON |
|---|---|
| Every hour at minute 15 | { "kind": "hourly", "minute": 15 } |
| Every day | { "kind": "daily", "time": "09:00" } |
| Monday to Friday | { "kind": "weekdays", "time": "09:00" } |
| Every week | { "kind": "weekly", "weekday": 1, "time": "09:00" } |
| Every month | { "kind": "monthly", "day": 1, "time": "09:00" } |
| Every N minutes, hours, or days | { "kind": "interval", "amount": 30, "unit": "minutes" } |
| Cron expression | { "kind": "custom", "expression": "0 9 * * 1-5" } |
When a schedule does not fit a shape, use custom with a cron expression. OpenBot skips a routine
with an invalid schedule and tells the user; the rest of the agent still imports.
A routine has one schedule. When a task has more than one schedule, make one routine for each
schedule, with the same instruction, time zone, and on or off state. Add a number to each name,
such as Gmail check (1/3), and shorten the name if necessary to keep it 80 characters or fewer. Do
not merge schedules into one, and do not leave one out.
A task that starts on an event, such as a webhook, an email, or a new message, has no schedule. Do
not put it in routines, and do not make up a schedule for it. For an agent, write each such task
to agents/<key>/files/EVENT-TASKS.md, with its name, what starts it, and its full prompt, and set
files. Do not write webhook addresses with keys, or other secrets. For a group chat, tell the user
about each such task in step 7.
openbot-import.json is at the root of the zip, not inside a subfolder you added by mistake.format is openbot-agent-import and version is 1.key is unique and 64 characters or fewer, and each path starts with agents/<key>/.SKILL.md with frontmatter.openbot-import.json.openbot-export skill folder.channels, unless none of its agents are exported.members entry, each member is an agent key in this export, and
lead is one of the members or null..env files, keys, or nested archives.node_modules, .git, .venv, dist, or build.INSTRUCTIONS.md and
EVENT-TASKS.md are not workspace files.MAmattpocock/skills336k近 7 天新增 4,217 个 star
MAmattpocock/skills336k近 7 天新增 4,217 个 star
MAmattpocock/skills336k近 7 天新增 4,217 个 star
OBobra/superpowers331k近 7 天新增 5,030 个 star
AFaffaan-m/ECC314k近 7 天新增 3,503 个 star
AFaffaan-m/ECC314k近 7 天新增 3,503 个 star