versions
Creates, updates, deletes, gets or lists a versions resource.
Overview
| Name | versions |
| Type | Resource |
| Id | anthropic.skills.versions |
Fields
The following fields are returned by SELECT queries:
- get
- list
| Name | Datatype | Description |
|---|---|---|
id | string | Unique identifier for the skill version. The format and length of IDs may change over time. |
name | string | Human-readable name of the skill version. This is extracted from the SKILL.md file in the skill upload. |
skill_id | string | Identifier for the skill that this version belongs to. |
created_at | string | ISO 8601 timestamp of when the skill version was created. |
description | string | Description of the skill version. This is extracted from the SKILL.md file in the skill upload. |
directory | string | Directory name of the skill version. This is the top-level directory name that was extracted from the uploaded files. |
type | string | Object type. For Skill Versions, this is always `"skill_version"`. |
version | string | Version identifier for the skill. Each version is identified by a Unix epoch timestamp (e.g., "1759178010641129"). |
| Name | Datatype | Description |
|---|---|---|
id | string | Unique identifier for the skill version. The format and length of IDs may change over time. |
name | string | Human-readable name of the skill version. This is extracted from the SKILL.md file in the skill upload. |
skill_id | string | Identifier for the skill that this version belongs to. |
created_at | string | ISO 8601 timestamp of when the skill version was created. |
description | string | Description of the skill version. This is extracted from the SKILL.md file in the skill upload. |
directory | string | Directory name of the skill version. This is the top-level directory name that was extracted from the uploaded files. |
type | string | Object type. For Skill Versions, this is always `"skill_version"`. |
version | string | Version identifier for the skill. Each version is identified by a Unix epoch timestamp (e.g., "1759178010641129"). |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | skill_id, version | ||
list | select | skill_id | ||
delete | delete | skill_id, version | ||
create | exec | skill_id, files | ||
download | exec | skill_id, version | Download a skill version's content as a zip archive. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
skill_id | string | Unique identifier for the skill. The format and length of IDs may change over time. |
version | string | Version identifier for the skill. Each version is identified by a Unix epoch timestamp (e.g., "1759178010641129"). |
SELECT examples
- get
- list
Successful Response
SELECT
id,
name,
skill_id,
created_at,
description,
directory,
type,
version
FROM anthropic.skills.versions
WHERE skill_id = '{{ skill_id }}' -- required
AND version = '{{ version }}' -- required
;
Successful Response
SELECT
id,
name,
skill_id,
created_at,
description,
directory,
type,
version
FROM anthropic.skills.versions
WHERE skill_id = '{{ skill_id }}' -- required
;
DELETE examples
- delete
No description available.
DELETE FROM anthropic.skills.versions
WHERE skill_id = '{{ skill_id }}' --required
AND version = '{{ version }}' --required
;
Lifecycle Methods
- create
- download
Successful Response
EXEC anthropic.skills.versions.create
@skill_id='{{ skill_id }}' --required
@@json=
'{
"files": "{{ files }}"
}'
;
Download a skill version's content as a zip archive.
EXEC anthropic.skills.versions.download
@skill_id='{{ skill_id }}' --required,
@version='{{ version }}' --required
;