Skip to content

Download Skill Files

GET /v1/:slug/download

Returns all skill documentation files (SKILL.md and endpoint docs) for an integration. Used by the CLI’s pull command to download docs for offline agent access.

Required. Bearer token: Authorization: Bearer sk_xxx

ParameterTypeRequiredDescription
slugstringYesIntegration slug (e.g., github)
{
"slug": "github",
"files": [
{
"file_path": "SKILL.md",
"content": "---\nname: skillett-github\nversion: 1.0.0\n..."
},
{
"file_path": "endpoints/issues/create_issue.md",
"content": "---\nname: create_issue\nmethod: POST\n..."
},
{
"file_path": "endpoints/issues/list_issues_for_repo.md",
"content": "---\nname: list_issues_for_repo\nmethod: GET\n..."
}
]
}
FieldTypeDescription
slugstringIntegration slug
files[]arrayAll skill files
files[].file_pathstringRelative path within the skill folder
files[].contentstringFull file content (markdown)
CodeErrorDescription
401unauthorizedMissing or invalid API key
404not_foundIntegration not found
Terminal window
$ curl -H "Authorization: Bearer sk_a1b2c3d4..." \
https://api.skillett.dev/v1/github/download