{
  "name": "COMPOSIO_MANAGE_SKILL",
  "description": "Create, update, or delete a Skill when the user explicitly asks. Choose action=create only for a new Skill; use action=update to change an existing Skill and action=delete only for an explicit deletion request. For updates and deletions, copy the exact Skill ID returned by COMPOSIO_SEARCH_SKILLS or COMPOSIO_USE_SKILL; never invent an ID or pass a slug as an ID. If the target is ambiguous, ask the user to choose. Load the existing Skill with COMPOSIO_USE_SKILL before editing. Update never creates a Skill; if the ID is not found, search again or ask the user, never fall back to create. Preserve the title unless the user requests a rename. Pass the complete SKILL.md, preserving frontmatter and unrelated instructions; inspect for secrets or machine-specific paths before saving. Create only selected Skills. Never delete duplicates automatically.",
  "inputSchema": {
    "anyOf": [
      {
        "type": "object",
        "properties": {
          "action": {
            "type": "string",
            "const": "create"
          },
          "title": {
            "type": "string",
            "minLength": 1,
            "maxLength": 256
          },
          "skill_markdown": {
            "type": "string",
            "minLength": 1,
            "maxLength": 65536,
            "description": "The complete SKILL.md with name and description in YAML frontmatter, followed by Markdown instructions."
          }
        },
        "required": [
          "action",
          "title",
          "skill_markdown"
        ],
        "additionalProperties": false
      },
      {
        "type": "object",
        "properties": {
          "action": {
            "type": "string",
            "const": "update"
          },
          "id": {
            "type": "string",
            "pattern": "^sk_[A-Za-z0-9_-]{12}$",
            "description": "The exact existing Skill ID returned by COMPOSIO_SEARCH_SKILLS or COMPOSIO_USE_SKILL. Never invent an ID."
          },
          "title": {
            "$ref": "#/anyOf/0/properties/title"
          },
          "skill_markdown": {
            "$ref": "#/anyOf/0/properties/skill_markdown"
          }
        },
        "required": [
          "action",
          "id",
          "title",
          "skill_markdown"
        ],
        "additionalProperties": false
      },
      {
        "type": "object",
        "properties": {
          "action": {
            "type": "string",
            "const": "delete"
          },
          "id": {
            "type": "string",
            "pattern": "^sk_[A-Za-z0-9_-]{12}$",
            "description": "The exact Skill ID returned by Search or Use for the Skill the user explicitly asked to delete."
          }
        },
        "required": [
          "action",
          "id"
        ],
        "additionalProperties": false
      }
    ],
    "$schema": "http://json-schema.org/draft-07/schema#",
    "type": "object"
  },
  "annotations": {
    "readOnlyHint": false,
    "destructiveHint": true,
    "idempotentHint": false,
    "openWorldHint": false
  }
}
