Skip to main content
POST
Expand one skill into text

Path Parameters

name
string
required

The skill's name, as listSkills reports it.

Maximum string length: 128
Pattern: ^[^\s/\\]+$

Body

application/json

What to expand a skill or a command file against: the repository the work is happening in, and whatever the person typed after the name.

repository
string

Absolute path of the repository, which decides which rungs are read and — for a command — where its shell blocks run and whether they may.

Maximum string length: 4096
arguments
string

Everything typed after the name, verbatim. A command file's $ARGUMENTS and $1..$9 are filled from it, AFTER its shell blocks have already run, so text pasted here can never become a block.

Maximum string length: 65536

Response

The expanded text.

The text one expansion produced, ready to be put in front of a person. It is never sent anywhere on their behalf: the whole point of expanding into a composer is that somebody reads what a file wrote in their name before a model does.

text
string
required