# Skills

Install, write and share skills so ShiritaiBot works the way you do.

A skill is an installable how-to: a folder with a `SKILL.md` that says what the skill does and the steps to follow, optionally with reference files and scripts. ShiritaiBot's skill format is compatible with the Agent Skills convention, and a `.skill` file is that folder as a ZIP archive.

## How it uses skills

In Agent mode, ShiritaiBot only sees each skill's name and purpose. When a task matches, it reads the full `SKILL.md`, then any files it refers to as needed. So installing more skills doesn't make every turn bigger.

A skill is only text; ShiritaiBot never runs code from it automatically. Scripts that come with a skill have to be run by the model through the terminal tool, which is still subject to [Permissions](https://shiritaibot.dev/en/docs/auth) and approvals.

## Install a skill

* **Send it in chat**: as the owner, send the `.skill` file in your QQ private chat and ask ShiritaiBot to install it.
* **Upload in the WebUI**: in **Settings → Tools and permissions → Skills**, upload a `.skill`, `.zip` or a single `SKILL.md`, optionally replacing a skill with the same name.
* **Copy it in**: put the skill folder under `<data folder>/skills/`. No restart needed.

A skill package can be up to 10 MB, and up to 50 MB and 500 files once unpacked.

## Let it write skills

ShiritaiBot comes with a built-in `skill-creator` skill. Describe a routine you often do, such as "every Friday, sum up this week's GitHub activity in this format and send it to me", and ask it to turn that into a skill. You can keep asking it to adjust the skill, or to pack it into a `.skill` file and send it to you to share.

The built-in `shiritai-plugin-dev` skill lets ShiritaiBot write plugins for itself; see [Your first plugin](https://shiritaibot.dev/en/docs/plugins).

## Manage skills

**Settings → Tools and permissions → Skills** lists every skill with its source and whether it's on. Turn off the ones you don't need.

* Built-in skills ship with the program. Editing one copies it to the data folder first; delete that copy to get the built-in version back.
* An installed skill with the same name as a built-in one replaces it.

## English versions

A skill can include an English `SKILL.en.md` next to `SKILL.md`, and the same for reference files (`references/x.en.md`). When the chat language is English, the English file is read first, falling back to the original. See [Language](https://shiritaibot.dev/en/docs/language).
