Update skill
Update or rename a skill. Omitted fields are unchanged. `files` replaces the complete file set and must include `SKILL.md`; `content` replaces only `SKILL.md`. Renaming updates references from user settings and custom agents. Only the owner, a collaborator, or an admin can update a skill; built-in skills are read-only.
Update or rename a skill. Omitted fields are unchanged. files replaces the complete file set and must include SKILL.md; content replaces only SKILL.md. Renaming updates references from user settings and custom agents. Only the owner, a collaborator, or an admin can update a skill; built-in skills are read-only.
bearerAuth skills:writeAuthorizationBearer <token>API key authentication. Use your API key as the bearer token.
Scope: skills:write
skill_id*stringCurrent skill ID
application/json- body
At least one field must be provided. Provide either content or files, not both.
1 <= propertiesid?Skills.SkillIdNew skill ID, to rename the skill
^[a-z0-9-]+$1 <= length <= 100description?stringAt most 1024 characters, per the Agent Skills spec
length <= 1024content?stringReplacement SKILL.md body. Mutually exclusive with files.
files?array<>Replacement for the complete file set, including SKILL.md. Mutually exclusive with content. At most 20 files and 20 MB in total.
items <= 20collaborator_user_ids?array<>Replacement collaborator list
Skill updated
application/json- response
data*curl -X PATCH 'https://app.inspect.com/api/v2/skills/release-notes' \ -H 'Content-Type: application/json' \ -d '{}'{ "data": { "id": "release-notes", "url": "https://app.inspect.com/customize/skills/release-notes", "description": "Draft release notes for acme/web from pull requests merged since the last tag.", "files": [ { "name": "SKILL.md", "content": "---\nname: release-notes\ndescription: Draft release notes for acme/web from pull requests merged since the last tag.\n---\n\n# Release notes\n\n1. Find the latest release tag.\n2. List pull requests merged since that tag.\n3. Group changes into Features, Fixes, and Internal.\n" } ], "builtin": false, "owner": { "id": "Xk3pQ9mZr7Lw2NbT5vYc8HdJ4sFa6GeR", "name": "Jane Doe", "email": "jane@acme.com", "avatar_url": "https://lh3.googleusercontent.com/a/ACg8ocJ4kZ2mXw9LrT4nB7cYd1eFgH5sZ0aUiO3pE6tWjN=s96-c" }, "collaborators": [ { "id": "Xk3pQ9mZr7Lw2NbT5vYc8HdJ4sFa6GeR", "name": "Jane Doe", "email": "jane@acme.com", "avatar_url": "https://lh3.googleusercontent.com/a/ACg8ocJ4kZ2mXw9LrT4nB7cYd1eFgH5sZ0aUiO3pE6tWjN=s96-c" } ], "viewer_can_edit": true, "created_at": "2026-10-28T15:42:11.204Z", "updated_at": "2026-10-29T09:17:36.512Z" }}