Skills

Preview a GitHub skill source

Inspect a GitHub URL without persisting a source or any discovered skills. Set stream to true to receive repository scan progress as server-sent events; otherwise the response contains the completed preview.

post/api/skills/sources/preview

Request body

source_urlstring required

GitHub URL for a skill directory, SKILL.md file, or repository to inspect.

streamboolean

Whether to stream repository scan progress using server-sent events.

Example request

{
  "source_url": "https://github.com/anthropics/skills"
}

Response

Successful response.

request_idstring required

Platform-generated request ID for support correlation.

Changes