Claude Platform Docs

スキル

スキルを作成
$client->skills->create(list<string> files, ?string displayName, ?string workspaceID): Skill
POST/v1/skills
スキルの一覧
$client->skills->list(?int limit, ?string page, ?string source, ?string workspaceID): PageCursor<Skill>
GET/v1/skills
スキルを取得
$client->skills->retrieve(string skillID, ?string workspaceID): Skill
GET/v1/skills/{skill_id}
スキルを削除
$client->skills->delete(string skillID, ?string workspaceID): DeletedSkill
DELETE/v1/skills/{skill_id}
Models
class DeletedSkill { $type = 'skill_deleted'; $id; }
"skill_deleted" type

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 Skill { $type = 'skill'; $id; $createdAt; /* 4 more */ }
"skill" type

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.

\Datetime createdAt

ISO 8601 timestamp of when the skill was created.

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.

SkillSource 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
\Datetime updatedAt

ISO 8601 timestamp of when the skill was last updated.

class SkillSource { $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

スキルバージョン

スキルバージョンを作成
$client->skills->versions->create(string skillID, list<string> files, ?string workspaceID): SkillVersion
POST/v1/skills/{skill_id}/versions
スキルバージョンの一覧
$client->skills->versions->list(string skillID, ?int limit, ?string page, ?string workspaceID): PageCursor<SkillVersion>
GET/v1/skills/{skill_id}/versions
スキルバージョンを取得
$client->skills->versions->retrieve(string version, string skillID, ?string workspaceID): SkillVersion
GET/v1/skills/{skill_id}/versions/{version}
スキルバージョンを削除
$client->skills->versions->delete(string version, string skillID, ?string workspaceID): DeletedSkillVersion
DELETE/v1/skills/{skill_id}/versions/{version}