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

# Skills

> Load reusable instructions for boards, instruments, analysis, and your team's own workflows, and install or write your own skills.

Skills give Inlay reusable instructions for one kind of work, so it follows the same procedure every time. A skill can cover a board, an instrument, a coding standard, or a workflow your team repeats.

## Use a skill

Name the skill and the task in chat:

```text theme={"theme":"css-variables"}
Use the usb-cdc skill to find out why the board does not enumerate on Windows.
```

You can also type `/` and pick the skill. In VS Code, skills appear under **Skills** in the command menu. Text after the skill name becomes instructions for that skill:

```text theme={"theme":"css-variables"}
/validate-MISRA Analyze src/drivers and summarize the required-rule findings.
```

Inlay also loads relevant skills on its own, based on your request, the project's hardware, the connected tools, and the current mode. If a built-in command has the same name as a skill, the built-in command runs; ask for the skill by name in chat instead.

> [!NOTE]
>
> A skill supplies instructions only. You still need the tools and hardware it describes, and the chat's [mode](/docs/core-concepts/modes.md) and [approval settings](/docs/core-concepts/approvals.md) still apply.

## Find a starting point

Inlay includes skills for common boards, vendor SDKs, instruments, and analysis workflows. Use the name shown in the `/` menu when you invoke one.

| Work | Example skills |
| - | - |
| Instrument helpers for captures and hardware scripts | `debug-gdb`, `debug-saleae`, `debug-digilent`, `debug-dslogic`, `debug-picoscope`, `debug-oscilloscope`, `debug-serial`, `debug-rtt` |
| Power measurement | `debug-joulescope`, `debug-ppk2` |
| Live Monitor dashboards | `dashboard-authoring` |
| Static analysis reports | `validate-MISRA`, `validate-CERT` |
| Vendor SDKs and tools | `STM32`, `nrf-zephyr`, `nxp`, `xmos` |
| USB CDC ACM bring-up, enumeration, and host diagnostics on Windows, macOS, and Linux | `usb-cdc`, plus `usb-cdc-stm32`, `usb-cdc-esp32`, `usb-cdc-tinyusb`, `usb-cdc-zephyr`, `usb-cdc-nxp`, and `usb-cdc-renesas` |
| Ethernet MAC and PHY bring-up, DMA ownership, and validation | `ethernet-driver`, plus `ethernet-stm32`, `ethernet-nxp`, `ethernet-esp-idf`, `ethernet-zephyr`, and `ethernet-linux` |
| XMOS shared buffers, memory pools, and scratch reuse | `xmos-shared-memory` |
| The simplest change that works | `optimize`, with `lite`, `full` (the default), or `ultra` |

When each skill loads:

* Instrument and power skills load automatically in Debug mode when that tool is connected.
* Vendor skills load when the project's platform or one of its peripherals comes from that vendor. Board skills load when the project's platform is that board. Skills tied to a vendor or board appear in the `/` menu only for matching projects.
* `usb-cdc` and `ethernet-driver` pick the matching platform skill when the target is known. Name one of them when you want Inlay to choose. Name a platform skill directly when you already know which SDK or OS applies.

## Install a skill

Read a skill's instructions before you install it, especially any commands it asks Inlay to run.

To install from chat, ask in Act or Debug mode:

```text theme={"theme":"css-variables"}
Install the skill at https://github.com/owner/repository/tree/main/skills/board
```

Inlay installs it into the current project with the `inlay skill install` command described below, so in **Manually approve** mode you approve the command first. It asks before replacing a skill that already exists, and installs for all your projects only when you ask. You can also ask Inlay to turn a procedure from the current chat into a skill and install it.

To install from a terminal, run the installer from the project folder:

```bash theme={"theme":"css-variables"}
inlay skill install "./path/to/skill-directory"
inlay skill install "./path/to/SKILL.md"
inlay skill install "https://github.com/owner/repository/tree/main/skills/board"
```

The source can be a `SKILL.md` file, a folder with `SKILL.md` at its top level, a GitHub link to such a folder or file, or an HTTPS link to a `SKILL.md` file. On success, the installer prints the skill's name and where it was installed.

| Option | Effect |
| - | - |
| (none) | Installs into `.inlay/skills/` in the current project. |
| `--user` | Installs into `~/.inlay/skills/` so the skill is available in all your projects. |
| `--project-root <path>` | Installs into a different project. |
| `--overwrite` | Replaces an installed skill with the same name. Without it, the installer stops if the skill exists. |

The installer rejects a skill when:

* `SKILL.md` has no `name`, or the name uses anything other than lowercase letters, numbers, and hyphens.
* A file is larger than 250 KB, or the skill is larger than 1 MB or 100 files in total.
* The source contains symbolic links, or a link doesn't use HTTPS.

Open chats pick up a newly installed skill, and changes to an installed skill's files, automatically.

## Write a project skill

Create `.inlay/skills/board-bringup/SKILL.md`:

```markdown theme={"theme":"css-variables"}
---
name: board-bringup
description: Build, flash, and verify the team's sensor board.
---

# Board bring-up

1. Read INLAY.md for the target and build command.
2. Build the debug image and stop if it fails.
3. Confirm the connected board before flashing.
4. Capture UART output and check for "self-test: pass".
5. Report the artifact and observed result.
```

* Use a lowercase `name` with hyphens. If you leave it out, Inlay uses the folder name, but the installer requires it.
* Write a `description` that says when to use the skill. It appears in the `/` menu and helps Inlay choose the skill.
* Describe one specific workflow and end with a completion check.
* Put supporting files beside `SKILL.md`. Inlay loads up to 10 files from the skill's folder, each up to 50 KB, along with the skill. Refer to anything larger, or anything in a subfolder, by its path in the instructions.

## Where Inlay looks for skills

| Location | Available in |
| - | - |
| `.inlay/skills/`, `.agents/skills/`, or `.claude/skills/` in the project | This project |
| `~/.inlay/skills/`, `~/.agents/skills/`, or `~/.claude/skills/` | All your projects |

When two skills have the same name, a project skill replaces a personal or included one, and a personal skill replaces an included one. Keep one authoritative copy of each skill to avoid conflicting instructions.


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