# Attach a skill to an agent

How a skill reaches an agent, what a version policy decides, and why editing a skill changes nothing until the agent is published again.

A skill only does something once an agent has it. How it gets there decides what happens when you edit the skill afterwards, and that is the part worth understanding before you attach anything.

**Who can use it:** the **Builder** role or higher.

Video: Attach a skill to an agent (2:21), https://katonicdocsmedia.blob.core.windows.net/docs/skills-attach/cfc385cadff7/index.html; on YouTube: https://www.youtube.com/watch?v=l5sXJTMWWcU

  
**Step 1. Attach it in the wizard**

On the agent wizard's **Skills** step, find the skill with the search, the category chips or the sort, and switch it on. **Attached only** shows what the agent has.

  
**Step 2. Choose the version policy**

Select the version pill on the row and choose **Pinned**, **Follow latest minor** or **Follow latest**. Expand the row to read the instructions, and use **Preview merged prompt** to see what the agent gets.

  
**Step 3. Publish, then check Used by**

Publish the agent: that is when the skill text is frozen into its version. On the skill's page, **Used by** lists every live agent and draft that has it; **Attach to agent…** adds it to a draft from there.

## The rule that governs all of it

**Publishing an agent freezes the skill text into that version.** Editing a skill afterwards changes nothing for agents already published. The change reaches an agent the next time that agent is published, and not before.

This is true whichever way the skill was attached, and it is true whatever version policy you chose. A version policy is resolved when the agent is published, not while it runs.

## In an agent's wizard

![The Skills section of the agent wizard for the Support Triage Assistant draft: Pick skills with 2 of 4 attached and Preview merged prompt, a search box, Attached only, the Most adopted sort and category chips, then a row per skill with its name, version, description, category, owner, how many agents use it and an attach switch, two of them switched on, and a link to create a skill below.](https://docs.katonic.ai/img/agents/skills-attach/wizard-skills.png)
*The agent wizard's Skills tab: the library with its filters, each skill's description, owner and how many agents use it, and a switch to attach it.*

The **Skills** tab of the agent wizard lists your library. Search it, filter by category, sort by most adopted, name or recently updated, and narrow to **Attached only**. Each row carries the skill's name, its description, its category and owner, how many agents use it, and a switch to attach it. A skill the platform requires is shown attached and locked.

Each attached skill has a **version policy**:

| Policy | What it resolves to at publish |
| --- | --- |
| **Pinned** | Exactly the version you chose |
| **Follow latest minor** | The newest version within the same major version |
| **Follow latest** | The newest version there is |

Expanding a row shows the instructions the agent will get, marked read-only, and two links: one to try the skill in the playground, and one to open it in the library. It used to show inputs and outputs and a cost impact per run as well; the skills API carries neither, so both were labels above a dash on every row and have been removed.

![A dialog headed Merged prompt preview with the subtitle What this agent actually sees at runtime, showing the agent's system prompt and below it a numbered block for each attached skill.](https://docs.katonic.ai/img/agents/skills-attach/wizard-merged-prompt.png)
*Preview merged prompt shows what the agent actually sees at run time: its own system prompt, then each attached skill in order.*

**Preview merged prompt** shows what the agent actually sees: the system prompt, then each attached skill in order.

## How a skill reaches the model

The platform does not paste every attached skill into every request. By default it gives the agent a manifest instead: one line per skill, its name and its description, and a way to load the full instructions on demand when a request matches. The full text travels with the published agent, so loading one costs nothing at the time.

That is why the description field is the one that decides whether a skill is ever used: the manifest is all the model sees until it chooses to load one. A description that names the situation gets matched; one that names the task does not.

Where a deployment has that behaviour turned off, every attached skill's full instructions are written into the published prompt instead. Attaching several then costs tokens on every turn.

## In a workspace

An agent's **Skills** section in the workspace editor attaches skills the same way, with switches rather than a picker. It has no version policy control: a skill attached here is a plain reference. Reordering attached skills is named there as not yet available.

## In a workflow's LLM step

An **LLM** step has a **Skills** field with a picker and **Insert**, which appends the skill's instructions into that step's prompt under a heading naming the skill and version.

This is a copy, taken at that moment, and it stays a copy. A workflow step sends one prompt and cannot resolve a skill version while it runs, so editing the skill afterwards never changes the step. The step lists what was drawn from, so you can see where the text came from.

## Which to use

- **The agent should always work this way**: attach it in the wizard, and choose a version policy.
- **One step of a workflow needs a procedure, exactly as it reads today**: insert it into that step's prompt.

## Verify

A skill's page lists **Used by**: every agent using it, grouped as live agents then drafts, with the version each is on. That list answers "what would change if I edited this skill". A draft row opens that draft's Skills step, and a row a version behind says so, for example **on v1.2; current is v1.3**. The count agrees with the library card and with the builder: the three used to disagree, which is why the page says **2 live · 1 draft** rather than a bare number.

## Related

- [Skills](/agents/skills)
- [Write a skill](/agents/skills-author)
- [Build an answer agent](/agents/build-an-answer-agent)
- [Automate a process](/agents/automate-a-process)

Source: https://docs.katonic.ai/agents/skills-attach
