> ## 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.

# Update skill

> Updates a skill. Admin only. Platform skills are immutable (403).



## OpenAPI

````yaml /openapi.yaml put /skills/{id}
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/{id}:
    parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          format: uuid
    put:
      summary: Update skill
      description: Updates a skill. Admin only. Platform skills are immutable (403).
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                description:
                  type: string
                tools_config:
                  type: object
                instructions_md:
                  type: string
                scope:
                  type: string
                  enum:
                    - container_local
                    - host_docker
                    - vps_system
                tool_ids:
                  type: array
                  items:
                    type: string
                    format: uuid
                  description: Tool IDs to associate with this skill
      responses:
        '200':
          description: Skill updated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Skill'
        '401':
          description: Not authenticated
        '403':
          description: Requires admin role or platform skill is immutable
        '404':
          description: Skill not found
        '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

````