Claude Platform Docs

技能

创建技能
POST/v1/skills
列出技能
GET/v1/skills
获取技能
GET/v1/skills/{skill_id}
删除技能
DELETE/v1/skills/{skill_id}
Models
BetaDeletedSkill object{ id, type }
id: string

Unique identifier for the skill.

The format and length of IDs may change over time.

type: "skill_deleted"

Deleted object type.

For Skills, this is always "skill_deleted".

defaultskill_deleted
BetaSkill object{ id, created_at, display_name, 4 more }
BetaSkillSource object{ type }
type: "custom" or "anthropic" or "anthropic_example" or "plugin"

Where the Skill comes from.

Possible values:

  • "custom": authored by the platform user; private to their workspace
  • "anthropic": published by Anthropic; shared and read-only
  • "anthropic_example": Anthropic-published sample Skill
  • "plugin": resolved from an installed plugin
One of the following:
"custom"
"anthropic"
"anthropic_example"
"plugin"

技能版本

创建技能版本
POST/v1/skills/{skill_id}/versions
列出技能版本
GET/v1/skills/{skill_id}/versions
下载技能版本内容
GET/v1/skills/{skill_id}/versions/{version}/content
获取技能版本
GET/v1/skills/{skill_id}/versions/{version}
删除技能版本
DELETE/v1/skills/{skill_id}/versions/{version}