SpecifyDocs

skill_update

tools/call

Changes a skill: send only the files you add or change, and list paths to remove. Starts from the waiting draft if there is one, else the approved version. The change is a draft: agents keep the approved version until the person approves the draft on the web.

Scopes

read:skillswrite:skills

Changing a project skill needs read:projects and write:projects with Edit tasks on one of its projects. 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[]
Files to add or replace
removestring[]
Paths to remove
replaceboolean
With true, files is the whole skill, replacing all earlier files; omit remove
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. With replace:true, files replaces the whole skill and no remove list is accepted. 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.