Give an agent a skill: a reusable process it loads only when a request needs it. The skill's description tells the agent when.
Before you start
You need an agent. See Create an agent.
Add a skill
- Create the skill. Its folder and
nameare its ID:skills/split-bill/SKILL.md---name: split-billdescription: Split a restaurant bill and its tip between people.--- 1. Add the tip to the bill.2. Divide the total by the number of people, rounding each share to the penny.3. Answer with the total and each person's share. - Start the project with
npm run dev. - Open Chat in Studio.
- Pick Support assistant.
- Ask "Use the split-bill skill: £84.50 with an 18% tip between three people." You should now see the reply show Loaded skill: split-bill and each person's share, £33.24.
Try it in a sandbox
Create a project
Before you start: the agent
Create the skill
Start it
Ask it