List Skills
beta.skills.list(SkillListParams**kwargs) -> SyncPageCursor[SkillListResponse]
/v1/skills?beta=true
List Skills
Parameters
limit: Optional[int]
Number of results to return per page.
Maximum value is 100. Defaults to 20.
page: Optional[str]
Pagination token for fetching a specific page of results.
Pass the value from a previous response's next_page field to get the next page of results.
source: Optional[str]
Filter 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
Returns
List Skills
Python
from anthropic import Anthropic
client = Anthropic(
api_key="my-anthropic-api-key",
)
page = client.beta.skills.list()
page = page.data[0]
print(page.id){
"data": [
{
"id": "skill_01JAbcdefghijklmnopqrstuvw",
"created_at": "2024-10-30T23:58:27.427722Z",
"display_title": "My Custom Skill",
"latest_version": "1759178010641129",
"source": "custom",
"type": "type",
"updated_at": "2024-10-30T23:58:27.427722Z"
}
],
"has_more": true,
"next_page": "page_MjAyNS0wNS0xNFQwMDowMDowMFo="
}Returns Examples
{
"data": [
{
"id": "skill_01JAbcdefghijklmnopqrstuvw",
"created_at": "2024-10-30T23:58:27.427722Z",
"display_title": "My Custom Skill",
"latest_version": "1759178010641129",
"source": "custom",
"type": "type",
"updated_at": "2024-10-30T23:58:27.427722Z"
}
],
"has_more": true,
"next_page": "page_MjAyNS0wNS0xNFQwMDowMDowMFo="
}