Skip to content

agent.add_skill_dirs

agent.add_skill_dirs(dirs)

Register additional skill roots: directories whose immediate subdirectories each hold a SKILL.md. Calls accumulate, and these take precedence over skills found under the prompts directory.

Parameters

  • dirs: {[integer]: string}