Skills
Overview
Skills are reusable, tenant-scoped capabilities that can be attached to agents. A skill packages instructions (a skill.md file) and optional supporting resources into an artifact bundle stored in S3.
When an agent with configured skills is invoked, the runtime loads all of the skill's artifacts from S3 and provisions them into the agent's code interpreter sandbox. The skill.md file serves as the entry point for progressive disclosure — the agent reads it to discover what the skill does and what other files (scripts, resources, configs) are available under /tmp/skills/{skill-name}/.
How It Works
- Create a skill — declare all files up front and receive presigned upload URLs
- Upload each file directly to S3 via its presigned URL
- Create a new version to publish updated skill artifacts
- Configure an agent with the skill
Creating a Skill
POST /v1/skills
{
"name": "document-summarization",
"displayName": "Document Summarization",
"description": "Summarizes documents into concise formats. Supports bullet, short, and executive formats.",
"files": [
{ "filename": "skill.md", "mediaType": "text/markdown", "sizeBytes": 1024 },
{ "filename": "resources/schema.json", "mediaType": "application/json", "sizeBytes": 512 }
]
}
Required Fields
| Parameter | Description |
|---|---|
name | Unique slug name for the skill within your tenant. Must be 3–100 characters. Allowed characters: lowercase letters, digits, hyphens, underscores, and dots (e.g. document-summarization, skill_v2, my.skill). Must start and end with a letter or digit. |
displayName | Human-readable title (for display purposes only) |
description | What the skill does. Max 255 characters. Must not contain markdown headings (#, ##, etc.). |
files | List of artifact files to upload. Must include skill.md. Up to 20 files. |
files entries
| Field | Description |
|---|---|
filename | Relative path within the skill's artifact prefix. Examples: skill.md, resources/schema.json, scripts/transform.py. |
mediaType | MIME type of the file. Must be one of the supported types. |
sizeBytes | Exact file size in bytes (> 0, ≤ 10 MB). Signed into the upload URL — S3 enforces this value on upload. |
Response
{
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"currentVersionId": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
"name": "document-summarization",
"displayName": "Document Summarization",
"description": "Summarizes documents into concise formats.",
"createdBy": "user-subject",
"uploadUrls": [
{ "uploadUrl": "https://your-bucket.s3.amazonaws.com/...?X-Amz-Signature=...", "filename": "skill.md", "expiresIn": 600 },
{ "uploadUrl": "https://your-bucket.s3.amazonaws.com/...?X-Amz-Signature=...", "filename": "resources/schema.json", "expiresIn": 600 }
],
"createdAt": "2026-05-27T10:00:00Z",
"updatedAt": "2026-05-27T10:00:00Z"
}
Save the id, currentVersionId, and each uploadUrl — you'll need them for the next steps.
Uploading Artifacts to S3
Upload each file directly to S3 using its presigned URL. This is a direct S3 call — not through the API.
PUT <uploadUrl>
Content-Type: text/markdown
<contents of skill.md>
Example skill.md
# Document Summarization
## Purpose
Summarize documents into concise, structured formats on request.
## Instructions
- Read the full document before summarizing.
- Ask the user which format they want if not specified:
- **bullet** — key points as a bulleted list
- **short** — 2–3 sentence summary
- **executive** — structured summary with Background, Key Points, and Recommendation
- Do not fabricate information not present in the document.
A successful upload returns HTTP 200 with an empty body from S3.
S3 will return 403 SignatureDoesNotMatch if the Content-Type header on the PUT request does not exactly match the configured media type. Make sure this header is set correctly in your HTTP client before sending the request.
Skill upload URLs expire after 10 minutes (600 seconds). If they expire before you upload, create a new skill version to obtain fresh URLs.
Supported artifact types
| MIME type | Extensions |
|---|---|
text/markdown | .md |
application/json | .json |
text/x-python | .py |
text/plain | .txt |
application/yaml | .yaml, .yml |
text/csv | .csv |
text/tab-separated-values | .tsv |
text/xml / application/xml | .xml |
Managing Skills
List Skills
GET /v1/skills?limit=25&offset=0
Returns all skills for the tenant.
Get a Skill
GET /v1/skills/{id}
Returns full skill details.
Update a Skill
PATCH /v1/skills/{id}
{
"displayName": "Document Summarization v2",
"description": "Enhanced document summarization with executive format support."
}
Updates displayName and/or description. At least one field must be provided. To change artifacts, create a new skill version instead. The same constraints apply to description as on create (max 255 characters, no markdown headings).
Delete a Skill
DELETE /v1/skills/{id}
Removes the skill and all of its versions, including all related S3 artifacts.
{
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"deleted": true
}
Attaching Skills to Agents
Reference a skill and a specific version in the skills field when creating or updating a tool, task, or manager agent. Use the skill's id and the selected version's versionId; each agent can select only one version of a given skill. Skills are part of the saved agent configuration; they are not overridable on a per-invocation basis.
{
"agentType": "tool",
"config": {
"llmModelId": "anthropic.claude-sonnet-4-6",
"systemPrompt": "You are a data processing assistant.",
"skills": [
{
"skillId": "550e8400-e29b-41d4-a716-446655440000",
"versionId": "c1b2c3d4-e5f6-7890-abcd-ef1234567890"
},
{
"skillId": "6ba7b810-9dad-11d1-80b4-00c04fd430c8",
"versionId": "d2c3d4e5-f6a7-8901-bcde-f12345678901"
}
]
}
}
Managing Skill Versions
Creating a version keeps the skill’s name, display name, and description unchanged. It creates a new artifact bundle with its own version ID, so uploads won’t overwrite files from earlier versions.
Create a version
POST /v1/skills/{skillId}/versions
Send the same files structure used when creating a skill. The list must include skill.md.
{
"files": [
{ "filename": "skill.md", "mediaType": "text/markdown", "sizeBytes": 1200 },
{ "filename": "resources/schema.json", "mediaType": "application/json", "sizeBytes": 600 }
]
}
The response contains the new versionId, its sequential versionNumber, and presigned uploadUrls. Upload each file before configuring an agent to use this version, by setting skillId and versionId in the agent's skills field.
List versions
GET /v1/skills/{skillId}/versions?limit=25&offset=0
Returns versions in descending version-number order, with the same pagination structure as the skills list response.
Get a version
GET /v1/skills/{skillId}/versions/{versionId}
Both IDs are required. A version ID belonging to another skill or tenant returns 404.
Requirements
- Agent types:
tool, LangChaintask, andmanageragents support skills. Manager skills are available even without configured experts. Configured experts resolve their own skill lists independently; attach the same skill UUID to each agent when sharing is intended. RAG agents ignore theskillsfield. - skill.md required: If
skill.mdis missing from S3 at agent create, update, or invocation time, the request will fail.