{
  "$schema": "https://schemas.agentskills.io/discovery/0.2.0/schema.json",
  "skills": [
    {
      "name": "routemux-images",
      "type": "archive",
      "description": "Generate or edit images with GPT Image 2.5 through the RouteMux API and save them to a file. Use when the user asks to draw, generate, create, design or edit an image, picture, illustration, icon, logo, poster, banner, mockup or wallpaper, asks to change an image you just made, says 画图/画一张/生成图片/出图/改图/做个 logo, or when the agent's built-in image tool is unavailable because it points at a custom API base URL. Requires the ROUTEMUX_API_KEY environment variable.",
      "url": "/.well-known/agent-skills/routemux-images-59feee36.zip",
      "digest": "sha256:59feee363d520b8216a1f50ebd090f51278b9e8c9127c734ebbbb0ea28e186cf"
    },
    {
      "name": "routemux-models",
      "type": "archive",
      "description": "Look up which models a RouteMux API key can actually call, what they cost, their context window, and which capabilities and protocols they support. Use when the user asks which models are available, how much a model costs, which model to pick for a task, whether a model supports vision/images/video, or says 有哪些模型/这个模型多少钱/用哪个模型好/支持什么协议. Requires the ROUTEMUX_API_KEY environment variable.",
      "url": "/.well-known/agent-skills/routemux-models-993af109.zip",
      "digest": "sha256:993af1098ef48c5b8fa646a47a01d7acb90441e6f88effa90c08367ec0430041"
    },
    {
      "name": "routemux-setup",
      "type": "archive",
      "description": "Point a coding agent or chat client at the RouteMux AI gateway — Codex CLI, Claude Code, Cursor, Cline, OpenCode, Gemini CLI, Qwen Code, Cherry Studio and others. Use when the user asks how to configure, connect, switch or point a tool at RouteMux, asks for the base URL, asks why their tool will not connect, or says 怎么接入/怎么配置/base url 是什么/切到 routemux. Requires the ROUTEMUX_API_KEY environment variable only for verification.",
      "url": "/.well-known/agent-skills/routemux-setup-98b746fe.zip",
      "digest": "sha256:98b746fe2aa8bbb5b5090ee6e2e47d160cdaf3c45c00c2253639aa3c333eeb32"
    },
    {
      "name": "routemux-video",
      "type": "archive",
      "description": "Generate a video from a text prompt with MiniMax H3 through the RouteMux API — quote the price, submit, wait, and save the MP4. Use when the user asks to generate, create, make or render a video, clip, animation or short film, asks for text-to-video, or says 生成视频/做个视频/文生视频/做段动画. Requires the ROUTEMUX_API_KEY environment variable.",
      "url": "/.well-known/agent-skills/routemux-video-1c46b5c4.zip",
      "digest": "sha256:1c46b5c4866a3714cfe55ef8ba88599b811c6e7fabf51cbd30a6dfbe34bc5635"
    }
  ],
  "name": "RouteMux",
  "description": "AI gateway: call many models through OpenAI-, Anthropic- and Vertex-compatible protocols with one prepaid key.",
  "homepage": "https://routemux.com",
  "documentation": "https://routemux.com/docs/integrations/agent-skills",
  "llms_txt": "https://routemux.com/llms.txt",
  "license": "MIT",
  "install": {
    "npx": "npx skills add https://routemux.com -g",
    "claude_code": [
      "/plugin marketplace add https://routemux.com/.well-known/agent-skills/marketplace.json",
      "/plugin install routemux@routemux"
    ],
    "script": "curl -fsSL https://routemux.com/.well-known/agent-skills/install.sh | sh"
  },
  "authentication": {
    "type": "bearer",
    "header": "Authorization",
    "env": "ROUTEMUX_API_KEY",
    "obtain": "https://routemux.com/console/keys"
  },
  "api": {
    "base_url": "https://api.routemux.com",
    "endpoints": [
      {
        "operation": "chat_completions",
        "method": "POST",
        "path": "/v1/chat/completions",
        "description": "OpenAI Chat Completions 兼容"
      },
      {
        "operation": "responses",
        "method": "POST",
        "path": "/v1/responses",
        "description": "OpenAI Responses 兼容"
      },
      {
        "operation": "messages",
        "method": "POST",
        "path": "/v1/messages",
        "description": "Anthropic Messages 兼容"
      },
      {
        "operation": "generate_content",
        "method": "POST",
        "path": "/vertex-ai/…:generateContent",
        "description": "Google Vertex 兼容"
      },
      {
        "operation": "stream_generate_content",
        "method": "POST",
        "path": "/vertex-ai/…:streamGenerateContent",
        "description": "Google Vertex 流式"
      },
      {
        "operation": "image_generation",
        "method": "POST",
        "path": "/v1/images/generations",
        "description": "文生图"
      },
      {
        "operation": "image_edit",
        "method": "POST",
        "path": "/v1/images/edits",
        "description": "图生图 / 改图(multipart)"
      },
      {
        "operation": "generate_images",
        "method": "POST",
        "path": "/vertex-ai/…:generateImages",
        "description": "Vertex 出图"
      },
      {
        "operation": "edit_image",
        "method": "POST",
        "path": "/vertex-ai/…:editImage",
        "description": "Vertex 改图"
      },
      {
        "operation": "upscale_image",
        "method": "POST",
        "path": "/vertex-ai/…:upscaleImage",
        "description": "Vertex 放大"
      },
      {
        "operation": "video_generation",
        "method": "POST",
        "path": "/v1/videos",
        "description": "异步任务,轮询取结果"
      },
      {
        "operation": "generate_videos",
        "method": "POST",
        "path": "/vertex-ai/…:generateVideos",
        "description": "Vertex 视频,异步"
      },
      {
        "operation": "audio_speech",
        "method": "POST",
        "path": "/v1/audio/speech",
        "description": "文本转语音(TTS),返回音频二进制"
      },
      {
        "operation": "audio_transcription",
        "method": "POST",
        "path": "/v1/audio/transcriptions",
        "description": "语音转文本(STT),multipart 上传音频"
      },
      {
        "operation": "models",
        "method": "GET",
        "path": "/v1/models",
        "description": "列出你的 key 可调用的模型"
      }
    ]
  }
}
