$10K cash or $15K in credits. Enter by 15 Dec →

What is an AI agent skill?

First published

The short answer

An AI agent skill is a saved set of steps that AI software can open when a task needs it, with instructions and files to use. A prompt supplies instructions to the model. A rule sets standing guidance. A skill holds the method, so a team can reuse the steps without pasting them into each request.

How does the software find the right instructions?

A finance lead asks for help chasing late invoices. The request sounds simple, but the team's method has a catch: skip bills in dispute and send drafts for review before writing to clients.

In a system that supports skills, that method can live in a folder. The main file, SKILL.md, holds the instructions. The name tells the software which file to read first. Other files can hold an agreed email template or a small program that checks invoice dates.

The open skill format, first developed by Anthropic, is called Agent Skills. The idea is to load the steps in stages, instead of putting each skill's full text in front of the model at once. The model is the part of the software that reads a request and decides what to do next.

The stages work like this:

  1. Show what's there. The system gives the model each skill's name and short description. The description says what the skill does and when to use it. The full method stays in its file.
  2. Match the request. The model reads the user's request with those short labels. A label that mentions chasing late invoices gives the model a reason to open that skill. A vague label gives the model less to go on.
  3. Read the method. When the model decides a skill applies, it opens the main instruction file. The steps enter the context window, the text the model can draw on while working.
  4. Open other files as needed. The steps can point to a template or a file with the team's policy. The model reads those files when the task needs them, instead of reading all the files at the start.
  5. Carry out the work. The model follows the steps using the tools it has. If the skill includes a script, a program for a set task, the model can run that program and use its result.

This staged reading is called progressive disclosure. The model gets enough detail to choose a skill before reading the full method. That leaves more room for the request and the files needed to complete it.

A script adds a different kind of help. Software can count days overdue using a set formula, instead of asking the model to work through each date in prose. The skill explains when to run the code and how to use the result. Ask whether a bundled script is meant to run or serve as an example.

How is a skill different from a prompt or a rule?

The invoice request names the result the finance lead wants. A skill supplies the method for doing that work again. A rule gives guidance with a broader scope, such as the team's date format.

Comparison

Prompt

Rule

Skill

Main purpose

Supply instructions and examples

Set standing guidance

Package a procedure for reuse

Example

Draft the overdue reminders

Write dates as day, month, year

Check disputes before drafting reminders

When used

Whenever the system includes it

Depends on the product and rule settings

When selected for a relevant task

Supporting material

Can refer to files

Can refer to files

Can bundle files and executable scripts

A rule needn't load for each chat. Some products let rules apply only to matching files, when the model chooses them, or when a person asks for them. The settings for each rule control when the rule loads. Timing alone doesn't draw a clean line between a rule and a skill.

For a one-off request, write a prompt. For a method worth keeping, a skill gives the steps and files a home. Put a short rule that applies across tasks in the product's standing guidance, and check when the product includes that guidance.

Where can a skill go wrong?

A skill named finance help could cover late bills, expense claims or cash forecasts. The model has to choose before seeing the full method, so a vague description can stop the model from finding the right skill. Check the label when the model misses a skill.

A clear label won't repair a stale policy. If the main file says to chase bills in dispute, the model may follow the wrong steps without fault. Tests need to include the cases your team cares about, not just an easy invoice.

The advice on testing skills is to watch them in use on real tasks and revise them based on what happens. For the invoice example, check which files the model read and whether the bill in dispute stayed out of the draft.

Written steps also differ from software that blocks an action. A step asking for review tells the model what to do. Before trusting that step with client emails, check whether the product requires a person to approve the send.

A skill from an unknown source needs a close look before use. Its text can direct the model's actions, and its scripts can run code. The same advice on skill safety warns that harmful skills can expose data or cause unwanted actions. Read bundled files and check any outside services they contact.

What would the invoice procedure contain?

Take a made-up agency whose account manager handles bills in dispute outside the normal invoice run. The finance lead wants draft notes for the other late accounts.

The skill's description says to use it to chase late invoices. Its steps say where to get the invoice list and how to spot disputes. A template holds the agreed wording. A script could work out which invoices are overdue.

When the finance lead asks for drafts, the model reads the skill and gathers the records using the tools it has. A bill with no dispute status needs a clear response. In this example, the skill tells the model to flag the missing status for a person, not assume the bill is safe to chase.

The expected output is a set of draft notes plus a list of cases that need review. A test can then check both outputs against the source records before anyone sends a message.

How Viktor uses skills

Viktor picks up the right skill on his own when a task calls for it. His skills documentation describes a skill as instructions for when to use a procedure and how the team does it.

You can ask Viktor to save a workflow you've just completed together as a skill. He writes the workflow down, and the skill appears in the tree on the Skills page. Shared skills are available for the whole workspace, and Viktor uses them for everyone.

Explore skills in Viktor.

Common questions

Does a skill need to include code?

No, a skill can consist of an instruction file without a script. The open format doesn't require scripts or extra folders. Add a program when the method needs a fixed sum or another task better handled by code. There's no need to add code to each skill.

Can the same skill run in different products?

Yes, the open format supports reuse in products that accept the format, but each product still needs to meet the skill's needs. A bundled script may need other software or network access. Check those needs before treating a moved folder as a working skill.

Is a skill the same as memory?

No, a skill sets out how to do a task, while memory can keep facts from earlier work or conversations for use when a later task needs those facts.

Read the skills documentation for product instructions or the skills marketplace documentation for ready-made options.

Get Started for Free