invoke
Method
This is a method of the SkillManager class in the manager module.Render a skill body into a ready-to-send prompt. Substitutes
$ARGUMENTS, $N, ${PRAISON_SKILL_DIR} and
optionally runs !`cmd` inline shell blocks when shell_exec
is True.
Signature
Parameters
str
required
No description available.
str
default:"''"
No description available.
Optional[str]
No description available.
bool
default:"False"
No description available.
Returns
Optional[str]
Rendered body, or None if the skill does not exist or is not
user-invocable.
Uses
get_skillactivaterender_skill_bodyrender_shell_blocks
Source
View on GitHub
praisonaiagents/skills/manager.py at line 530
