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

# Update Skill

> Update an existing custom skill.



## OpenAPI

````yaml /api-reference/openapi.json put /api/skills/{skill_id}
openapi: 3.1.0
info:
  title: apowerb API
  description: REST API of the apowerb agentic framework (open-source edition).
  version: 0.1.2
  license:
    name: MIT
    url: https://github.com/apowerb/apowerb/blob/main/LICENSE
servers:
  - url: https://api.example.com
    description: Your apowerb instance
  - url: http://localhost:8000
    description: Local stack
security: []
paths:
  /api/skills/{skill_id}:
    put:
      tags:
        - skills
      summary: Update Skill
      description: Update an existing custom skill.
      operationId: update_skill_api_skills__skill_id__put
      parameters:
        - name: skill_id
          in: path
          required: true
          schema:
            type: integer
            title: Skill Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SkillUpdateSchema'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    SkillUpdateSchema:
      properties:
        skill_name:
          anyOf:
            - type: string
            - type: 'null'
          title: Skill Name
        description:
          anyOf:
            - type: string
            - type: 'null'
          title: Description
        instructions:
          anyOf:
            - type: string
            - type: 'null'
          title: Instructions
        references:
          anyOf:
            - additionalProperties:
                type: string
              type: object
            - type: 'null'
          title: References
        assets:
          anyOf:
            - additionalProperties:
                type: string
              type: object
            - type: 'null'
          title: Assets
        is_public:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Is Public
      type: object
      title: SkillUpdateSchema
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````

## Related topics

- [Update Agent](/api-reference/agents/update-agent.md)
- [List Skills](/api-reference/skills/list-skills.md)
- [Delete Skill](/api-reference/skills/delete-skill.md)
- [Get Skill](/api-reference/skills/get-skill.md)
- [Export Skill](/api-reference/skills/export-skill.md)
