Claude Platform Docs

スキル

スキルを作成
BetaSkill beta().skills().create(params, requestOptions = RequestOptions.none())
POST/v1/skills
スキルの一覧
SkillListPage beta().skills().list(params = SkillListParams.none(), requestOptions = RequestOptions.none())
GET/v1/skills
スキルを取得
BetaSkill beta().skills().retrieve(params = SkillRetrieveParams.none(), requestOptions = RequestOptions.none())
GET/v1/skills/{skill_id}
スキルを削除
BetaDeletedSkill beta().skills().delete(params = SkillDeleteParams.none(), requestOptions = RequestOptions.none())
DELETE/v1/skills/{skill_id}
Models
class BetaDeletedSkill { type = "skill_deleted"; id; }
JsonValue type = "skill_deleted"

Deleted object type.

For Skills, this is always "skill_deleted".

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 */ }
JsonValue type = "skill"

Object type.

For Skills, this is always "skill".

String id

Unique identifier for the skill.

The format and length of IDs may change over time.

LocalDateTime createdAt

ISO 8601 timestamp of when the skill was created.

formatdate-time
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.

String latestVersionId

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

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
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")
ANTHROPIC_EXAMPLE("anthropic_example")
PLUGIN("plugin")
LocalDateTime updatedAt

ISO 8601 timestamp of when the skill was last updated.

formatdate-time
class BetaSkillSource { type; }
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")
ANTHROPIC_EXAMPLE("anthropic_example")
PLUGIN("plugin")

スキルバージョン

スキルバージョンを作成
BetaSkillVersion beta().skills().versions().create(params, requestOptions = RequestOptions.none())
POST/v1/skills/{skill_id}/versions
スキルバージョンの一覧
VersionListPage beta().skills().versions().list(params = VersionListParams.none(), requestOptions = RequestOptions.none())
GET/v1/skills/{skill_id}/versions
スキルバージョンのコンテンツをダウンロード
HttpResponse beta().skills().versions().download(params, requestOptions = RequestOptions.none())
GET/v1/skills/{skill_id}/versions/{version}/content

スキルバージョンのコンテンツを zip アーカイブとしてダウンロードします。

スキルバージョンを取得
BetaSkillVersion beta().skills().versions().retrieve(params, requestOptions = RequestOptions.none())
GET/v1/skills/{skill_id}/versions/{version}
スキルバージョンを削除
BetaDeletedSkillVersion beta().skills().versions().delete(params, requestOptions = RequestOptions.none())
DELETE/v1/skills/{skill_id}/versions/{version}