Deprecated: Use PUT /skills// instead. Refetch SKILL.md and repository stars from GitHub and update the skill record.
POST
/
skills
/
{namespace}
/
{slug}
/
sync
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.sync('slug', { namespace: 'namespace' });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.sync('slug', { namespace: 'namespace' });console.log(response.id);