Skip to main content
POST
cURL

授权

Authorization
string
header
必填

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

路径参数

id
string
必填

Skill ID to copy

请求体

application/json
targetScopeType
enum<string>
必填

Target ownership scope

可用选项:
base,
space,
system,
user,
User,
app,
App,
cuppyclaw,
Cuppyclaw,
routine,
Routine
targetScopeId
string

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

sourceBaseId
string

Source project context: authorizes reading a folded space skill via base|read on that project.

响应

200 - application/json

Copied 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日