---
title: "Create a skill from a template"
method: POST
path: "/api/v1/orgs/{slug}/templates/{id}/create-skill"
tags: ["Org Templates"]
---

# Create a skill from a template

`POST /api/v1/orgs/{slug}/templates/{id}/create-skill`

## Request

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

Instantiates a new `ORG`-visibility skill from a template, letting the caller override name, description, category, platforms, instructions, and version. Instructions (from the request or the template) must be at least 50 characters. Requires the `PUBLISHER` org role or higher.

## Path parameters

- `slug` string, required
- `id` 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
  - `id` string
  - `slug` string
  - `name` string
  - `description` string
  - `category` object
    - `name` string
    - `slug` string
  - `author` object
    - `username` string
    - `avatarUrl` string, nullable
    - `trustLevel` 'NEW' | 'ESTABLISHED' | 'TRUSTED'
  - `status` 'DRAFT' | 'PENDING_REVIEW' | 'PUBLISHED' | 'ARCHIVED'
  - `visibility` string
  - `platforms` string[]
  - `permissions` string[]
  - `qualityScore` number, nullable
  - `aiQualityScore` number, nullable
  - `installCount` integer
  - `likeCount` integer
  - `userLiked` boolean
  - `avgRating` number, nullable
  - `reviewCount` integer
  - `latestVersion` string
  - `tags` string[]
  - `isComposition` boolean
  - `org` object, nullable
    - `slug` string
    - `name` string
  - `createdAt` string, date-time
  - `updatedAt` string, date-time

---

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