Skills API
Skills are packaged know-how (a method, a checklist, reference material) that agents load only when a task needs it. This API lets you list the skills your organisation holds, give them to agents, write your own, and keep them under review.
Base path: /api/v1/skills. Permissions: skills:read to read, skills:write to change.
Browse
| Method | Endpoint | Description |
|---|---|---|
| GET | /skills | Skills your organisation holds. Filters: category, status (active by default, draft, archived or all), limit |
| GET | /skills/categories | The skill categories, with how many skills you hold in each |
| GET | /skills/catalog | Skills available from the MeetLoyd catalog, with the ones you already hold marked |
| GET | /skills/:id | One skill, with the agents that use it |
| GET | /skills/:id/agents | The agents using a skill, with each assignment's settings |
| GET | /skills/:id/history | The skill's change history |
| GET | /skills/agent/:agentId | The skills one agent has |
All paths are under /api/v1. Each skill has a source telling you where it came from: platform (the MeetLoyd catalog), store (installed from the Store), created or uploaded (written by your organisation), or forked (your own copy of a catalog skill).
Give skills to agents
POST /api/v1/skills/:id/assign { "agentId", "config"?, "priority"? }
PATCH /api/v1/skills/:id/assignments/:agentId { "enabled"?, "config"?, "priority"? }
DELETE /api/v1/skills/:id/unassign/:agentId
enabled: false switches a skill off for one agent without removing it. A higher priority makes the agent reach for that skill first.
Assigning a catalog skill brings it into your organisation at that moment: you only ever hold the skills your agents use. Some catalog skills come only with the team blueprint that ships them. They appear in the catalog with a link to that blueprint, and cannot be assigned on their own.
Write your own
POST /api/v1/skills/create { "slug", "name", "content", "category"?, "description"? }
POST /api/v1/skills/fork { "sourceSlug", "targetSlug"? }
content is the full SKILL.md, frontmatter included. fork makes your own editable copy of a skill you are allowed to fork. Your copy is then yours: catalog updates never change it.
To keep skills in a Git repository and have them sync on every push, connect the repository under /skills/sources. See Skills from Git and versions.
Lifecycle
POST /api/v1/skills/:id/archive
POST /api/v1/skills/:id/restore
DELETE /api/v1/skills/:id
Only active skills reach an agent. Archiving a skill stops agents from using it but keeps its assignments, so restoring it puts everything back as it was. A skill can only be deleted once it is archived.
Requests from agents
When an agent finds a skill it needs, it can ask for it. Pending requests are listed at GET /api/v1/skills/requests and decided with:
POST /api/v1/skills/requests/:slug/approve
POST /api/v1/skills/requests/:slug/reject
Approving a request brings the skill in, allows it and assigns it to the agent in one step. Your skill policy decides whether requests are approved automatically.
Just ask Loyd
In the dashboard you can ask Loyd to "give the support agent a skill for ticket triage". Loyd browses the catalog and assigns the skill.