> ## Documentation Index
> Fetch the complete documentation index at: https://docs.rerun.build/llms.txt
> Use this file to discover all available pages before exploring further.

# Skills

> Teach a coworker a procedure it loads only when it needs it.

A skill is a written procedure. The coworker reads it when the task at hand matches its description, and ignores it the rest of the time.

Skills are how you make a coworker good at something specific without turning its system prompt into a manual.

## What a skill looks like

A skill is a folder, not a single file. It holds a `SKILL.md` and any reference files you want to give it.

```markdown SKILL.md theme={"system"}
---
name: Weekly report
description: Use when asked for the weekly numbers, on Monday or on demand.
---

1. Query the `sales` table for the last 7 days
2. Follow the layout in `references/format.md`
3. Write the report to the shared folder as `reports/<week>.md`
4. Post the link in Slack
```

Two fields matter in the frontmatter:

* **`name`** gives the skill its slug, which is how everything addresses it.
* **`description`** is what makes the coworker decide to open the skill. Write it as a trigger condition, not as a summary. "Use when asked for the weekly numbers" beats "About weekly numbers".

## Why it stays out of the way

Skills load in three layers:

**1. Always in context**

A one-line index: the name, the slug and the description of every skill. Nothing else.

**2. On demand**

When a task matches, the coworker opens the skill and reads the whole procedure.

**3. At the exact step**

It opens a reference file only when the procedure tells it to.

That is why a skill can carry a long reference corpus without costing anything on every run. Keep the body short and push the detail into `references/`.

## Create and edit one

> [tab] In the app
>
> Open the coworker panel, go to the **Skills** tab, and click **New**. Write the name, the description and the body. Reference files are added from the same editor.

> [tab] Ask the coworker
>
> Tell it what to do and to remember the procedure. It writes the skill itself, as long as the `skills` capability is on.

> [tab] From the API
>
> [`upsert_skill`](https://docs.rerun.build/api/tools/skills#upsert-skill) writes the body and the reference files in one atomic call, and [`read_skill_file`](https://docs.rerun.build/api/tools/skills#read-skill-file) reads one back. This is how you version skills in a repository.

## Skills an app installed

Installing an [app](https://docs.rerun.build/agents/apps.md) puts a skill on the coworker explaining how to use that service tools. That skill belongs to the app, so it is read only everywhere: the editor opens it without a save button, the coworker's own skill tools refuse to touch it, and the API refuses too.

Rewriting it would be lost at the next install, and deleting it would leave the app pointing at nothing. To change what the coworker does with a service, either reconfigure the app or write a skill of your own next to it. Uninstalling the app removes its skill with it.

## When to write a skill instead of something else

| Situation | Where it belongs |
| - | - |
| A repeatable procedure with steps | A skill |
| Who the coworker is and how it behaves | The [soul](https://docs.rerun.build/agents/configure.md#the-soul) |
| A fact it should remember, like a preference or a name | [Memory](https://docs.rerun.build/concepts.md#memory) |
| Reference material that is long and rarely needed | A reference file inside a skill |

When you correct a coworker behaviour and the correction is a rule rather than a fact, fix the skill that governs it. A memory can be outvoted by a procedure, a procedure cannot.

## Limits

* A skill lists up to 200 bundled files.
* Each text file can be up to 10 MB, with a 50 MB total per skill including `SKILL.md`.
* A reference file is read 100,000 characters at a time; the coworker follows `nextOffset` when it needs the next page.
* `SKILL.md` itself cannot be written through the file tools. Change it through the skill body.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.