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

# Get Skill

> Return one installed skill, including its ``SKILL.md`` body.



## OpenAPI

````yaml /versions/2.0.6dev/en/deploy/openapi.json get /skill/{skill_id}
openapi: 3.1.0
info:
  title: AgentScope
  version: 2.0.5
servers: []
security: []
paths:
  /skill/{skill_id}:
    get:
      tags:
        - skill
      summary: Get Skill
      description: Return one installed skill, including its ``SKILL.md`` body.
      operationId: get_skill_skill__skill_id__get
      parameters:
        - name: skill_id
          in: path
          required: true
          schema:
            type: string
            title: Skill Id
        - name: x-user-id
          in: header
          required: true
          schema:
            type: string
            description: >-
              Caller's user ID. Temporary header-based identity; will be
              replaced by JWT auth.
            title: X-User-Id
          description: >-
            Caller's user ID. Temporary header-based identity; will be replaced
            by JWT auth.
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SkillRecord'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    SkillRecord:
      properties:
        id:
          type: string
          title: Id
          description: Unique identifier for the credential.
        updated_at:
          type: string
          format: date-time
          title: Updated At
        created_at:
          type: string
          format: date-time
          title: Created At
        user_id:
          type: string
          title: User Id
        name:
          type: string
          title: Name
        display_name:
          anyOf:
            - type: string
            - type: 'null'
          title: Display Name
        description:
          type: string
          title: Description
          default: ''
        tags:
          items:
            type: string
          type: array
          title: Tags
        author:
          anyOf:
            - type: string
            - type: 'null'
          title: Author
        icon_url:
          anyOf:
            - type: string
            - type: 'null'
          title: Icon Url
        url:
          anyOf:
            - type: string
            - type: 'null'
          title: Url
        markdown:
          type: string
          title: Markdown
          default: ''
        hub_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Hub Id
        card_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Card Id
        version:
          anyOf:
            - type: string
            - type: 'null'
          title: Version
        enabled:
          type: boolean
          title: Enabled
          default: true
      type: object
      required:
        - user_id
        - name
      title: SkillRecord
      description: |-
        One skill a user has installed, at the user level rather than in
        any one workspace — the skill counterpart of :class:`MCPRecord`.

        Unlike an MCP, whose whole substance is a config small enough to
        store inline, a skill is a directory of files. Those files are *not*
        kept here: the record holds where the skill came from and what it
        says it does, and the archive is re-fetched from the hub when the
        skill is actually put into a workspace.

        TODO: store the archive so the library survives the hub dropping the
        card or going offline. That needs a blob store, and the one this app
        has is only wired up alongside ``knowledge_base_manager``.
    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

````