Skip to main content

shell_render

AI Agent Inline shell substitution for skill bodies. Supports two forms (Claude Code parity):
  • Inline: !`echo hello`
  • Fenced: ````! … ``` “
Safe-by-default: enabled=False replaces every block with a [shell execution disabled] marker so skills authored with shell injection can be rendered deterministically without running arbitrary commands. Hosts (CLI, UI) opt-in explicitly by passing enabled=True.

Import

Functions

render_shell_blocks()

Render !`cmd` and ```` ```! “ blocks inside a skill body.

Constants