Available on crate feature
skills only.Expand description
The Skills API (beta).
Skills are reusable named bundles of files (with a required
SKILL.md at the bundle root) that Claude can load on demand. A
Skill is the named container and a SkillVersion is one
immutable snapshot of its files.
§Beta
Every Skills method automatically sends
anthropic-beta: skills-2025-10-02. Override the beta version on
the Client builder if a newer revision is current.
§Endpoints
| Method | Path | Function |
|---|---|---|
POST | /v1/skills | Skills::create |
GET | /v1/skills | Skills::list |
GET | /v1/skills/{skill_id} | Skills::get |
DELETE | /v1/skills/{skill_id} | Skills::delete |
POST | /v1/skills/{skill_id}/versions | Skills::create_version |
GET | /v1/skills/{skill_id}/versions | Skills::list_versions |
GET | /v1/skills/{skill_id}/versions/{version} | Skills::get_version |
DELETE | /v1/skills/{skill_id}/versions/{version} | Skills::delete_version |
Structs§
- Create
Skill Request - Body for
Skills::create. - List
Skill Versions Params - Query parameters for
GET /v1/skills/{skill_id}/versions. - List
Skills Params - Query parameters for
GET /v1/skills. - Skill
- A skill resource. The
latest_versionfield points to aSkillVersion::versionstring – pass it toSkills::get_version. - Skill
Deleted - Confirmation returned by
DELETE /v1/skills/{id}. - Skill
File - One file in a skill upload. The
pathis the relative path inside the bundle and must include the top-level directory, e.g."my-skill/SKILL.md". Every upload must contain aSKILL.mdat the directory root. - Skill
Version - One immutable snapshot of a
Skill’s file bundle. - Skill
Version Deleted - Confirmation returned by
DELETE /v1/skills/{id}/versions/{version}. - Skills
- Namespace handle for the Skills API.
Enums§
- Skill
Source - Source of a skill (who created it). Open-string enum: unknown
values fall through to
Self::Other. - Skill
Source Filter - Subset of
SkillSourcevalid as thesourcequery filter onGET /v1/skills.