listSkills

View as MarkdownOpen in Claude

List every registered skill with its full metadata. Each entry includes the name, description, version, multi-instance flag, required env vars, required packages, and parameter schema. Use listRegistered() for just the names.

Matches Python’s list_skills() shape (registry.py:205-227) with TS-idiomatic camelCase keys.

Returns

SkillSchemaInfo[] — array of metadata objects.

SkillSchemaInfo
object

Each entry has the following shape:

name
string

The skill’s SKILL_NAME.

description
string

The skill’s SKILL_DESCRIPTION.

version
string

The skill’s SKILL_VERSION.

supportsMultipleInstances
boolean

Whether the skill supports multiple instances.

requiredEnvVars
string[]

Required environment variable names.

requiredPackages
string[]

Required npm package names.

parameters
Record<string, ParameterSchemaEntry>

Parameter schema describing the config the skill accepts.

Example

1import { SkillRegistry } from '@signalwire/sdk';
2
3const registry = SkillRegistry.getInstance();
4const skills = registry.listSkills();
5for (const s of skills) {
6 console.log(`${s.name} v${s.version} - ${s.description}`);
7 if (s.requiredEnvVars.length > 0) {
8 console.log(` Needs: ${s.requiredEnvVars.join(', ')}`);
9 }
10}