sklab prompt#
Export one or more skills as a prompt snippet for agent platforms.
Also available over HTTP. The Export Skills endpoint runs the same logic on the server against a GitHub repository — useful when you want results in a browser, a CI job without installing Python, or an agent that reaches skill-lab.dev directly.
Usage#
bash
sklab prompt [SKILL_PATHS...] [OPTIONS]Renders the named skills as XML, Markdown, or JSON suitable for pasting into an agent platform's system prompt. Accepts multiple paths — pass several skills to render them as a single combined prompt.
Arguments#
| Argument | Required | Description |
|---|---|---|
SKILL_PATHS | no | One or more skill directories. Defaults to the current directory. |
Options#
| Flag | Value | Description |
|---|---|---|
--format, -f | xml|markdown|jsondefault: xml | Output format. |
Examples#
Single skill as XML
bash
$ sklab prompt ./skill-aMultiple skills
bash
$ sklab prompt ./skill-a ./skill-bJSON to a file
bash
$ sklab prompt ./skill-a -f json > skills.json