Skills

Creates a private skill and installs it for your account. Send JSON with the manifest's text as skill_md and any other files of the skill as resources; this is the shape scripts and the SDK send. A multipart upload also works: one file (a .zip bundle or a lone SKILL.md), or a folder as repeated files with paths in the same order to preserve subdirectories. The skill is stored exactly as sent. Private skills are visible to your account only; they never enter the public catalog.

post/skills/upload

Request

  • Base URL
    https://api.crevio.co/v1
  • Auth
    API key in header Authorization

Headers

Idempotency-Key, string

Makes this write safe to retry: a repeat with the same key replays the first response instead of creating a second resource. Scoped to the account, remembered for 24 hours; reusing a key with a different payload is an error.

Request body

object required
skill_md, string required

The full SKILL.md text, frontmatter included, exactly as the skill's author wrote it.

resources, object

Other files of the skill as text, keyed by path relative to the skill's folder (e.g. references/checklist.md).

Response

The skill, installed for your account

AiSkill required
object, string required
id, string required
slug, string required
name, string required
description, string nullable required
category, string nullable required
tags, string[] nullable required
version, string required
creator_name, string nullable required
creator_avatar_url, string nullable required
install_count, integer required
status, 'draft' | 'published' | 'archived' required
visibility, 'public' | 'private' required

private is a skill this account uploaded: only this account sees it, and it is not in the public catalog.

install_status, string nullable required
installed_version, string nullable required

The version this account installed. Null unless installed.

update_available, boolean required

True when the catalog version is newer than installed_version: POST /skills/{slug}/update installs it.

external_source, string nullable required
external_url, string nullable required
created_at, string date-time required

Changes

    • warning

      added the new idempotency_error enum value to the error/type response property for the response status

    • warning

      added the new idempotency_error enum value to the error/type response property for the response status

    • warning

      added the new idempotency_error enum value to the error/type response property for the response status

    2 more changes in this revision