Casama AI Skills API

The skills API from Casama AI, for skills.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 10

GET /v1/skills/catalog The curated skills that ship with this server #
POST /v1/skills/install Install a catalog skill to the workspace (admins) or one bot (its managers) #
POST /v1/skills/github/preview Read a skill folder from GitHub at its latest commit and show its files before… #
POST /v1/skills/github/install Install a GitHub skill pinned to the previewed commit #
GET /v1/skills/{id}/update Compare a GitHub skill with its source's latest commit (diff before updating) #
POST /v1/skills/{id}/update Update a GitHub skill to a newer commit (after reviewing the diff) #
GET /v1/skill-proposals Skills and skill edits bots proposed from their runs #
POST /v1/skill-proposals/{id}/accept Save the proposed skill or edit, optionally changed first #
POST /v1/skill-proposals/{id}/dismiss Dismiss skill proposal #
GET /v1/skills/{id}/stats Uses, success rate, last failure and history of a skill #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/casama-ai:casama-ai-skills-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

casama-ai-skills-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Casama Skills API
  version: 0.1.0
  license:
    name: Apache-2.0
    url: https://www.apache.org/licenses/LICENSE-2.0
servers:
- url: http://api.casama.ai
tags:
- name: Skills
paths:
  /v1/skills/catalog:
    get:
      operationId: getSkillCatalog
      tags:
      - Skills
      security:
      - bearerAuth: []
      summary: The curated skills that ship with this server
      responses:
        '200':
          description: Catalog
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SkillCatalog'
        '401':
          description: Not authenticated
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
  /v1/skills/install:
    post:
      operationId: installCatalogSkill
      tags:
      - Skills
      security:
      - bearerAuth: []
      summary: Install a catalog skill to the workspace (admins) or one bot (its managers)
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/InstallCatalogSkillRequest'
      responses:
        '201':
          description: Installed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InstalledSkill'
        '400':
          description: Validation failed
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '401':
          description: Not authenticated
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '403':
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '404':
          description: Not found
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '409':
          description: Conflict
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
  /v1/skills/github/preview:
    post:
      operationId: previewGitHubSkill
      tags:
      - Skills
      security:
      - bearerAuth: []
      summary: Read a skill folder from GitHub at its latest commit and show its files before…
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GitHubSkillPreviewRequest'
      responses:
        '200':
          description: Preview
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GitHubSkillPreview'
        '400':
          description: Validation failed
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '401':
          description: Not authenticated
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '404':
          description: Not found
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
  /v1/skills/github/install:
    post:
      operationId: installGitHubSkill
      tags:
      - Skills
      security:
      - bearerAuth: []
      summary: Install a GitHub skill pinned to the previewed commit
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/InstallGitHubSkillRequest'
      responses:
        '201':
          description: Installed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InstalledSkill'
        '400':
          description: Validation failed
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '401':
          description: Not authenticated
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '403':
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '404':
          description: Not found
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '409':
          description: Conflict
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
  /v1/skills/{id}/update:
    get:
      operationId: checkSkillUpdate
      tags:
      - Skills
      security:
      - bearerAuth: []
      summary: Compare a GitHub skill with its source's latest commit (diff before updating)
      parameters:
      - schema:
          type: string
          format: uuid
        required: true
        name: id
        in: path
      responses:
        '200':
          description: Update check
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SkillUpdateCheck'
        '400':
          description: Validation failed
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '401':
          description: Not authenticated
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '404':
          description: Not found
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
    post:
      operationId: applySkillUpdate
      tags:
      - Skills
      security:
      - bearerAuth: []
      summary: Update a GitHub skill to a newer commit (after reviewing the diff)
      parameters:
      - schema:
          type: string
          format: uuid
        required: true
        name: id
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ApplySkillUpdateRequest'
      responses:
        '200':
          description: Updated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InstalledSkill'
        '400':
          description: Validation failed
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '401':
          description: Not authenticated
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '403':
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '404':
          description: Not found
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
  /v1/skill-proposals:
    get:
      operationId: listSkillProposals
      tags:
      - Skills
      security:
      - bearerAuth: []
      summary: Skills and skill edits bots proposed from their runs
      parameters:
      - schema:
          type: string
          format: uuid
        required: true
        name: org_id
        in: query
      - schema:
          type: string
          format: uuid
        required: false
        name: bot_id
        in: query
      responses:
        '200':
          description: Proposals
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SkillProposalList'
        '401':
          description: Not authenticated
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
  /v1/skill-proposals/{id}/accept:
    post:
      operationId: acceptSkillProposal
      tags:
      - Skills
      security:
      - bearerAuth: []
      summary: Save the proposed skill or edit, optionally changed first
      parameters:
      - schema:
          type: string
          format: uuid
        required: true
        name: id
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AcceptSkillProposalRequest'
      responses:
        '200':
          description: Accepted
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SkillProposal'
        '401':
          description: Not authenticated
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '403':
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '404':
          description: Not found
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '409':
          description: Conflict
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
  /v1/skill-proposals/{id}/dismiss:
    post:
      operationId: dismissSkillProposal
      tags:
      - Skills
      security:
      - bearerAuth: []
      parameters:
      - schema:
          type: string
          format: uuid
        required: true
        name: id
        in: path
      responses:
        '200':
          description: Dismissed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SkillProposal'
        '401':
          description: Not authenticated
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '403':
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '404':
          description: Not found
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '409':
          description: Conflict
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
      summary: Dismiss skill proposal
      x-summary-source: derived
  /v1/skills/{id}/stats:
    get:
      operationId: getSkillStats
      tags:
      - Skills
      security:
      - bearerAuth: []
      summary: Uses, success rate, last failure and history of a skill
      parameters:
      - schema:
          type: string
          format: uuid
        required: true
        name: id
        in: path
      responses:
        '200':
          description: Stats
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SkillStats'
        '401':
          description: Not authenticated
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '404':
          description: Not found
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
components:
  schemas:
    GitHubSkillPreviewRequest:
      type: object
      properties:
        org_id:
          type: string
          format: uuid
        url:
          type: string
          minLength: 10
          maxLength: 500
      required:
      - org_id
      - url
    SkillProposal:
      type: object
      properties:
        id:
          type: string
          format: uuid
        bot_id:
          type: string
          format: uuid
        kind:
          type: string
          enum:
          - new
          - edit
        skill_id:
          type:
          - string
          - 'null'
          format: uuid
        name:
          type: string
        description:
          type: string
        body_md:
          type: string
        previous_body_md:
          type:
          - string
          - 'null'
        tools:
          type: array
          items:
            type: string
        reason:
          type: string
        status:
          type: string
          enum:
          - pending
          - accepted
          - dismissed
          - applied
        created_at:
          type: string
          format: date-time
      required:
      - id
      - bot_id
      - kind
      - skill_id
      - name
      - description
      - body_md
      - previous_body_md
      - tools
      - reason
      - status
      - created_at
    SkillUpdateCheck:
      type: object
      properties:
        current_commit:
          type: string
        latest_commit:
          type: string
        has_update:
          type: boolean
        diff:
          type: array
          items:
            type: string
          description: SKILL.md line diff (+, -, space)
        files_added:
          type: array
          items:
            type: string
        files_removed:
          type: array
          items:
            type: string
        files_changed:
          type: array
          items:
            type: string
      required:
      - current_commit
      - latest_commit
      - has_update
      - diff
      - files_added
      - files_removed
      - files_changed
    GitHubSkillPreview:
      type: object
      properties:
        repo:
          type: string
        path:
          type: string
        ref:
          type:
          - string
          - 'null'
        commit:
          type: string
          description: The pinned commit installs and updates use
        name:
          type: string
        description:
          type: string
        skill_md:
          type: string
        files:
          type: array
          items:
            $ref: '#/components/schemas/SkillPreviewFile'
      required:
      - repo
      - path
      - ref
      - commit
      - name
      - description
      - skill_md
      - files
    AcceptSkillProposalRequest:
      type: object
      properties:
        name:
          type: string
          pattern: ^[a-z0-9][a-z0-9_-]{0,62}$
        description:
          type: string
          minLength: 1
          maxLength: 300
        body_md:
          type: string
          minLength: 1
          maxLength: 50000
    InstallCatalogSkillRequest:
      type: object
      properties:
        org_id:
          type: string
          format: uuid
        bot_id:
          type: string
          format: uuid
          description: Install for one bot; default the whole workspace
        catalog_id:
          type: string
          minLength: 1
          maxLength: 64
        gallery_id:
          type: string
          minLength: 1
          maxLength: 64
          description: Install a skill from the gallery instead of the bundled catalog
      required:
      - org_id
    SkillProposalList:
      type: object
      properties:
        items:
          type: array
          items:
            $ref: '#/components/schemas/SkillProposal'
      required:
      - items
    InstallGitHubSkillRequest:
      type: object
      properties:
        org_id:
          type: string
          format: uuid
        bot_id:
          type: string
          format: uuid
        url:
          type: string
          minLength: 10
          maxLength: 500
        commit:
          type: string
          pattern: ^[0-9a-f]{40}$
      required:
      - org_id
      - url
      - commit
    InstalledSkill:
      type: object
      properties:
        id:
          type: string
          format: uuid
        org_id:
          type: string
          format: uuid
        bot_id:
          type:
          - string
          - 'null'
          format: uuid
        name:
          type: string
        description:
          type: string
        source:
          type: string
          enum:
          - manual
          - catalog
          - github
          - bot
          - gallery
        source_ref:
          type: object
          additionalProperties: {}
        category:
          type:
          - string
          - 'null'
        file_count:
          type: integer
        updated_at:
          type: string
          format: date-time
      required:
      - id
      - org_id
      - bot_id
      - name
      - description
      - source
      - source_ref
      - category
      - file_count
      - updated_at
    SkillPreviewFile:
      type: object
      properties:
        path:
          type: string
        size:
          type: integer
        executable:
          type: boolean
        text:
          type:
          - string
          - 'null'
          description: Contents of text files up to 100 KB; null for binaries
      required:
      - path
      - size
      - executable
      - text
    Problem:
      type: object
      properties:
        type:
          type: string
          example: https://casama.ai/problems/not_found
        title:
          type: string
        status:
          type: integer
        code:
          type: string
          description: Stable error code
          example: not_found
        detail:
          type: string
        instance:
          type: string
        errors:
          type: array
          items:
            type: object
            properties:
              path:
                type: string
              message:
                type: string
            required:
            - path
            - message
          description: Field errors for validation_failed
      required:
      - type
      - title
      - status
      - code
    CatalogSkill:
      type: object
      properties:
        id:
          type: string
        name:
          type: string
        description:
          type: string
        category:
          type: string
        icon:
          type:
          - string
          - 'null'
          description: A Lucide icon name (kebab-case); apps fall back to the category's icon
        files:
          type: array
          items:
            type: string
        skill_md:
          type: string
          description: The raw SKILL.md, for a preview
      required:
      - id
      - name
      - description
      - category
      - files
    SkillCatalog:
      type: object
      properties:
        categories:
          type: array
          items:
            type: string
        items:
          type: array
          items:
            $ref: '#/components/schemas/CatalogSkill'
      required:
      - categories
      - items
    ApplySkillUpdateRequest:
      type: object
      properties:
        commit:
          type: string
          pattern: ^[0-9a-f]{40}$
      required:
      - commit
    SkillStats:
      type: object
      properties:
        uses:
          type: integer
        successes:
          type: integer
        failures:
          type: integer
        corrections:
          type: integer
        success_rate:
          type:
          - number
          - 'null'
        last_failure_at:
          type:
          - string
          - 'null'
          format: date-time
        last_failure_run_id:
          type:
          - string
          - 'null'
          format: uuid
        revisions:
          type: array
          items:
            type: object
            properties:
              id:
                type: string
                format: uuid
              description:
                type: string
              body_md:
                type: string
              by_bot:
                type: boolean
              created_at:
                type: string
                format: date-time
            required:
            - id
            - description
            - body_md
            - by_bot
            - created_at
      required:
      - uses
      - successes
      - failures
      - corrections
      - success_rate
      - last_failure_at
      - last_failure_run_id
      - revisions
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: Supabase access token