Inspect

Create skill

Create a skill owned by the API key user. Provide either `content` (the `SKILL.md` body) or `files` (the complete file set, which must include `SKILL.md`). Creating a skill with the ID of an archived skill restores it; only its original owner or an admin can do this.

Base URL
POST
/api/v2/skills

Create a skill owned by the API key user. Provide either content (the SKILL.md body) or files (the complete file set, which must include SKILL.md). Creating a skill with the ID of an archived skill restores it; only its original owner or an admin can do this.

Authorization

bearerAuth skills:write
headerAuthorizationBearer <token>

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

Scope: skills:write

Request Body

application/json
  1. body

Provide either content or files, not both.

id*Skills.SkillId

Unique kebab-case skill ID

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

At most 1024 characters, per the Agent Skills spec

Lengthlength <= 1024
Default""
content?string

SKILL.md body. Mutually exclusive with files.

files?array<>

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

Inspect user IDs who can also edit the skill

Default[]

Response Body

Skill created

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