> ## Documentation Index
> Fetch the complete documentation index at: https://docs.agentarea.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Create Skill

> Create a new skill from content or GitHub URL.



## OpenAPI

````yaml /api-reference/openapi.json post /v1/skills
openapi: 3.1.0
info:
  description: >-
    Modular and extensible framework for building AI agents. This API requires
    JWT Bearer token authentication for most endpoints. Include your JWT token
    in the Authorization header. Public endpoints include /, /health, /docs,
    /redoc, and /openapi.json.
  title: AgentArea API
  version: 0.1.0
servers: []
security:
  - bearer: []
paths:
  /v1/skills:
    post:
      tags:
        - v1
        - protected
        - skills
      summary: Create Skill
      description: Create a new skill from content or GitHub URL.
      operationId: create_skill_v1_skills_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SkillCreateRequest'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SkillResponse'
          description: Successful Response
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
      security:
        - HTTPBearer: []
components:
  schemas:
    SkillCreateRequest:
      description: Request to create a skill.
      properties:
        content:
          anyOf:
            - type: string
            - type: 'null'
          description: Raw markdown content
          title: Content
        description:
          anyOf:
            - type: string
            - type: 'null'
          description: Optional description override
          title: Description
        github_url:
          anyOf:
            - type: string
            - type: 'null'
          description: GitHub repository URL
          title: Github Url
        name:
          anyOf:
            - type: string
            - type: 'null'
          description: Optional name override
          title: Name
      title: SkillCreateRequest
      type: object
    SkillResponse:
      description: Skill response model.
      properties:
        created_at:
          title: Created At
          type: string
        description:
          anyOf:
            - type: string
            - type: 'null'
          title: Description
        id:
          title: Id
          type: string
        is_catalog:
          default: false
          title: Is Catalog
          type: boolean
        name:
          title: Name
          type: string
        network_scope:
          title: Network Scope
          type: string
        registry_item_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Registry Item Id
        slug:
          title: Slug
          type: string
        source_type:
          title: Source Type
          type: string
        source_url:
          anyOf:
            - type: string
            - type: 'null'
          title: Source Url
        update_available:
          default: false
          title: Update Available
          type: boolean
        updated_at:
          title: Updated At
          type: string
        workspace_id:
          title: Workspace Id
          type: string
      required:
        - id
        - name
        - slug
        - description
        - source_type
        - source_url
        - network_scope
        - workspace_id
        - created_at
        - updated_at
      title: SkillResponse
      type: object
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          title: Detail
          type: array
      title: HTTPValidationError
      type: object
    ValidationError:
      properties:
        ctx:
          title: Context
          type: object
        input:
          title: Input
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          title: Location
          type: array
        msg:
          title: Message
          type: string
        type:
          title: Error Type
          type: string
      required:
        - loc
        - msg
        - type
      title: ValidationError
      type: object
  securitySchemes:
    bearer:
      bearerFormat: JWT
      description: JWT Bearer token for authentication
      scheme: bearer
      type: http
    HTTPBearer:
      scheme: bearer
      type: http

````