Skills

Import skills from GitHub

Changed on

Import one or more skills selected from a GitHub source preview. Each source URL is fetched and persisted as an independent skill with source provenance. This operation does not create a durable source resource. The import is atomic: if any source cannot be fetched, validated, or persisted, no skills are created.

post/api/skills/import

Request

  • Base URL: https://instance-name-be.glean.com
  • URL: https://instance-name-be.glean.com/api/skills/import
  • Auth: HTTP bearer

Request body

source_urlsstring[] required

Resolved GitHub skill URLs selected from a source preview.

Example request

{
  "source_urls": [
    "https://github.com/anthropics/skills/tree/main/skills/skill-creator"
  ]
}

Response

Skills imported successfully.

request_idstring required

Platform-generated request ID for support correlation.

Changes

    • warning

      added the new GITHUB enum value to the // response property for the response status

    • info

      added the non-success response with the status

    • breaking

      removed the success response with the status

    • info

      added the success response with the status