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

# Fork a skill

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

## Request

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

Creates a `DRAFT` copy of a published skill owned by the caller, copying its latest instructions and tags and incrementing the source's fork count. Authenticated. Cannot fork private skills or your own skill. Responds `201` with the new skill's `slug` and `id`.

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

- unknown

## Other responses

- `201`: Successful response

---

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