render_shell_blocks
Function
This function is defined in the shell_render module.Render
!`cmd` and ```` ```! “ blocks inside a skill body.
Signature
Parameters
str
required
SKILL.md body (post-substitution).
bool
default:"False"
Master switch. When False, every block is replaced with
[shell execution disabled]. Defaults to False.str
default:"'bash'"
bash (default) or powershell.int
default:"15"
Per-command timeout in seconds.
Optional[str]
Working directory for commands (typically the skill dir).
Returns
str
Body with shell placeholders resolved.
Uses
_INLINE_RE.sub_FENCED_RE.subm.group
Used By
Source
View on GitHub
praisonaiagents/skills/shell_render.py at line 49
