---
title: "Create a skill version"
method: POST
path: "/api/v1/skills/{slug}/versions"
tags: ["Skills"]
---

# Create a skill version

`POST /api/v1/skills/{slug}/versions`

## Request

- Base URL: `https://api.skills-hub.ai`
- URL: `https://api.skills-hub.ai/api/v1/skills/{slug}/versions`
- Auth: one of:
  - HTTP bearer
  - API key in header `Authorization`

Publishes a new, higher semver version of a skill with updated instructions and optional changelog. Restricted to the author, an org `PUBLISHER`+, or an admin. Runs AI review; in orgs that gate modifications, a non-admin's version is held pending approval. Notifies installers of the update.

## Path parameters

- `slug` string, required

## Response `200`

Successful response. The returned fields are described in this endpoint's summary/description; typed per-field response schemas are being added incrementally.

- object: The newly created version as a VersionSummary.
  - `id` string, required
  - `version` string, required
  - `changelog` string, nullable
  - `contentHash` string, nullable
  - `qualityScore` number, nullable
  - `createdAt` string, required

---

[API](https://skmtc.dev/skills-hub/apis/skills-hub-ai-api.md) · [All operations](https://skmtc.dev/skills-hub/apis/skills-hub-ai-api/llms.txt) · [OpenAPI document](https://skmtc.dev/skills-hub/apis/skills-hub-ai-api/revisions/cb5d46d80300?raw)
