load_scripts
Method
This is a method of the SkillLoader class in the loader module.Load scripts from skill’s scripts/ directory (Level 3).
Signature
Parameters
LoadedSkill
required
LoadedSkill instance
Returns
dict
Dict mapping script names to their contents
Uses
scripts_dir.existsscripts_dir.is_dirscripts_dir.iterdirscript_file.is_filescript_file.read_text
Used By
Source
View on GitHub
praisonaiagents/skills/loader.py at line 119
