---
title: "Import a skill from a ZIP archive"
method: POST
path: "/v1/plugins/skill-zip"
tags: ["Plugins"]
---

# Import a skill from a ZIP archive

`POST /v1/plugins/skill-zip`

## Request

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

Creates a private plugin holding one skill from a .zip in the layout Anthropic's Agent Skills use (and Claude exports): SKILL.md at the root, or in one folder named after the skill, with any supporting files beside it. Send multipart form data with the archive in `file` and an optional `pluginName` (the skill name by default). Files of any type; up to 40 MB per archive, 500 files, 10 MB per file and 30 MB of supporting files. The skill is available to its creator at once and is not shared.

## Response `201`

Plugin and skill created from the archive.

- PluginArchPluginMutationResponse
  - `ok` true, required
  - `item` PluginArchPlugin, required
    - `id` string, typeid, required: Den TypeID with 'plg_' prefix and a 26-character base32 suffix.
    - `externalKey` string, nullable, required
    - `organizationId` string, typeid, required: Den TypeID with 'org_' prefix and a 26-character base32 suffix.
    - `name` string, required
    - `description` string, nullable, required
    - `sourceRepositoryUrl` string, nullable, required
    - `sourceFormat` 'agent-plugin' | 'openwork-builtin' | 'openwork-extension-manifest' | 'claude-plugin' | 'opencode-plugin' | 'mcp-directory' | 'manual', nullable, required
    - `sourceSchemaVersion` string, nullable, required
    - `status` 'active' | 'inactive' | 'deleted' | 'archived', required
    - `createdByOrgMembershipId` string, typeid, required: Den TypeID with 'om_' prefix and a 26-character base32 suffix.
    - `createdAt` string, date-time, required
    - `updatedAt` string, date-time, required
    - `deletedAt` string, date-time, nullable, required
    - `memberCount` integer
    - `marketplaces` object[]
      - `id` string, typeid, required: Den TypeID with 'mkt_' prefix and a 26-character base32 suffix.
      - `name` string, required
    - `extension` PluginArchExtensionProjection, nullable
      - `id` string, typeid, required: Den TypeID with 'plg_' prefix and a 26-character base32 suffix.
      - `name` string, required
      - `description` string, nullable, required
      - `sourceFormat` 'agent-plugin' | 'openwork-builtin' | 'openwork-extension-manifest' | 'claude-plugin' | 'opencode-plugin' | 'mcp-directory' | 'manual', required
      - `manifest` OpenWorkExtensionManifest, nullable, required
        - `schemaVersion` 1, required
        - `id` string, required
        - `name` string, required
        - `description` string, required
        - `source` object, required
          - `format` 'agent-plugin' | 'openwork-builtin' | 'openwork-extension-manifest' | 'claude-plugin' | 'opencode-plugin' | 'mcp-directory' | 'manual', required
          - `trusted` boolean, required
          - `origin` 'builtin' | 'den' | 'workspace' | 'local'
          - `reference` string
        - `resources` object[], required
        - `contributions` object[]
        - `setup` object
        - `lifecycle` object

## Other responses

- `400`: The archive or the skill in it was invalid.
- `401`: The caller must be signed in to import skills.
- `403`: The caller lacks permission to create plugins.
- `413`: The archive is larger than 40 MB.

## Changes

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

[Operation history](https://skmtc.dev/openworklabs/apis/den-api/changes/v1/plugins/skill-zip/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)
