Create a skill or a new version of it
Create a skill file (markdown, up to 5 MB). To upload a new version of a skill file, pass its fileId. To change only a part of a skill file, use edit_skill. A new skill file goes to the General folder unless you give a folderId. Requires write access.
Authentication
AuthorizationBearer
A Basement key (bsmt_...), from Agents, Connect in the app.
Request
This endpoint expects an object.
name
File name, e.g. account-research.skill.md
content
The skill's full markdown content
fileId
Optional ID of the skill file to update, from list_skills
folderId
Optional folder for a new skill file, from list_folders. You must have write access to it. Ignored with fileId
Response
The tool's answer.
id
The new file's ID (when a file was created)
versionCount
The file's new version (when a file was replaced)
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
429
Too Many Requests Error
500
Internal Server Error