For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Log inSign up
Support
GuidesReference
GuidesReference
    • Core
      • Overview
    • Agents
      • Overview
      • AgentBase
      • AgentServer
      • Configuration
      • ContextBuilder
      • DataMap
      • FunctionResult
      • Helper Functions & Utilities
      • LiveWire
      • PomBuilder
      • Prefabs
      • SkillBase
      • SkillManager
      • SkillRegistry
        • addSearchPath
        • clear
        • create
        • discoverAll
        • discoverFromDirectory
        • getAllSkillsSchema
        • getInstance
        • getSearchPaths
        • getSkillClass
        • getSkillSchema
        • has
        • listAllSkillSources
        • listRegistered
        • listSkills
        • lock
        • register
        • resetInstance
        • unregister
      • Skills
      • SwaigFunction
      • SwmlBuilder
      • SWMLService
    • RELAY
      • Overview
      • Actions
      • Call
      • Constants
      • Events
      • Message
      • RelayClient
      • RelayError
    • REST Client
      • Overview
      • Addresses
      • Calling
      • ChatResource
      • Compat
      • Datasphere
      • Fabric
      • ImportedNumbersResource
      • Logs
      • LookupResource
      • MFA
      • Number Groups
      • Phone Numbers
      • Project
      • PubSubResource
      • Queues
      • Recordings
      • Registry
      • RestClient
      • RestError
      • Short Codes
      • SIP Profile
      • Verified Callers
      • Video
LogoLogoSignalWire Docs
Log inSign up
Support
On this page
  • Parameters
  • Returns
  • Example
AgentsSkillRegistry

getSkillClass

|View as Markdown|Open in Claude|
Was this page helpful?
Edit this page
Previous

getSkillSchema

Next
Built with

Look up a registered skill class by its SKILL_NAME. Returns the class reference itself (not an instance); use create() to get an instance. Returns undefined if no skill is registered under that name — for a boolean check use has().

Matches Python’s get_skill_class(skill_name) (registry.py:196-203).

Parameters

name
stringRequired

The registered skill name (the skill class’s static SKILL_NAME).

Returns

typeof SkillBase | undefined — the skill class, or undefined if not registered.

Example

1import { SkillRegistry } from '@signalwire/sdk';
2
3const registry = SkillRegistry.getInstance();
4
5const WeatherSkill = registry.getSkillClass('weather');
6if (WeatherSkill) {
7 console.log(WeatherSkill.SKILL_DESCRIPTION);
8 console.log(WeatherSkill.REQUIRED_ENV_VARS);
9}