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

# Create skill

> Creates a new skill. Admin only.



## OpenAPI

````yaml /openapi.yaml post /skills
openapi: 3.0.3
info:
  title: Hill90 API
  description: Hill90 platform API — agent management and lifecycle operations.
  version: 0.1.0
servers:
  - url: /
    description: Relative (behind Traefik reverse proxy)
security: []
paths:
  /skills:
    post:
      summary: Create skill
      description: Creates a new skill. Admin only.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - name
              properties:
                name:
                  type: string
                description:
                  type: string
                tools_config:
                  type: object
                  description: >-
                    Tool configuration (shell, filesystem, health settings).
                    Optional — when omitted, auto-derived from scope.
                instructions_md:
                  type: string
                  description: >-
                    Behavioral guidance merged into agent RULES.md at start
                    time.
                scope:
                  type: string
                  enum:
                    - container_local
                    - host_docker
                    - vps_system
                  default: container_local
                  description: Scope determines assignment authority.
                tool_ids:
                  type: array
                  items:
                    type: string
                    format: uuid
                  description: Tool IDs to associate with this skill
      responses:
        '201':
          description: Skill created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Skill'
        '400':
          description: Invalid input
        '401':
          description: Not authenticated
        '403':
          description: Requires admin role
        '409':
          description: Duplicate skill name
      security:
        - bearerAuth: []
components:
  schemas:
    Skill:
      type: object
      properties:
        id:
          type: string
          format: uuid
        name:
          type: string
        description:
          type: string
        tools_config:
          type: object
          description: JSONB tool configuration (shell, filesystem, health settings)
        instructions_md:
          type: string
          description: >-
            Behavioral guidance merged into agent RULES.md at start time
            (fresh-at-start).
        scope:
          type: string
          enum:
            - container_local
            - host_docker
            - vps_system
          default: container_local
          description: >-
            Scope determines assignment authority. container_local — any user.
            host_docker/vps_system — admin only.
        tools:
          type: array
          items:
            type: object
            properties:
              id:
                type: string
                format: uuid
              name:
                type: string
              description:
                type: string
              install_method:
                type: string
                enum:
                  - builtin
                  - apt
                  - binary
        is_platform:
          type: boolean
          description: Platform skills are immutable and undeletable.
        created_by:
          type: string
          nullable: true
          description: Always NULL (admin-created shared resources).
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````