Create Skill
client.beta.skills.create(SkillCreateParams { display_title, files, betas } params?, RequestOptionsoptions?): SkillCreateResponse { id, created_at, display_title, 4 more }
/v1/skills?beta=true
Create Skill
Parameters
Returns
Create Skill
TypeScript
import Anthropic from '@anthropic-ai/sdk';
const client = new Anthropic({
apiKey: 'my-anthropic-api-key',
});
const skill = await client.beta.skills.create();
console.log(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"
}