{
  "openapi": "3.1.0",
  "info": {
    "title": "Automation Skills API",
    "version": "1.0.0",
    "description": "Read-only, static, public endpoints for the Automation Skills library. No authentication.",
    "contact": {
      "email": "hello@automationskills.ai",
      "url": "https://automationskills.ai/"
    },
    "license": {
      "name": "MIT",
      "identifier": "MIT"
    }
  },
  "servers": [
    {
      "url": "https://automationskills.ai"
    }
  ],
  "security": [],
  "paths": {
    "/skills.json": {
      "get": {
        "operationId": "listSkills",
        "summary": "List every skill",
        "responses": {
          "200": {
            "description": "All skills",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Skill"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/skill/{slug}/SKILL.md": {
      "get": {
        "operationId": "getSkill",
        "summary": "Get one skill as raw markdown",
        "parameters": [
          {
            "name": "slug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "agent-or-workflow"
          }
        ],
        "responses": {
          "200": {
            "description": "The SKILL.md file",
            "content": {
              "text/markdown": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "404": {
            "description": "No skill with that slug"
          }
        }
      }
    },
    "/llms.txt": {
      "get": {
        "operationId": "getLlmsTxt",
        "summary": "Index of the library for language models",
        "responses": {
          "200": {
            "description": "llms.txt",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "/llms-full.txt": {
      "get": {
        "operationId": "getLlmsFullTxt",
        "summary": "Every library skill in one file",
        "responses": {
          "200": {
            "description": "llms-full.txt",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "Skill": {
        "type": "object",
        "required": [
          "slug",
          "title",
          "raw",
          "install",
          "license"
        ],
        "properties": {
          "slug": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "category": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "page": {
            "type": "string",
            "format": "uri"
          },
          "raw": {
            "type": "string",
            "format": "uri"
          },
          "source": {
            "type": "string",
            "format": "uri"
          },
          "install": {
            "type": "string"
          },
          "authors": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "name": {
                  "type": "string"
                },
                "role": {
                  "type": "string"
                },
                "company": {
                  "type": "string"
                },
                "profile": {
                  "type": "string",
                  "format": "uri"
                }
              }
            }
          },
          "license": {
            "type": "string"
          },
          "community": {
            "type": "boolean"
          }
        }
      }
    }
  }
}