Create Skill
beta.skills.create(SkillCreateParams**kwargs) -> SkillCreateResponse
/v1/skills?beta=true
Create Skill
Parameters
display_title: Optional[str]
Display title for the skill.
This is a human-readable label that is not included in the prompt sent to the model.
files: Optional[SequenceNotStr[FileTypes]]
Files to upload for the skill.
All files must be in the same top-level directory and must include a SKILL.md file at the root of that directory.
Returns
Create Skill
Python
from anthropic import Anthropic
client = Anthropic(
api_key="my-anthropic-api-key",
)
skill = client.beta.skills.create()
print(skill.id){
"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"
}Returns Examples
{
"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"
}