Create skill
create_skill · Tools · Knowledge
Save a new skill for the workspace
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
content | string | Yes | The procedure, in markdown. At most 51,200 bytes. |
description | string | Yes | One routing hint of at most 12 words saying when to use it. |
title | string | Yes | What the skill is for, such as `Code review`. The slug is derived from it and does not change on rename. |
Create Skill Tool#
create_skill saves a new skill: a reusable procedure or preference saying how something is done in this workspace.
When to Use#
The agent uses it when the user teaches a way of working they will want again, or asks the agent to remember one. A skill holds how work is done here, not facts any model already knows.
Parameters#
| Parameter | Type | Required | Description |
|---|---|---|---|
title |
string | Yes | What the skill is for, such as Code review. The slug is derived from it and stays the same when the skill is renamed |
description |
string | Yes | One routing hint of at most 12 words: when to use it; when not to only if that prevents confusion. It keeps recognizable trigger words and does not restate the name |
content |
string | Yes | The procedure, as markdown; at most 51,200 bytes |
Returns#
| Field | Type | Description |
|---|---|---|
slug |
string | The new skill's slug |
revision |
integer | Its revision, 1 |
Example Scenario#
{
"title": "Code review",
"description": "Reviewing a diff before merge; Freja's checklist and tone",
"content": "## Checklist\n- Tests pass\n- Names say what the thing is\n"
}
Notes#
- A title whose slug a built-in uses is refused:
"`<slug>` is a built-in skill. Ask the user to copy it in Settings → Skills; the copy then replaces it here and can be updated." - A title whose slug another skill already has is refused:
A skill `<slug>` already exists; update it instead - Text over 51,200 bytes is refused
- Risk: write