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

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



## OpenAPI

````yaml /versions/2.0.6dev/en/deploy/openapi.json get /hub/skill/{hub_id}/cards/{card_id}
openapi: 3.1.0
info:
  title: AgentScope
  version: 2.0.5
servers: []
security: []
paths:
  /hub/skill/{hub_id}/cards/{card_id}:
    get:
      tags:
        - hub
      summary: Get Skill Card
      description: Return one skill card, including its ``SKILL.md`` body.
      operationId: get_skill_card_hub_skill__hub_id__cards__card_id__get
      parameters:
        - name: hub_id
          in: path
          required: true
          schema:
            type: string
            title: Hub Id
        - name: card_id
          in: path
          required: true
          schema:
            type: string
            title: Card 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/SkillCard'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    SkillCard:
      properties:
        hub_id:
          type: string
          title: Hub ID
          description: The id of the hub this card came from.
        id:
          type: string
          title: ID
          description: >-
            The identifier addressing this card on its hub. Defaults to ``name``
            for registries that expose no separate id.
          default: ''
        name:
          type: string
          title: Name
          description: The skill name.
        description:
          type: string
          title: Description
          description: The user-facing description of the skill.
          default: ''
        display_name:
          anyOf:
            - type: string
            - type: 'null'
          title: Display Name
          description: The user-facing name, falling back to ``name``.
        tags:
          items:
            type: string
          type: array
          title: Tags
          description: The tags categorizing this card.
        version:
          anyOf:
            - type: string
            - type: 'null'
          title: Version
          description: The card version reported by the hub.
        updated_at:
          anyOf:
            - type: number
            - type: 'null'
          title: Updated At
          description: The last-updated timestamp (Unix epoch seconds).
        author:
          anyOf:
            - type: string
            - type: 'null'
          title: Author
          description: Who published the skill, when the hub says.
        icon_url:
          anyOf:
            - type: string
            - type: 'null'
          title: Icon URL
          description: >-
            An image representing the skill, for the card and the detail view.
            ``None`` when the hub offers none — the UI is expected to fall back
            rather than show a broken image.
        installs:
          anyOf:
            - type: integer
            - type: 'null'
          title: Installs
          description: >-
            How many times this skill has been installed. ``None`` when the hub
            does not count installs, which is not the same as zero — render it
            only when set.
        downloads:
          anyOf:
            - type: integer
            - type: 'null'
          title: Downloads
          description: >-
            How many times this skill has been downloaded. ``None`` when the hub
            does not count downloads.
        url:
          anyOf:
            - type: string
            - type: 'null'
          title: URL
          description: >-
            The skill's page on the hub's website, for a 'view on the hub' link.
            ``None`` when the hub has no web presence.
        markdown:
          anyOf:
            - type: string
            - type: 'null'
          title: Markdown
          description: >-
            The ``SKILL.md`` body. Left ``None`` when browsing so the catalog
            does not fetch one file per card; populated by ``get_skill``.
        metadata:
          additionalProperties: true
          type: object
          title: Metadata
          description: The hub-specific extra fields carried verbatim.
      type: object
      required:
        - hub_id
        - name
      title: SkillCard
      description: |-
        A single skill listing on a hub.

        Unlike an :class:`MCPCard` there is nothing to configure: installing
        a skill copies its files into the workspace, so no input form and no
        template substitution are involved.

        :attr:`id` addresses the card on its hub — together with
        :attr:`hub_id` it names the card globally; :attr:`name` is the
        skill's own name.
    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

````