A meta-skill that registers user-defined tools from configuration. Define tools with names, descriptions, parameters, and JavaScript handler code without writing skill classes.
Class: CustomSkillsSkill
Tools: Dynamically created from the tools array
Env vars: SWML_ALLOW_CUSTOM_HANDLER_CODE must be set to "true" to enable handler execution.
Array of custom tool definitions. Each object has:
name (string, required) — Unique tool name.description (string, required) — Tool description shown to the AI.handler_code (string, required) — JavaScript function body. Receives (args, rawData, FunctionResult) as arguments. Must return a FunctionResult, string, or object.parameters (array, optional) — Parameter definitions: [{ name, type, description, required? }].required (string[], optional) — Array of required parameter names.prompt_description (string, optional) — Description to include in the prompt section.secure (boolean, optional) — Whether to mark the tool as secure.fillers (object, optional) — Filler phrases keyed by language.Custom title for the prompt section.
Custom body text for the prompt section.