---
title: "Import custom skills from Anthropic"
method: POST
path: "/v1/plugins/anthropic-skills/import"
tags: ["Plugins"]
---

# Import custom skills from Anthropic

`POST /v1/plugins/anthropic-skills/import`

## Request

- Base URL: `https://api.openworklabs.com`
- URL: `https://api.openworklabs.com/v1/plugins/anthropic-skills/import`
- Auth: one of:
  - API key in header `x-api-key`
  - HTTP bearer

Downloads each chosen custom skill's latest version from Anthropic with the API key a person enters, and creates one private plugin per skill holding it with all its files, like a ZIP import. The key is used for this request only and is never stored; the agent and API keys cannot send it. Each skill succeeds or fails on its own; the results say which and why.

## Request body

- object
  - `apiKey` string, required: An Anthropic API key from the workspace that holds the skills. Used for this request only; never stored.
  - `skillIds` string[], required: Custom skill ids from the preview.

## Response `200`

Each chosen skill's outcome.

- AnthropicSkillsImportResponse
  - `results` union[], required
    - union
      - object
        - `skillId` string, required
        - `name` string, required
        - `ok` true, required
        - `pluginId` string, required
      - object
        - `skillId` string, required
        - `name` string, nullable, required
        - `ok` false, required
        - `error` string, required
        - `message` string, required

## Other responses

- `400`: The request was invalid or the key was sent by the agent.
- `401`: The caller must be signed in.
- `403`: The caller lacks permission to create plugins.

## Changes

- **2026-11-20** `d274e7f78fc2`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/openworklabs/apis/den-api/changes/v1/plugins/anthropic-skills/import/post.md)

---

[API](https://skmtc.dev/openworklabs/apis/den-api.md) - [All operations](https://skmtc.dev/openworklabs/apis/den-api/llms.txt) - [OpenAPI document](https://skmtc.dev/openworklabs/apis/den-api/revisions/84fb0f99fb95?raw)
