Claude Platform Docs

スキル

スキルを作成
client.beta.skills.create(params, options?): BetaSkill
POST/v1/skills
スキルの一覧
client.beta.skills.list(params?, options?): PageCursor<BetaSkill>
GET/v1/skills
スキルを取得
client.beta.skills.retrieve(skillID, params?, options?): BetaSkill
GET/v1/skills/{skill_id}
スキルを削除
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"

スキルバージョン

スキルバージョンを作成
client.beta.skills.versions.create(skillID, params, options?): BetaSkillVersion
POST/v1/skills/{skill_id}/versions
スキルバージョンの一覧
client.beta.skills.versions.list(skillID, params?, options?): PageCursor<BetaSkillVersion>
GET/v1/skills/{skill_id}/versions
スキルバージョンのコンテンツをダウンロード
client.beta.skills.versions.download(version, params, options?): Response
GET/v1/skills/{skill_id}/versions/{version}/content

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

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