Expand description
Skill prompt shell command execution.
Parses skill markdown content and executes embedded shell commands. Supports two syntaxes:
- Code blocks:
! command - Inline: !
command
Results are substituted back into the prompt text.
Enums§
- Frontmatter
Shell - Shell type from skill frontmatter
Functions§
- build_
shell_ command - Build a shell command with proper escaping (legacy API)
- can_
execute_ skill_ shell - Check if a shell command in a skill should be allowed.
- execute_
prompt_ shell - Execute a shell command and return the result (legacy API)
- execute_
shell_ commands_ in_ prompt - Parse shell commands from text and execute them, substituting output back.