Claude Platform Docs

Delete Skill

client.skills.delete(stringskillID, RequestOptionsoptions?): DeletedSkill
DELETE/v1/skills/{skill_id}

Delete Skill

Parameters
skillID: string

Unique identifier for the skill.

The format and length of IDs may change over time.

Returns
DeletedSkill { id, type }
id: string

Unique identifier for the skill.

The format and length of IDs may change over time.

type: "skill_deleted"

Deleted object type.

For Skills, this is always "skill_deleted".

defaultskill_deleted

Delete Skill

import Anthropic from "@anthropic-ai/sdk";

const client = new Anthropic({
  apiKey: process.env["ANTHROPIC_API_KEY"] // This is the default and can be omitted
});

const deletedSkill = await client.skills.delete("skill_id");

console.log(deletedSkill.id);
{
  "id": "skill_01JAbcdefghijklmnopqrstuvw",
  "type": "skill_deleted"
}
Returns Examples
{
  "id": "skill_01JAbcdefghijklmnopqrstuvw",
  "type": "skill_deleted"
}