Skip to contents

Returns a compact YAML-style entry for one skill: its name, description, and location. This is the same entry that btw_client() writes into its system prompt.

Compose the listing yourself by joining the entries under an "Available skills:" heading, the way btw does it.

If the skill doesn't exist, the error lists the available skill names.

Usage

btw_skill_prompt(skill_name)

Arguments

skill_name

The name of the skill, e.g. "skill-creator".

Value

A single string with the skill's YAML-style entry.

Examples

cat(btw_skill_prompt("skill-creator"))
#> - skill-creator: Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Claude's capabilities with specialized knowledge, workflows, or tool integrations.
#>   location: /home/runner/work/_temp/Library/btw/skills/skill-creator/SKILL.md