Idempotent endpoint to create or update a GitHub-backed skill. Send application/json with gitUrl.
PUT
/
skills
/
{namespace}
/
{slug}
JavaScript
Copy
Ask AI
import Smithery from '@smithery/api';const client = new Smithery({ apiKey: process.env['SMITHERY_API_KEY'], // This is the default and can be omitted});const response = await client.skills.set('slug', { namespace: 'namespace', body: {},});console.log(response.id);
import Smithery from '@smithery/api';const client = new Smithery({ apiKey: process.env['SMITHERY_API_KEY'], // This is the default and can be omitted});const response = await client.skills.set('slug', { namespace: 'namespace', body: {},});console.log(response.id);