docs-api-reference-skills-list-or-search-skills.md
GET
/
skills
Try it
JavaScript
JavaScript
import Smithery from '@smithery/api';
const client = new Smithery({
apiKey: process.env['SMITHERY_API_KEY'], // This is the default and can be omitted
});
// Automatically fetches more pages as needed.
for await (const skillListResponse of client.skills.list()) {
console.log(skillListResponse.id);
}
curl --request GET \
--url https://api.smithery.ai/skills \
--header 'Authorization: Bearer <token>'
import requests
url = "https://api.smithery.ai/skills"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)
<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.smithery.ai/skills",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.smithery.ai/skills"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}
HttpResponse<String> response = Unirest.get("https://api.smithery.ai/skills")
.header("Authorization", "Bearer <token>")
.asString();
require 'uri'
require 'net/http'
url = URI("https://api.smithery.ai/skills")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body
200
500
{
"skills": [
{
"id": "<string>",
"namespace": "<string>",
"slug": "<string>",
"displayName": "<string>",
"description": "<string>",
"prompt": "<string>",
"qualityScore": 123,
"verified": true,
"listed": true,
"createdAt": "<string>",
"externalStars": 123,
"externalForks": 123,
"totalActivations": 123,
"uniqueUsers": 123,
"categories": [
"<string>"
],
"servers": [
"<string>"
],
"gitUrl": "<string>"
}
],
"pagination": {
"currentPage": 0,
"pageSize": 0,
"totalPages": 0,
"totalCount": 0
}
}
{
"error": "<string>"
}
[
](#authorization-authorization)
Authorization
string
header
required
Smithery API key as Bearer token
[
](#parameter-q)
q
string
Search query for full-text and semantic search across skill names and descriptions.
[
](#parameter-category)
category
string
Filter by skill category (e.g. 'code', 'data', 'web').
[
](#parameter-namespace)
namespace
string
Filter by the namespace that owns the skill.
[
](#parameter-slug)
slug
string
Filter by exact skill slug within a namespace. Deprecated: use GET /skills/:namespace/:slug instead.
[
](#parameter-owner-id)
ownerId
string
Filter by the skill owner's organization ID.
[
](#parameter-verified)
verified
boolean
Filter by whether the skill's namespace is verified.
[
](#parameter-page)
page
integer
Page number (1-indexed).
Required range: 1 <= x <= 9007199254740991
[
](#parameter-page-size)
pageSize
integer
Number of results per page (default 20, max 100).
Required range: 1 <= x <= 100
[
](#parameter-top-k)
topK
integer
Maximum number of candidate results to consider from the search index before pagination. The server applies a hard cap of 500 to keep the rerank window bounded; pass seed for stable deep pagination.
Required range: 10 <= x <= 500
[
](#parameter-fields)
fields
string
Comma-separated list of fields to include in response
[
](#parameter-seed)
seed
integer
Random seed for deterministic pagination. When provided, results use a stable sort order that is consistent across pages for the same seed value.
Required range: -9007199254740991 <= x <= 9007199254740991
200
application/json
Successful response
[
](#response-skills)
skills
object[]
required
Show child attributes
[
](#response-pagination)
pagination
object
required
Show child attributes
Was this page helpful?
YesNo
⌘I
JavaScript
JavaScript
import Smithery from '@smithery/api';
const client = new Smithery({
apiKey: process.env['SMITHERY_API_KEY'], // This is the default and can be omitted
});
// Automatically fetches more pages as needed.
for await (const skillListResponse of client.skills.list()) {
console.log(skillListResponse.id);
}
curl --request GET \
--url https://api.smithery.ai/skills \
--header 'Authorization: Bearer <token>'
import requests
url = "https://api.smithery.ai/skills"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)
<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.smithery.ai/skills",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.smithery.ai/skills"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}
HttpResponse<String> response = Unirest.get("https://api.smithery.ai/skills")
.header("Authorization", "Bearer <token>")
.asString();
require 'uri'
require 'net/http'
url = URI("https://api.smithery.ai/skills")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body
200
500
{
"skills": [
{
"id": "<string>",
"namespace": "<string>",
"slug": "<string>",
"displayName": "<string>",
"description": "<string>",
"prompt": "<string>",
"qualityScore": 123,
"verified": true,
"listed": true,
"createdAt": "<string>",
"externalStars": 123,
"externalForks": 123,
"totalActivations": 123,
"uniqueUsers": 123,
"categories": [
"<string>"
],
"servers": [
"<string>"
],
"gitUrl": "<string>"
}
],
"pagination": {
"currentPage": 0,
"pageSize": 0,
"totalPages": 0,
"totalCount": 0
}
}
{
"error": "<string>"
}