---
title: "Skills"
description: "Give a HolaClaw Server agent procedures it loads when a task calls for them, teach it new ones in conversation, and install, version and remove them."
updated: 2026-11-17
canonical: https://holaclaw.ai/docs/server/skills
---

A skill is a procedure: an ordered way of doing one kind of task, written in Markdown and loaded only when that task comes up. Memory holds facts and preferences, which apply on every turn. A skill holds steps, which apply to one kind of task, such as cutting a release or reviewing a pull request.

A skill grants nothing. It can only tell the model to use tools the agent already has and the policy allows.

Skills belong to an agent, never to a person: what an owner teaches the agent in one conversation, the agent does everywhere.

Commands are written as `holaclaw …`. Run them [the way your deployment does](/docs/server/choose-a-deployment#where-things-are).

## Where skills live

Each agent keeps its skills in `agents/<agent>/skills/` in the config directory, one folder per skill. The layout is the [AgentSkills](https://agentskills.io) one, so skills written for other tools work as they are:

```
agents/main/skills/release/
  SKILL.md              # the current version
  references/           # optional, loaded on demand by name
  scripts/              # optional, listed but never run
  history/3/            # earlier versions
  .holaclaw/origin.toml # where an installed skill came from

agents/main/skills/.trash/old-release/   # a forgotten skill
```

`SKILL.md` starts with a YAML frontmatter and continues with the procedure in Markdown:

```yaml title="SKILL.md"
---
name: release
description: "Cut a release of a Go service: tests, version bump, tag, announce."
metadata:
  holaclaw:
    version: 1
    requires:
      tools: [files]
---
```

- `name` and `description` are required. `license`, `compatibility`, `allowed-tools` and `metadata` are optional. Any other top-level key is an error.
- `metadata.holaclaw` holds HolaClaw's own settings. Once present, it needs `version: 1`. Other tools' namespaces under `metadata` are ignored.
- `metadata.holaclaw.requires.tools` lists the agent tools the skill needs.
- `allowed-tools` is read but ignored. Requirements come only from `requires`.

| Limit | Value |
| --- | --- |
| `name` | 1 to 64 of `a-z`, `0-9` and `-`, equal to the folder name |
| `description` | one line, at most 1024 characters. Put the trigger first: the index keeps 160. |
| Body | at most 8000 characters. Put detail in `references/`. |
| `SKILL.md` | at most 64 KiB |
| One file in `references/` | at most 16 KiB |

A folder that breaks a rule is not loaded, and `holaclaw check` names it. The daemon reads the skills at the start of every run, so a hand edit applies from the next message, with no restart.

The skills folder is the one place under `agents/` the daemon writes, and only when a person asks. Backups include it.

## How the agent uses them

The system prompt carries an index: one line per eligible skill, with its name and description. When one clearly matches the task, the model loads its body with the `skill.load` tool before it acts. It can also load a file from the skill's `references/` by name.

A skill is eligible for a run when:

1. every tool in `requires.tools` is in the agent's `tools`;
2. none of those tools is denied for the person talking. A guest never sees a skill that needs a tool the guest policy denies;
3. it requires no binary. Skills that run programs are not supported yet;
4. it is not listed in the agent's `skills.disabled`.

To keep a skill out of one agent:

```toml title="agents/main/agent.toml"
[skills]
disabled = ["deploy"]
```

The loaded body opens with where the skill came from, such as `[skill: pr-style · learned from Angel on 2026-09-12]`, so the model reads a rule it learned last week more critically than one you wrote. `holaclaw trace` shows which skill a turn loaded.

## Teach the agent

An owner or admin can teach the agent a procedure in conversation. Tell it how a task should be done, or ask it to keep the way it just did one:

> When you cut a release, run the tests first, then bump the version, tag it and post in #releases. Save that as a skill.

The agent saves it with the `skill.save` tool. The daemon writes `SKILL.md` with a title, a `When` section, the steps (2 to 24), any pitfalls (up to 6), and who taught it, in which trace and when. It saves only at the end of a task, once it went through without a correction.

- **Who can teach.** Only an owner or admin, since a skill changes the agent for everyone it serves. For anyone else, the agent has no `skill.save` and suggests that an owner or admin teach it. A turn that answers several people runs under the strictest role among them.
- **Saving under an existing name** makes a new version of that skill. Its `requires` carry over unchanged.
- **Forgetting.** Ask the agent to forget a skill, and `skill.forget` moves it to the trash. Only a person deletes it for good.
- **Scheduled tasks** can load skills, but never save or forget one.

Facts and preferences, like "I prefer short answers", go to memory, not to a skill.

## Versions and trash

Every write the daemon makes to a skill keeps the version it replaces, whole, in `history/<N>/`. The current folder is the version after the newest in `history/`. `history/` keeps the last 256 versions.

- **A hand edit** keeps the current version number, until the next daemon write moves it into `history/`.
- **Revert** copies an earlier version into a new one. The version it replaces stays in `history/`.
- **Forget or remove** moves the whole folder, history included, to `.trash/<name>/`, where nothing indexes it.
- **Restore** brings it back from the trash, unless a live skill has that name.
- **Remove** on a skill already in the trash deletes it for good.

Nothing edits, archives or removes a skill on its own.

## Install and manage skills

`holaclaw skills` with no subcommand opens a terminal browser over the agents' skills: each skill with its index line, whether it is eligible, its versions and who taught each one. It can revert, remove and restore.

The subcommands do the same for scripts. `--agent` defaults to `main`.

| Task | Command |
| --- | --- |
| List an agent's skills, with eligibility | `holaclaw skills list [agent]` |
| Show one skill and its versions | `holaclaw skills show <name> [--agent <agent>]` |
| Install from a folder or a git repository | `holaclaw skills install <path or git url>` |
| Move to the trash, or delete from it | `holaclaw skills remove <agent> <name>` |
| Bring back from the trash | `holaclaw skills restore <agent> <name>` |
| Make an earlier version current | `holaclaw skills revert <agent> <name> --to <version>` |

### Install a skill

```sh
holaclaw skills install ./release
holaclaw skills install https://github.com/<owner>/<repo> --git-path skills/release --git-ref v1.2.0
```

- **A local folder**, or its `SKILL.md`. The command reads it and uploads it to the daemon, which can be on another host. Symlinks are refused.
- **A git repository**, by `https`, `ssh`, `git` or `file` URL. `--git-ref` names a tag, branch or commit; the default branch is used without one. `--git-path` names the folder in the repository.
- **A collection**: a folder whose subfolders, or whose `skills/` subfolders, are skills. `install` lists them; `--all` installs every one.
- `--as <name>` installs under another name. Limits per install: 256 files and 128 MiB.

Install shows a preview, with the body, the requirements and what the scan found, and asks before it writes. `--yes` skips the question but still shows the preview. Install never overwrites a skill of the same name.

The scan refuses, unless you pass `--force`, a skill that pipes something into a shell (`curl … | sh`), touches SSH keys, or contains hidden or bidirectional Unicode. The scan is a hint for you, not a boundary: the boundary is the policy on every tool call.

> [!NOTE]
> There is no skill registry and no auto-update. Install records where a skill came from, and `holaclaw check` warns (`SKL006`) when an installed skill's files no longer match what was installed.

## Checks

`holaclaw check` loads every agent's skills as the daemon does and reports:

| Rule | When |
| --- | --- |
| `SKL101` to `SKL116` | a skill folder does not parse. The skill is hidden. |
| `SKL001` | a skill requires a tool the agent does not list. The skill is hidden. |
| `SKL002` | a skill requires a binary. The skill is hidden. |
| `SKL006` | an installed skill's files changed since the install |

A skill hidden only for some people, such as guests, is not a finding: `holaclaw skills list` shows it. Every rule is in the [check rules reference](/docs/server/check-rules).

## Related

- [agent.toml reference](/docs/server/agent-toml#skills)
- [Skills, the concept](/docs/concepts/skills)
- [CLI reference](/docs/server/cli#skills)

