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

# List skills

> Retrieve all configured skills. Each skill is stored as a directory
under `.nut/skills/<name>/SKILL.md` following the Agent Skills
specification (https://agentskills.io/specification).




## OpenAPI

````yaml /api-reference/openapi.yaml get /api/v1/skills
openapi: 3.1.1
info:
  title: Coconut API
  description: |
    Comprehensive API for the Coconut development platform.

    Coconut is a development environment that provides AI-assisted coding,
    task management, skill orchestration, and integrated terminal sessions.
  version: 1.0.72
  contact:
    name: Coconut Team
  license:
    name: MIT
servers:
  - url: http://localhost:3001
    description: Development server
  - url: '{baseUrl}'
    description: Production server
    variables:
      baseUrl:
        default: http://localhost:3001
        description: Base URL for the API
security:
  - sessionCookie: []
  - bearerAuth: []
  - apiKey: []
tags:
  - name: Tasks
    description: Task management
  - name: Skills
    description: AI skill configuration and management (Agent Skills spec)
  - name: Resources
    description: File and media resource management
  - name: Knowledge
    description: Knowledge document management
  - name: Terminal
    description: Terminal session management
  - name: AI
    description: AI chat and completion endpoints
  - name: Chats
    description: Chat history management
  - name: Configuration
    description: Project and global configuration
  - name: MCP
    description: Model Context Protocol server management
  - name: Context
    description: Context documents for role, agents, team, and memory
  - name: Identity
    description: Identity and agent card management
  - name: User
    description: User information and settings
  - name: Jobs
    description: Scheduled job management
  - name: Git
    description: Git repository management
  - name: Slack
    description: Slack integration and notification management
  - name: Mail
    description: Email management and Resend webhook integration
  - name: Version
    description: API version information
paths:
  /api/v1/skills:
    get:
      tags:
        - Skills
      summary: List skills
      description: |
        Retrieve all configured skills. Each skill is stored as a directory
        under `.nut/skills/<name>/SKILL.md` following the Agent Skills
        specification (https://agentskills.io/specification).
      operationId: listSkills
      responses:
        '200':
          description: List of skill documents
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  documents:
                    type: array
                    items:
                      $ref: '#/components/schemas/Skill'
        '500':
          $ref: '#/components/responses/InternalError'
components:
  schemas:
    Skill:
      type: object
      description: |
        A skill document following the Agent Skills specification.
        Stored as `.nut/skills/<id>/SKILL.md` with YAML frontmatter.
      required:
        - id
        - name
        - description
      properties:
        id:
          type: string
          description: Skill identifier (directory name, kebab-case)
        name:
          type: string
          description: Skill name (matches directory name per spec)
        description:
          type: string
          description: Short description of what the skill does
        license:
          type: string
          description: License identifier (e.g. MIT, Apache-2.0)
        compatibility:
          type: string
          description: Compatibility requirements
        allowedTools:
          type: string
          description: Space-delimited list of pre-approved tool names
        metadata:
          type: object
          additionalProperties: true
          description: |
            Arbitrary key-value metadata map. Coconut-specific keys include
            `color`, `mcpServers`, `focusAreas`, `contextPreferences`,
            `registryId`, `registrySource`, `version`, `tags`.
        content:
          type: string
          description: Skill instructions (Markdown body of SKILL.md)
    ErrorResponse:
      type: object
      required:
        - success
        - error
      properties:
        success:
          type: boolean
          const: false
        error:
          type: object
          required:
            - code
            - message
          properties:
            code:
              type: string
              description: Error code
            message:
              type: string
              description: Human-readable error message
  responses:
    InternalError:
      description: Internal server error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
  securitySchemes:
    sessionCookie:
      type: apiKey
      in: cookie
      name: nut-session
      description: Session cookie authentication
    bearerAuth:
      type: http
      scheme: bearer
      description: Bearer token authentication
    apiKey:
      type: apiKey
      in: header
      name: X-API-Key
      description: API key authentication

````