Skip to main content
GET
/
skills
/
{namespace}
/
{slug}
JavaScript
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.get('slug', { namespace: 'namespace' });

console.log(skill.id);
{
  "id": "<string>",
  "namespace": "<string>",
  "slug": "<string>",
  "displayName": "<string>",
  "description": "<string>",
  "prompt": "<string>",
  "qualityScore": 123,
  "externalStars": 123,
  "externalForks": 123,
  "totalActivations": 123,
  "uniqueUsers": 123,
  "upvotes": 0,
  "downvotes": 0,
  "reviewCount": 0,
  "categories": [
    "<string>"
  ],
  "servers": [
    "<string>"
  ],
  "gitUrl": "<string>",
  "listed": true,
  "createdAt": "<string>"
}

Authorizations

Authorization
string
header
required

Smithery API key as Bearer token

Path Parameters

namespace
string
required
slug
string
required

Response

Skill found

id
string
required
namespace
string
required
slug
string
required
displayName
string
required
description
string
required
prompt
string
required
qualityScore
number
required
externalStars
number
required
externalForks
number
required
totalActivations
number
required
uniqueUsers
number
required
upvotes
integer
required
Required range: -9007199254740991 <= x <= 9007199254740991
downvotes
integer
required
Required range: -9007199254740991 <= x <= 9007199254740991
reviewCount
integer
required
Required range: -9007199254740991 <= x <= 9007199254740991
categories
string[]
required
servers
string[]
required
gitUrl
string
required
listed
boolean
required
createdAt
string
required