Skip to main content

skills

Creates, updates, deletes, gets or lists a skills resource.

Overview​

Nameskills
TypeResource
Idanthropic.skills.skills

Fields​

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringUnique identifier for the skill.

The format and length of IDs may change over time.
latest_version_idstringID of the newest Skill Version — what `latest` references resolve to. Always set: a Skill holds at least one version.
display_namestringHuman-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.
created_atstring (date-time)ISO 8601 timestamp of when the skill was created.
▶sourceobjectWhere 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
typestringObject type.

For Skills, this is always `"skill"`. (skill)
updated_atstring (date-time)ISO 8601 timestamp of when the skill was last updated.

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectskill_idanthropic-workspace-id
listselectsource, anthropic-workspace-id
deletedeleteskill_idanthropic-workspace-id
createexecfilesanthropic-workspace-id

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.

NameDatatypeDescription
skill_idstringUnique identifier for the skill. The format and length of IDs may change over time.
anthropic-workspace-idstringOptional header to select the Workspace for this request. The value is a Workspace ID (for example, wrkspc_011CZkZaBF1tNoB5wlCeusgy). Only needed for credentials that can act on more than one Workspace. A credential that belongs to a specific Workspace may omit it; if sent, it must match that Workspace. (example: wrkspc_011CZkZaBF1tNoB5wlCeusgy)
sourcestringFilter skills by source. If provided, only skills from the specified source will be returned: * "custom": only return user-created skills * "anthropic": only return Anthropic-created skills

SELECT examples​

Successful Response

SELECT
id,
latest_version_id,
display_name,
created_at,
source,
type,
updated_at
FROM anthropic.skills.skills
WHERE skill_id = '{{ skill_id }}' -- required
AND "anthropic-workspace-id" = '{{ anthropic-workspace-id }}'
;

DELETE examples​

No description available.

DELETE FROM anthropic.skills.skills
WHERE skill_id = '{{ skill_id }}' --required
AND "anthropic-workspace-id" = '{{ anthropic-workspace-id }}'
;

Lifecycle Methods​

Successful Response

EXEC anthropic.skills.skills.create
@anthropic-workspace-id='{{ anthropic-workspace-id }}'
@@json=
'{
"files": "{{ files }}",
"display_name": "{{ display_name }}"
}'
;