# skill

Canonical URL: https://developers.iagenify.com/sdk/agent/tools/skill/
Language: en

`skill({ name, file? })`

Load one of the user's own skills: instructions for a kind of work. The agent is told to call it before starting, when a request matches a description.

Status: category: read · free · only with a library

| Name | Type | Requirement | Description |
| --- | --- | --- | --- |
| `name` | string | required | One of the skills available to this run — the declaration lists them. |
| `file` | string |  | One of the skill's own files, as listed when it is loaded. |

## How it is reached {#how}

The system prompt carries one line per skill — name and description. The agent matches a request against those lines and calls this to get the body.

> **The description is what decides**
>
> « Release notes » matches nothing; « Write release notes from a range of commits, in our house format » matches the request that needs it. A skill nobody ever loads usually has a description that describes its title rather than its trigger.

## A skill's extra files {#files}

Anything else in the skill's folder is listed when it loads, and opened with `file`. That is where a template or a reference table belongs — out of the body, costing nothing until it is wanted.

## No library, no tool {#absent}

With nothing in the skill library the tool is not declared at all. `libraryStatus` says whether that is because there is nothing, or because a source refused.

- [Skills and subagents](/sdk/agent/skills-and-subagents): Where they come from.
- [SKILL.md format](/sdk/agent/skills-and-subagents/skill-format): Writing one.
- [Agent tools](/sdk/agent/tools): The 35, by family.
