# Skills and AI agents

> How an AI agent learns to operate the digital human: two discovery commands, skills for whole jobs, and a ready onboarding prompt.

## What a skill is

A skill is a short Markdown text that teaches an agent one complete job — for example how to design the HTML UI and bind every button to commands. Agents fetch it when they need it instead of carrying everything in their prompt.

| Command | Purpose |
|---|---|
| `aimigo.skills.list {}` | skills you may use: `id`, `title`, `summary`, `keywords` |
| `aimigo.skills.get { id }` | `{ id, title, summary, version, markdown }` |

Skills have a role like commands: a customer sees customer skills, an end user only user skills (unless you grant them, see [permissions](https://aimigo.live/docs/permissions.md)).

## Available skills

The current list is generated in the [command reference](https://aimigo.live/docs/mcp-reference.md#skills). The first skill:

- `html-ui-design-binding` (Customer) — build the app's HTML UI over the digital human and bind every control to commands ([HTML UI](https://aimigo.live/docs/html-ui.md)).

## Onboarding prompt for an AI agent

Give your agent this text, together with a way to call commands (your page's `dh.call`, or the app's local HTTP port):

```text
You operate an Aimigo digital human through MCP commands.
1. Call aimigo.permissions.getCaller {} to learn your role.
2. Call aimigo.commands.list {} once. It lists every command you may use with a one-line usage.
   Do not guess command names; use only names from this list or from aimigo.commands.search { query }.
3. Before a whole job (for example designing the UI), call aimigo.skills.list {} and then aimigo.skills.get { id }
   for the skill that matches, and follow it.
4. Commands that answer { operation: "started", completionEvent: "<name>" } finish later: wait for the event
   with that name and check data.success before you continue.
5. PermissionDenied means the customer does not allow this for your role. Do not retry; tell the person instead.
Documentation: https://aimigo.live/docs/ (Markdown of every page: append .md, all pages: /llms-full.txt).
```

## For agents that read documentation

- [`/llms.txt`](/llms.txt) — index of these pages in the llms.txt format.
- [`/llms-full.txt`](/llms-full.txt) — all pages in one Markdown file.
- Every page is also available as Markdown: replace `.html` by `.md` in the address.
