aiGlobalSkills
Access the globally shared pool of AI skills that are automatically injected into every agent's system context.
Access the globally shared pool of AI skills that are automatically injected into every agent's system context.
Syntax
aiGlobalSkills()Parameters
No parameters.
Returns
Returns an Array of AiSkill instances configured as global skills in ModuleConfig.bx. Returns an empty array if no global skills are configured.
Examples
Inspect Global Skills
globals = aiGlobalSkills()
println( "Global skills: #globals.len()#" )
globals.each( skill => {
println( " - #skill.getName()#: #skill.getDescription()#" )
})Use Global Skills with an Agent
Configure Global Skills in ModuleConfig.bx
Global skills are registered in your module's ModuleConfig.bx and apply to every agent across the application:
For application-level registration without a module, add skills directly to each agent or use availableSkills with a shared array variable.
Related Pages
Last updated