Deprecated: Use PUT /skills// instead. Create a new skill by linking a GitHub repository containing a SKILL.md file.
POST
/
skills
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 skill = await client.skills.create({
gitUrl: 'https://example.com',
namespace: 'x',
slug: 'slug',
});
console.log(skill.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 skill = await client.skills.create({
gitUrl: 'https://example.com',
namespace: 'x',
slug: 'slug',
});
console.log(skill.id);