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.
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.
bearerAuth skills:writeAuthorizationBearer <token>API key authentication. Use your API key as the bearer token.
Scope: skills:write
application/json- body
Provide either content or files, not both.
id*Skills.SkillIdUnique kebab-case skill ID
^[a-z0-9-]+$1 <= length <= 100description?stringAt most 1024 characters, per the Agent Skills spec
length <= 1024""content?stringSKILL.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.
items <= 20collaborator_user_ids?array<>Inspect user IDs who can also edit the skill
[]Skill created
application/json- response
data*curl -X POST 'https://app.inspect.com/api/v2/skills' \ -H 'Content-Type: application/json' \ -d '{ "id": "release-notes"}'{ "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" }}