Claude Platform Docs

Skills

Create Skill
client.skills.create(SkillCreateParamsbody, RequestOptionsoptions?): Skill
POST/v1/skills
List Skills
client.skills.list(SkillListParamsquery?, RequestOptionsoptions?): PageCursor<Skill>
GET/v1/skills
Get Skill
client.skills.retrieve(stringskillID, RequestOptionsoptions?): Skill
GET/v1/skills/{skill_id}
Delete Skill
client.skills.delete(stringskillID, RequestOptionsoptions?): DeletedSkill
DELETE/v1/skills/{skill_id}
Models
DeletedSkill { 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
Skill { id, created_at, display_name, 4 more }
SkillSource { type }
type: "custom" | "anthropic" | "anthropic_example" | "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"

SkillsVersions

Create Skill Version
client.skills.versions.create(stringskillID, VersionCreateParamsbody, RequestOptionsoptions?): SkillVersion
POST/v1/skills/{skill_id}/versions
List Skill Versions
client.skills.versions.list(stringskillID, VersionListParamsquery?, RequestOptionsoptions?): PageCursor<SkillVersion>
GET/v1/skills/{skill_id}/versions
Get Skill Version
client.skills.versions.retrieve(stringversion, VersionRetrieveParamsparams, RequestOptionsoptions?): SkillVersion
GET/v1/skills/{skill_id}/versions/{version}
Delete Skill Version
client.skills.versions.delete(stringversion, VersionDeleteParamsparams, RequestOptionsoptions?): DeletedSkillVersion
DELETE/v1/skills/{skill_id}/versions/{version}