Export a skill as a standard SKILL.md file
skills
Export a skill as a standard SKILL.md file
Export a skill as a standard SKILL.md file.
Generates a SKILL.md with YAML frontmatter and the full body markdown.
The caller must have view access to the skill.
With `?format=zip`, returns the whole versionable folder instead — the
export round-trip fix (2026-07-04 design §4): fork/install/benchmark all
preserve attachments, so the export must too, or a Layer-3 skill
(references/ + scripts/) loses its depth the moment it leaves the platform.
Returns:
{ "filename": "my-skill.SKILL.md", "content": "---\n..." }
(or an application/zip body when format=zip)
GET
Export a skill as a standard SKILL.md file
Authorizations
Enter your API key (e.g. dai_sk_test_key_001)
Path Parameters
Query Parameters
md (default): JSON with the SKILL.md text. zip: the full bundle — SKILL.md plus attachments (scripts/, references/, …) at their bundle-relative paths.
Available options:
md, zip Cookies
Response
Successful Response