Claude Platform Docs

Skills

Criar skill
client.skills.create(params, options?): Skill
POST/v1/skills
Listar skills
client.skills.list(params?, options?): PageCursor<Skill>
GET/v1/skills
Obter skill
client.skills.retrieve(skillID, params?, options?): Skill
GET/v1/skills/{skill_id}
Excluir skill
client.skills.delete(skillID, params?, options?): DeletedSkill
DELETE/v1/skills/{skill_id}
Models
interface DeletedSkill { type: "skill_deleted"; id }
type: "skill_deleted"

Deleted object type.

For Skills, this is always "skill_deleted".

defaultskill_deleted
id: string

Unique identifier for the skill.

The format and length of IDs may change over time.

interface Skill { type: "skill"; id; created_at; /* 4 more */ }
interface 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"

SkillsVersões

Criar versão de skill
client.skills.versions.create(skillID, params, options?): SkillVersion
POST/v1/skills/{skill_id}/versions
Listar versões de skill
client.skills.versions.list(skillID, params?, options?): PageCursor<SkillVersion>
GET/v1/skills/{skill_id}/versions
Obter versão de skill
client.skills.versions.retrieve(version, params, options?): SkillVersion
GET/v1/skills/{skill_id}/versions/{version}
Excluir versão de skill
client.skills.versions.delete(version, params, options?): DeletedSkillVersion
DELETE/v1/skills/{skill_id}/versions/{version}