skill_create
tools/call
Creates a new skill from its files, which must include SKILL.md with a name and description. The change is a draft: agents keep the approved version until the person approves the draft on the web. Refused when the name is taken; use skill_update to change a skill.
Scopes
read:skillswrite:skills
Creating a project's skill (project) needs read:projects and write:projects with Edit tasks on it. OAuth reads may instead use read:personal_skills for only the exact owner's approved personal skills in their personal organization. Personal drafts and changes stay refused; project reads still need read:skills. A project skill, or a call that names project, also needs read:projects and sight of the project; without it project skills are left out or read as NOT_FOUND. Whether the connection may draft one is checked with write:projects (Edit tasks), and whether its person could decide on it with manage:projects; an agent never approves, declines, withdraws or removes.
Inputs
- namestringRequired
- The skill's name, as skills_list shows it
- filesobject[]Required
- Every file of the skill
- idempotencyKeystringRequired
- A retry key you choose, 8 to 80 letters, digits or . _ : -; the same call sent again with it writes nothing new
- projectstring
- A project's id, key or name. Lists or reads the skills an agent working there loads, or drafts that project's skill.
Returns
The draft's version number and whether it can run code, or the checks it failed. A call returns content[0].text with the JSON result and structuredContent.result with the same value.
Listed when
The connection holds the tool's scope. Project skills need read:skills and project access; approved personal skills need read:personal_skills in the owner's personal organization. Personal drafts and changes stay refused.