Claude Platform Docs

Compétences

Créer un Skill
BetaSkill Beta.Skills.Create(parameters, cancellationToken = default)
POST/v1/skills
Lister les Skills
SkillListPage Beta.Skills.List(parameters, cancellationToken = default)
GET/v1/skills
Obtenir un Skill
BetaSkill Beta.Skills.Retrieve(parameters, cancellationToken = default)
GET/v1/skills/{skill_id}
Supprimer un Skill
BetaDeletedSkill Beta.Skills.Delete(parameters, cancellationToken = default)
DELETE/v1/skills/{skill_id}
Models
class BetaDeletedSkill { 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 BetaSkill { 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 BetaSkillSource 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 BetaSkillSource { 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")

CompétencesVersions

Créer une version de Skill
BetaSkillVersion Beta.Skills.Versions.Create(parameters, cancellationToken = default)
POST/v1/skills/{skill_id}/versions
Lister les versions de Skill
VersionListPage Beta.Skills.Versions.List(parameters, cancellationToken = default)
GET/v1/skills/{skill_id}/versions
Télécharger le contenu d'une version de skill
HttpResponse Beta.Skills.Versions.Download(parameters, cancellationToken = default)
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
BetaSkillVersion Beta.Skills.Versions.Retrieve(parameters, cancellationToken = default)
GET/v1/skills/{skill_id}/versions/{version}
Supprimer une version de Skill
BetaDeletedSkillVersion Beta.Skills.Versions.Delete(parameters, cancellationToken = default)
DELETE/v1/skills/{skill_id}/versions/{version}