---
title: "Create a new skill."
method: POST
path: "/skills"
tags: ["Skills"]
---

# Create a new skill.

`POST /skills`

## Request body

- CreateSkillBody — Uploads a skill either as a directory (multipart `files[]`) or as a single zip file.
  - `files` union, required
    - string[] — Skill files to upload (directory upload) or a single zip file.
    - string, binary — Skill zip file to upload.

## Response `200`

Success

- SkillResource
  - `id` string, required — Unique identifier for the skill.
  - `object` 'skill', required — The object type, which is `skill`.
  - `name` string, required — Name of the skill.
  - `description` string, required — Description of the skill.
  - `created_at` integer, required — Unix timestamp (seconds) for when the skill was created.
  - `default_version` string, required — Default version for the skill.
  - `latest_version` string, required — Latest version for the skill.

---

[API](https://skmtc.net/openai/apis/openai-api-3.md) · [All operations](https://skmtc.net/openai/apis/openai-api-3/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/openai/openai-api-3/versions/74cbcf73838f/schema)
