Inspect

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.

Base URL
PATCH
/api/v2/skills/{skill_id}

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.

Authorization

bearerAuth skills:write
headerAuthorizationBearer <token>

API key authentication. Use your API key as the bearer token.

Scope: skills:write

Path Parameters

skill_id*string

Current skill ID

Request Body

application/json
  1. body

At least one field must be provided. Provide either content or files, not both.

Properties1 <= properties
id?Skills.SkillId

New skill ID, to rename the skill

Match^[a-z0-9-]+$
Length1 <= length <= 100
description?string

At most 1024 characters, per the Agent Skills spec

Lengthlength <= 1024
content?string

Replacement 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.

Itemsitems <= 20
collaborator_user_ids?array<>

Replacement collaborator list

Response Body

Skill updated

application/json
  1. response
data*
Example Request
curl -X PATCH 'https://app.inspect.com/api/v2/skills/release-notes' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
{  "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"  }}