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

# Create a skill

> Creates a workspace skill. If `command` is omitted it is derived from the name ("Email Triage" becomes `email-triage`). Commands are unique per workspace; a duplicate returns 409. Pass `source_skill_id` to copy another skill, including its files.




## OpenAPI

````yaml /openapi/tools.yaml post /skills
openapi: 3.1.0
info:
  title: Connie Tools API
  version: 1.0.0
  description: >
    Endpoints the Connie web app uses for Tools and Skills: the tool catalogue,
    connected accounts, tool permissions, your own MCP servers, and workspace
    skills. They authenticate with your signed-in browser session — see
    https://docs.connie.ai/api-reference/authentication. These are the app's own
    endpoints and can change when the app changes.
servers:
  - url: https://connie.ai/api
security:
  - sessionCookie: []
tags:
  - name: Catalogue
    description: Browse tools and read one tool's inputs, output and price.
  - name: Permissions
    description: Whether Connie runs a tool without asking, asks first, or never runs it.
  - name: Connected accounts
    description: The app accounts connected to the workspace and who can use them.
  - name: MCP servers
    description: MCP servers you add to the workspace from Tools → Add → MCP.
  - name: Skills
    description: Reusable instructions Connie follows in chat, with optional context files.
paths:
  /skills:
    post:
      tags:
        - Skills
      summary: Create a skill
      description: >
        Creates a workspace skill. If `command` is omitted it is derived from
        the name ("Email Triage" becomes `email-triage`). Commands are unique
        per workspace; a duplicate returns 409. Pass `source_skill_id` to copy
        another skill, including its files.
      operationId: createSkill
      parameters:
        - $ref: '#/components/parameters/SkillWorkspaceId'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - name
                - description
                - instructions
              properties:
                name:
                  type: string
                  maxLength: 100
                description:
                  type: string
                  maxLength: 500
                  description: >-
                    When Connie should use the skill. Auto skills are matched on
                    this.
                instructions:
                  type: string
                  maxLength: 20000
                  description: The SKILL.md body, in Markdown.
                command:
                  type: string
                  pattern: ^[a-z0-9][a-z0-9-]{1,63}$
                  description: Slash command, without the `/`.
                category:
                  $ref: '#/components/schemas/SkillCategory'
                trigger_mode:
                  $ref: '#/components/schemas/SkillTriggerMode'
                tool_ids:
                  type: array
                  description: Tools the skill uses. They are loaded when the command runs.
                  items:
                    type: string
                icon:
                  type: string
                metadata:
                  type: object
                  additionalProperties: true
                source_skill_id:
                  type: string
                  format: uuid
                  description: Copy this skill (used by Duplicate).
      responses:
        '201':
          description: Skill created.
          content:
            application/json:
              schema:
                type: object
                properties:
                  skill:
                    $ref: '#/components/schemas/Skill'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '409':
          description: A skill with this command already exists.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  parameters:
    SkillWorkspaceId:
      name: workspace_id
      in: query
      required: true
      description: >
        Your workspace ID. Also accepted as `workspaceId`, the `x-workspace-id`
        header, or in a JSON body. If you leave it out, the request silently
        runs against the first workspace you joined.
      schema:
        type: string
        format: uuid
  schemas:
    SkillCategory:
      type: string
      enum:
        - sales
        - marketing
        - crm
        - communication
        - analytics
        - outreach
        - research
        - support
        - general
    SkillTriggerMode:
      type: string
      enum:
        - auto
        - manual
      description: >-
        `auto` lets Connie pick the skill when your request matches its
        description. `manual` (Command only) runs it only through its slash
        command.
    Skill:
      type: object
      additionalProperties: true
      properties:
        id:
          type: string
          format: uuid
        workspace_id:
          type:
            - string
            - 'null'
          description: Null for built-in skills.
        name:
          type: string
        description:
          type: string
        instructions:
          type: string
        command:
          type: string
        category:
          $ref: '#/components/schemas/SkillCategory'
        trigger_mode:
          $ref: '#/components/schemas/SkillTriggerMode'
        tool_ids:
          type: array
          items:
            type: string
        is_system:
          type: boolean
          description: True for Connie's built-in skills, which are read-only.
        enabled:
          type: boolean
        icon:
          type:
            - string
            - 'null'
        is_shared:
          type: boolean
          description: The skill has a public read-only link.
        download_count:
          type:
            - integer
            - 'null'
        source_skill_id:
          type:
            - string
            - 'null'
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
    Error:
      type: object
      properties:
        error:
          type: string
        code:
          type: string
  responses:
    BadRequest:
      description: Missing or invalid input.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Unauthorized:
      description: No valid session, or the session expired (`SESSION_EXPIRED`).
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Forbidden:
      description: You're not a member of the workspace, or your role doesn't allow this.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    sessionCookie:
      type: apiKey
      in: header
      name: Cookie
      description: >-
        The full Cookie header copied from a signed-in connie.ai browser
        request. See the Authentication page.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.