Claude Platform Docs

Compétences

Créer un Skill
client.beta.skills.create(params, options?): BetaSkill
POST/v1/skills
Lister les Skills
client.beta.skills.list(params?, options?): PageCursor<BetaSkill>
GET/v1/skills
Obtenir un Skill
client.beta.skills.retrieve(skillID, params?, options?): BetaSkill
GET/v1/skills/{skill_id}
Supprimer un Skill
client.beta.skills.delete(skillID, params?, options?): BetaDeletedSkill
DELETE/v1/skills/{skill_id}
Models
interface BetaDeletedSkill { 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 BetaSkill { type: "skill"; id; created_at; /* 4 more */ }
interface BetaSkillSource { 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"

CompétencesVersions

Créer une version de Skill
client.beta.skills.versions.create(skillID, params, options?): BetaSkillVersion
POST/v1/skills/{skill_id}/versions
Lister les versions de Skill
client.beta.skills.versions.list(skillID, params?, options?): PageCursor<BetaSkillVersion>
GET/v1/skills/{skill_id}/versions
Télécharger le contenu d'une version de skill
client.beta.skills.versions.download(version, params, options?): Response
GET/v1/skills/{skill_id}/versions/{version}/content

Télécharge le contenu d'une version de skill sous forme d'archive zip.

Obtenir une version de Skill
client.beta.skills.versions.retrieve(version, params, options?): BetaSkillVersion
GET/v1/skills/{skill_id}/versions/{version}
Supprimer une version de Skill
client.beta.skills.versions.delete(version, params, options?): BetaDeletedSkillVersion
DELETE/v1/skills/{skill_id}/versions/{version}