Skip to contents

Reads SKILL.md body and substitutes $ARGUMENTS / $ARG1 etc. Uses btw's find_skill() when available, falls back to direct file read.

Usage

load_skill_prompt(name, args = "", cwd = getwd())

Arguments

name

Character. Skill name.

args

Character. Arguments passed after the skill name.

cwd

Character. Project working directory.

Value

Character(1). The fully resolved prompt string.