Skip to content

Open-source Grok Bot alternative with a virtual machine that bots can use

docs(site): add a Skills page for what a skill is, where it lives, and how a bot learns one

subfocusx49c82225d368
diff --git a/apps/docs/content/docs/features/meta.json b/apps/docs/content/docs/features/meta.json
index 1c856c54a6..cf50ab5200 100644
--- a/apps/docs/content/docs/features/meta.json
+++ b/apps/docs/content/docs/features/meta.json
@@ -1,5 +1,5 @@
{
"title": "Features",
"icon": "Sparkles",
- "pages": ["index", "bots-and-tasks", "chat-and-teams", "approvals-and-inspector", "attachments-and-search", "automation", "publish-to-netlify", "voice-and-memory"]
+ "pages": ["index", "bots-and-tasks", "chat-and-teams", "approvals-and-inspector", "attachments-and-search", "automation", "publish-to-netlify", "voice-and-memory", "skills"]
}
diff --git a/apps/docs/content/docs/features/skills.mdx b/apps/docs/content/docs/features/skills.mdx
new file mode 100644
index 0000000000..e0b15ca222
--- /dev/null
+++ b/apps/docs/content/docs/features/skills.mdx
@@ -0,0 +1,68 @@
+---
+title: Skills
+description: Give a bot a procedure it can reuse, review what it learned, and share skills with the rest of the team.
+icon: BookOpen
+---
+
+A skill is a short procedure a bot can read and follow: "how we cut a release", "the house style for changelogs", "how to check this project's tests". It is a folder with a `SKILL.md` in it, and the bot keeps it for every future conversation instead of learning the same thing again.
+
+Skills are instructions, not permissions. A skill can tell a bot *how* to do something; it never grants access to a computer, a folder, or an app. Access stays with the bot's own settings.
+
+## How a bot uses a skill
+
+Only the skills that are switched on for a bot take part. Each turn, the bot gets an index of them — name, one-line description, and the path of the file — and reads the full `SKILL.md` with its file tools when a task actually matches. That keeps the prompt small: a bot never pays for the body of a skill it doesn't use.
+
+Skills are reference material, and the bot is told so explicitly: a skill cannot override the bot's instructions or your own message.
+
+## Where to find them
+
+- **A bot's skills** live in its profile, under **Skills**. Each row can be switched on or off, opened to read the full text, or deleted. Switching one off keeps its files; deleting removes them for good. A skill imported into a bot's profile arrives switched off, so you can read it first.
+- **The skills library** is in **App settings → Skills** (it needs Advanced mode). Import a skill by pasting its `SKILL.md` exactly as it is on disk — nothing is fetched from the network during the import — then assign it to one bot, several, or every current and future bot. An assigned library skill is on for that bot.
+
+A bot can hold up to 30 skills, and the index a bot sees per turn is capped at 4,000 bytes, so a very long list is trimmed with a note to the bot that some skills were left out.
+
+## Writing one
+
+A skill is a directory named after the skill, containing `SKILL.md`:
+
+```
+changelog-style/
+└── SKILL.md
+```
+
+The name must be lowercase letters, digits and single hyphens (up to 64 characters) and must match the folder name. The file starts with frontmatter:
+
+```markdown
+---
+name: changelog-style
+description: Write the changelog entry for a release in this project's house style.
+---
+
+# Changelog entry
+
+1. Read the commits since the last tag.
+2. Group them under Added, Changed and Fixed…
+```
+
+`description` is what the bot sees in its index, so write it as the moment the skill should be used, in one line. `license`, `compatibility` and comma-separated `tags` are optional. Keep the body short — the spec suggests under 5,000 tokens — and put long reference material in a `references/` folder inside the skill, where the bot reads it only when it needs it.
+
+## Letting a bot write one
+
+Two switches decide how much a bot may do on its own: **App settings → Early features** in Advanced mode.
+
+- **Bots may write their own skills** is on by default. A bot can save a procedure you just walked it through, and you can type `/learn` with a short description in a chat to have it turn the current conversation into a skill. Every new or changed skill appears in the conversation as one plain line with **Details** and **Undo**; it applies at once, at every approval level.
+- **Learn skills automatically** is off by default. When it is on, a bot that has run enough tool steps in a conversation reviews that conversation in the background and may create or improve a skill. The review uses the bot's own AI and counts toward spend limits, and each change still shows in the chat with Undo.
+
+The `/learn` command is the predictable path: you decide when a conversation is worth keeping, and the bot writes down what it actually did.
+
+## Sharing with the team
+
+A learned skill belongs to one bot until you share it. **Share learned skills with the department** decides what happens when a bot learns or improves one: **Off** keeps it private, **Ask** offers to move it into the library, and **Automatic** moves it and gives it to every bot in the same department. Conversations already running hear about it on their next message; new ones list it. A teammate that already has its own skill with that name keeps it.
+
+## Reviewing what arrived
+
+Imported and learned skills are text written somewhere else, so treat them the way you would treat a script from a stranger:
+
+- A skill imported into a bot's profile arrives switched off until you switch it on. A library skill is switched on where it is assigned.
+- A skill whose text pipes a download into a shell (`curl | sh`), carries a long base64-looking blob, or contains invisible Unicode characters is held back by a safety check and marked for review.
+- Read the `SKILL.md` before switching it on. The bot follows it, and a skill can be just as wrong as any other instructions.