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
        • addSkill
        • clear
        • getAllHints
        • getAllPromptSections
        • getAllTools
        • getLoadedSkillEntries
        • getMergedGlobalData
        • getSkill
        • hasSkill
        • hasSkillByKey
        • listSkillKeys
        • listSkills
        • loadedSkills
        • loadSkill
        • loadSkillByName
        • removeSkill
        • removeSkillByName
      • SkillRegistry
      • 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
  • Type
  • Example
AgentsSkillManager

loadedSkills

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

loadSkill

Next
Built with

Read-only getter exposing every loaded skill instance keyed by its instance key (e.g., "weather" or "weather#main_tool" for multi-instance skills). Use this to iterate or inspect loaded skills without mutating the internal map.

Python equivalent: self.loaded_skills (public Dict[str, SkillBase]).

The returned ReadonlyMap is a live view of the internal map, not a copy. Iterating concurrently with addSkill() / removeSkill() can see updates as they happen. For a snapshot of skill keys, use listSkillKeys(); for a single lookup, use getSkill().

Type

ReadonlyMap<string, SkillBase>

Example

1import { AgentBase } from '@signalwire/sdk';
2
3const agent = new AgentBase({ name: 'demo' });
4await agent.addSkillByName('weather');
5await agent.addSkillByName('datetime');
6
7const manager = agent.getSkillManager();
8for (const [key, skill] of manager.loadedSkills) {
9 console.log(`${key} -> ${(skill.constructor as typeof skill).SKILL_NAME}`);
10}