curl -X PATCH "https://api.danubeai.com/v1/skills/skill_abc123" \
-H "danube-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "pdf-processing-v2",
"skill_md_content": "---\ndescription: Enhanced PDF processing\n---\n\n# PDF Processing v2\n..."
}'
{
"id": "skill_abc123",
"name": "pdf-processing-v2",
"description": "Enhanced PDF processing",
"skill_md": "---\ndescription: Enhanced PDF processing\n---\n...",
"scripts": [],
"references": [],
"assets": [],
"visibility": "private",
"updated_at": "2026-02-24T14:00:00Z"
}
Skills
Update Skill
Update an existing skill
PATCH
/
v1
/
skills
/
{skill_id}
curl -X PATCH "https://api.danubeai.com/v1/skills/skill_abc123" \
-H "danube-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "pdf-processing-v2",
"skill_md_content": "---\ndescription: Enhanced PDF processing\n---\n\n# PDF Processing v2\n..."
}'
{
"id": "skill_abc123",
"name": "pdf-processing-v2",
"description": "Enhanced PDF processing",
"skill_md": "---\ndescription: Enhanced PDF processing\n---\n...",
"scripts": [],
"references": [],
"assets": [],
"visibility": "private",
"updated_at": "2026-02-24T14:00:00Z"
}
Overview
Updates a skill’s name, content, scripts, references, or assets. Only the skill owner can update it. Auth: Accepts either JWT or API key (danube-api-key header).
Path Parameters
Body Parameters
Response
Example
curl -X PATCH "https://api.danubeai.com/v1/skills/skill_abc123" \
-H "danube-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "pdf-processing-v2",
"skill_md_content": "---\ndescription: Enhanced PDF processing\n---\n\n# PDF Processing v2\n..."
}'
{
"id": "skill_abc123",
"name": "pdf-processing-v2",
"description": "Enhanced PDF processing",
"skill_md": "---\ndescription: Enhanced PDF processing\n---\n...",
"scripts": [],
"references": [],
"assets": [],
"visibility": "private",
"updated_at": "2026-02-24T14:00:00Z"
}
MCP Tool
This endpoint is also available as theupdate_skill MCP tool:
result = await mcp.call_tool("update_skill", {
"skill_id": "skill_abc123",
"name": "pdf-processing-v2"
})
