Claude Platform Docs

技能

创建技能
Skill Skills.Create(parameters, cancellationToken = default)
POST/v1/skills
列出技能
SkillListPage Skills.List(parameters, cancellationToken = default)
GET/v1/skills
获取技能
Skill Skills.Retrieve(parameters, cancellationToken = default)
GET/v1/skills/{skill_id}
删除技能
DeletedSkill Skills.Delete(parameters, cancellationToken = default)
DELETE/v1/skills/{skill_id}
Models
class DeletedSkill { Type = "skill_deleted"; ID; }
JsonElement Type = "skill_deleted"

Deleted object type.

For Skills, this is always "skill_deleted".

required string ID

Unique identifier for the skill.

The format and length of IDs may change over time.

class Skill { Type = "skill"; ID; CreatedAt; /* 4 more */ }
JsonElement Type = "skill"

Object type.

For Skills, this is always "skill".

required string ID

Unique identifier for the skill.

The format and length of IDs may change over time.

required DateTimeOffset CreatedAt

ISO 8601 timestamp of when the skill was created.

formatdate-time
required string DisplayName

Human-readable, single-line label for the Skill. Maximum 255 characters. Always set: derived from the SKILL.md frontmatter name when omitted at creation. Not unique.

required string LatestVersionID

ID of the newest Skill Version — what latest references resolve to. Always set: a Skill holds at least one version.

required SkillSource Source

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
required Type Type

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("custom")
Anthropic("anthropic")
AnthropicExample("anthropic_example")
Plugin("plugin")
required DateTimeOffset UpdatedAt

ISO 8601 timestamp of when the skill was last updated.

formatdate-time
class SkillSource { Type; }
required Type Type

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("custom")
Anthropic("anthropic")
AnthropicExample("anthropic_example")
Plugin("plugin")

技能版本

创建技能版本
SkillVersion Skills.Versions.Create(parameters, cancellationToken = default)
POST/v1/skills/{skill_id}/versions
列出技能版本
VersionListPage Skills.Versions.List(parameters, cancellationToken = default)
GET/v1/skills/{skill_id}/versions
获取技能版本
SkillVersion Skills.Versions.Retrieve(parameters, cancellationToken = default)
GET/v1/skills/{skill_id}/versions/{version}
删除技能版本
DeletedSkillVersion Skills.Versions.Delete(parameters, cancellationToken = default)
DELETE/v1/skills/{skill_id}/versions/{version}