Skip to main content

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.exists
  • scripts_dir.is_dir
  • scripts_dir.iterdir
  • script_file.is_file
  • script_file.read_text

Used By

Source

View on GitHub

praisonaiagents/skills/loader.py at line 119