Skip to main content
POST
cURL

授权

Authorization
string
header
必填

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

请求体

multipart/form-data
scopeType
enum<string>
必填

Ownership scope

可用选项:
base,
space,
system,
user,
User,
app,
App,
cuppyclaw,
Cuppyclaw,
routine,
Routine
file
any | null

Skill file (.zip or .skill); content must be a valid ZIP archive (a .skill file is a renamed .zip)

scopeId
string

Scope entity ID (required for base/space/app/cuppyclaw/routine)

响应

200 - application/json

Imported skill

id
string
必填

Unique skill identifier

slug
string
必填

URL-safe skill slug

name
string
必填

Display name of the skill

skillMd
string
必填

SKILL.md content defining the skill

scopeType
enum<string>
必填

Ownership scope: base (project), space, system, user, app, cuppyclaw or routine

可用选项:
base,
space,
system,
user,
User,
app,
App,
cuppyclaw,
Cuppyclaw,
routine,
Routine
isEnabled
boolean
必填

Whether the skill is enabled / available to the agent

createdTime
string
必填

ISO 8601 creation timestamp

createdBy
string
必填

User ID of the creator

description
string | null

Short description of what the skill does

icon
string | null

Icon identifier or emoji

sourceMeta
any | null

Source metadata (github/zip/manual)

contentHash
string | null

SHA-256 content hash for change detection

最后修改于 2026年9月15日