# Customize the AI

One place for the plugins, MCP servers, subagents, rules, commands and hooks the AI can use.

Customize gathers everything that shapes how the AI works in your project. Install a plugin, write your own slash command or connect an outside service from one screen.

Settings open on Customize, with the Plugins chip and the Welcome to Customize banner.

## What you can do

- Install plugins from Connectors, and switch them on or off.
- Add MCP servers that connect outside services.
- Write your own subagents, rules, commands and hooks.
- Search each list and see where every item comes from.
- Add a source of plugins from a GitHub repository.

## Open Customize

Open **Settings > AI > Customize**. Pick a chip at the top to choose a list: **Plugins**, **MCPs**, **Subagents**, **Rules**, **Commands** or **Hooks**. Use the search box to filter the list you are on.

Each item shows where it comes from:

| Tag                 | Meaning                                   |
| ------------------- | ----------------------------------------- |
| **User**            | You made it. It is saved in your project. |
| **Plugin**          | An enabled plugin added it. Read only.    |
| **Built-in**        | It ships with Lyna. Read only.            |
| **Workspace**       | It is shared across your workspace.       |
| **Curated by Lyna** | Lyna writes it and keeps it up to date.   |

## The lists

| Chip          | What it holds                                                    | Learn more                              |
| ------------- | ---------------------------------------------------------------- | --------------------------------------- |
| **Plugins**   | Bundles of skills, commands, subagents, MCP servers and hooks.   | This page                               |
| **MCPs**      | Servers that connect outside services to the AI.                 | [MCP servers](/features/ai/mcp-servers) |
| **Subagents** | Focused agents the AI can hand work to.                          | [Subagents](/features/ai/subagents)     |
| **Rules**     | Always-on instructions for your project.                         | [Rules](/features/ai/rules)             |
| **Commands**  | Slash commands that insert a reusable instruction into the chat. | This page                               |
| **Hooks**     | Commands that run at set moments of a turn.                      | [Hooks](/features/ai/hooks)             |

Skills have their own page: see [Skills](/features/ai/skills).

## Install a plugin

1. ### Open Connectors

   Open **Connectors** from Customize or from the chat's **+** menu. Search the list, or pick a category or a type such as **Plugin**. A **Not reviewed** badge marks an item Lyna has not checked.
2. ### Read its page

   Open an item to read what it does and who made it. Some need an address, a key or a sign-in to your account.
3. ### Install it

   Choose **Add** or **Connect**. The plugin's files are written to `.lyna_ai/plugins/<name>` in your project.

> [!WARNING]
>
> **Review commands and hooks first**
>
> A plugin can ship commands and hooks that run in your project. Read them before you enable the plugin.

## Manage plugins

From a plugin's menu you can **Configure**, **Update**, **Disable** or **Enable**, and **Uninstall** it. A disabled plugin adds nothing to the AI.

To add another source of plugins, open **Connectors**, choose **Add custom**, then **Sources**, and enter its **Repository** (`owner/repository` or a GitHub URL).

## Write a command

1. ### Create the command

   On the **Commands** chip, choose **New Command**.
2. ### Fill it in

   | Field                    | What to enter                                                                                  |
   | ------------------------ | ---------------------------------------------------------------------------------------------- |
   | **Name**                 | Lowercase letters, numbers and hyphens, 1 to 64 characters. You type it after `/` in the chat. |
   | **Description**          | What the command does.                                                                         |
   | **Instruction template** | The instruction the command inserts into the chat.                                             |
   | **Category**             | The group it appears in.                                                                       |
   | **Requires input**       | When on, the command expects text after the slash before it runs.                              |
3. ### Use it

   Type `/` and the name in the chat. The command is saved in `.lyna_ai/commands` and listed under **Your commands**.

## Related

- [Skills](/features/ai/skills): Reusable instructions loaded on demand.
- [MCP servers](/features/ai/mcp-servers): Connect outside services.
- [Slash commands](/features/ai/slash-commands): Every command you can type with /.
- [Hooks](/features/ai/hooks): Run commands at set moments.
