Skills
Skills are pluggable capabilities that add tools to your agent. Import a skill class,
instantiate it with optional configuration, and pass the instance to
addSkill(). Each skill registers
one or more SWAIG functions automatically and injects prompt sections, hints, and
global data.
Skills Summary
Configuration
All skills accept configuration via a config object passed to the skill constructor.
Skills with an env_var fallback on a parameter read from process.env when the
parameter is not provided directly.
SWAIG Field Overrides
Override SWAIG function metadata for any skill by including a swaig_fields key:
Multi-Instance Skills
Skills that support multiple instances (SUPPORTS_MULTIPLE_INSTANCES = true)
can be added to the same agent more than once with different tool_name values:
Base Parameters
Every skill inherits these parameters from SkillBase:
swaig_fields
Additional SWAIG fields to merge into each tool definition provided by this skill
(e.g., fillers, secure).
skip_prompt
When true, suppress all prompt sections from this skill.
Extending SkillBase
Create custom skills by extending SkillBase and registering
them with the SkillRegistry.
Defining a Custom Skill
Registering with SkillRegistry
Using a Custom Skill
For more details on the skill base class, see SkillBase.
All Skills
Get the current date and time with optional timezone support.
Evaluate mathematical expressions safely.
Tell jokes from a built-in collection.
Get current weather conditions using OpenWeatherMap.
Search the web using Google Custom Search.
Search Wikipedia for article summaries.
Get directions and search for places using Google Maps.
Control background audio playback during calls.
Transfer calls using SWML transfer actions.
Search SignalWire DataSphere documents.
Search DataSphere documents serverlessly.
In-memory document search using word overlap scoring.
Collect structured information from the user.
Fetch trivia questions from API Ninjas.
Scrape webpage content using the Spider API.
Send prompts to Anthropic’s Claude AI.
Load Claude Code-style SKILL.md files as tools.
Register user-defined tools from configuration.
Model Context Protocol server integration.