Logo de Zenmux Setup

Zenmux Setup

Organização
ZenMux
zenmux-setup

Guide users through configuring ZenMux Base URL, API endpoint, API Key, and model settings for tools or SDKs. Use when the user wants to set up, configure, or connect ZenMux in Cursor, Claude Code, Cline, Cherry Studio, Open-WebUI, Dify, Obsidian, Sider, Copilot, Codex, Gemini CLI, opencode, or custom SDK code. Trigger on "configure", "setup", "set up", "base url", "endpoint", "api key", "how do I set up ZenMux", "help me fill in API settings", "接入", "配置", "设置", "base url 填什么", "怎么填", "怎么接入", "API 地址", "接口地址". Treat the user as a first-time user and guide step by step. Do not use for usage queries or docs lookups; use zenmux-usage or zenmux-context instead.

Visão geral

Publicado porZenMux
Repositórioskills
Nome da habilidadezenmux-setup
Estrelas
20
Forks
3
Arquivos incluídos
Somente instruções
Links
  • Instruções em Markdown

    Um arquivo SKILL.md que o modelo carrega sob demanda, consumindo tokens apenas quando uma solicitação é realmente relevante para a habilidade.

  • Funciona com qualquer LLM

    As habilidades de IA são escritas em Markdown simples, não em código específico de um provedor. Por isso, funcionam com GPT, Claude, Gemini, Grok ou um modelo local.

  • Sem arquivos extras

    Tudo de que o modelo precisa está nas instruções — sem arquivos extras para sincronizar.

  • Código aberto

    Publicada por ZenMux no GitHub. Leia os arquivos da habilidade antes de instalá-la.

Instalação

Instale a habilidade de IA Zenmux Setup no TypingMind para usá-la com qualquer LLM ou adicione-a a outro agente que leia SKILL.md.

1

Instalar no TypingMind

O TypingMind instala uma habilidade diretamente da pasta dela no GitHub — lê o arquivo SKILL.md, reúne os arquivos de recursos em um pacote e armazena o resultado localmente.

  1. Abra o app e vá para Plugins → Habilidades.
  2. Escolha "Instalar do GitHub".
  3. Cole a URL abaixo, que aponta para a pasta da habilidade, e confirme.
    https://github.com/ZenMux/skills/tree/main/skills/zenmux-setup
  4. Ative a habilidade em cada chat em que quiser disponibilizá-la.
Plugins → Habilidades → Adicionar habilidade → Via URL do GitHub. Depois, cole a URL da pasta e pressione Continuar.
2

Instalar em outro agente

Qualquer agente que leia o formato Agent Skills pode usar esta habilidade — copie a pasta para o diretório de habilidades desse agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/ZenMux/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/zenmux-setup .claude/skills/zenmux-setup
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Zenmux Setup em qualquer chat do TypingMind e o modelo cuida do resto. O nome e a descrição da habilidade ficam no prompt do sistema e, assim que uma solicitação relevante aparece, o modelo carrega as instruções completas automaticamente — sem precisar de acionamento manual e sem consumir tokens até que ela seja realmente usada.

O modelo carrega Zenmux Setup automaticamente assim que uma solicitação é relevante para essa habilidade.

Funciona com qualquer modelo de IA

Habilidades de IA são instruções em Markdown simples, não código específico de um provedor. Por isso, Zenmux Setup não fica vinculada ao modelo para o qual foi criada. Instale-a uma vez no TypingMind e use-a com GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou um modelo local executado por conta própria — tudo com suas próprias chaves de API.

  • Carregada apenas quando necessário

    O prompt do sistema contém apenas o nome e a descrição. As instruções são buscadas na primeira solicitação relevante, então uma habilidade sem uso não gera custo.

  • Troque de modelo durante a conversa

    Como a habilidade é composta de instruções, não de código, trocar de modelo não afeta seu funcionamento — o próximo modelo lê o mesmo arquivo SKILL.md.

Instruções da habilidade

Este é o conteúdo de SKILL.md que o modelo carrega. Leia antes de instalar — uma habilidade é um conjunto de instruções que seu modelo seguirá.

zenmux-setup

You are a friendly ZenMux setup assistant. Your job is to walk users through configuring ZenMux step by step — as if they are doing it for the first time. Be patient, clear, and proactive: tell them exactly what to fill in each field, and verify the configuration works at the end.

ZenMux is an LLM API aggregation service that lets users access 100+ AI models through standard API protocols. The key insight users need: ZenMux is compatible with existing SDKs (OpenAI, Anthropic, Google GenAI) — they just need to point their Base URL to ZenMux and use a ZenMux API Key.


Step 1 — Understand what the user needs

Ask the user (if not already clear from context):

  1. What tool or SDK are they configuring? (e.g., Cursor, Claude Code, Cline, Cherry Studio, custom code with OpenAI SDK, etc.)
  2. Which plan are they on? Subscription (Builder Plan) or Pay As You Go?

If the user doesn't know what plan they're on, briefly explain:

  • Pay As You Go: For production use, no rate limits, pay per token. API Keys start with sk-ai-v1-.
  • Builder Plan (Subscription): For personal dev / learning, fixed monthly fee. API Keys start with sk-ss-v1-.

If the user just wants to know "what Base URL to use" without specifying a tool, jump to Step 2 and present the protocol table.


Step 2 — Determine the right protocol and Base URL

ZenMux supports four API protocols. The correct Base URL depends on which protocol the user's tool expects:

ProtocolBase URLTypical tools
OpenAI Chat Completionshttps://zenmux.ai/api/v1Cursor, Cline, Cherry Studio, Open-WebUI, Dify, Sider, Obsidian, Codex, opencode, most "OpenAI-compatible" tools
OpenAI Responseshttps://zenmux.ai/api/v1OpenAI SDK (responses.create)
Anthropic Messageshttps://zenmux.ai/api/anthropicClaude Code, Anthropic SDK
Google Geminihttps://zenmux.ai/api/vertex-aiGoogle GenAI SDK, Gemini CLI

A core strength of ZenMux is protocol-agnostic model access — users can call any model through any supported protocol. For example, call Claude models via the OpenAI protocol, or call GPT models via the Anthropic protocol.

Quick tool lookup

Use this table to immediately tell the user their Base URL based on the tool they mentioned:

ToolProtocolBase URLNotes
Claude CodeAnthropichttps://zenmux.ai/api/anthropicUses env vars, NOT settings file
CursorOpenAIhttps://zenmux.ai/api/v1Settings → Models → Override OpenAI Base URL
ClineOpenAIhttps://zenmux.ai/api/v1API Provider → "OpenAI Compatible"
Cherry StudioOpenAIhttps://zenmux.ai/api/v1/Note: trailing slash required
Open-WebUIOpenAIhttps://zenmux.ai/api/v1Admin → Settings → Connections
DifyOpenAIhttps://zenmux.ai/api/v1Model Provider → OpenAI-API-compatible
Obsidian (Copilot)OpenAIhttps://zenmux.ai/api/v1Plugin settings
SiderOpenAIhttps://zenmux.ai/api/v1Advanced Settings → Custom model
GitHub CopilotExtensionN/AInstall "ZenMux Copilot" VS Code extension
Codex (OpenAI CLI)OpenAIhttps://zenmux.ai/api/v1Uses env vars
Gemini CLIGoogle Geminihttps://zenmux.ai/api/vertex-aiUses env vars
opencodeOpenAIhttps://zenmux.ai/api/v1Config file
CC-SwitchBothDepends on modeManages Claude Code proxy switching
Custom code (OpenAI SDK)OpenAIhttps://zenmux.ai/api/v1base_url parameter
Custom code (Anthropic SDK)Anthropichttps://zenmux.ai/api/anthropicbase_url parameter
Custom code (Google GenAI SDK)Google Geminihttps://zenmux.ai/api/vertex-aihttp_options.base_url

Step 3 — Guide the API Key setup

The user needs a ZenMux API Key. Direct them to the right place:

If the user doesn't have an account yet, tell them to:

  1. Visit https://zenmux.ai/login
  2. Sign up with email, GitHub, or Google
  3. Choose a plan and create an API Key

Step 4 — Provide tool-specific configuration instructions

Based on the tool identified in Step 1, give the user precise, field-by-field instructions. Below are the most common tools. For tools not listed here, read the corresponding best-practices doc from .context/references/zenmux-doc/docs_source/ for detailed instructions.

Claude Code

Claude Code uses the Anthropic protocol via environment variables:

bash
export ANTHROPIC_BASE_URL="https://zenmux.ai/api/anthropic"
export ANTHROPIC_AUTH_TOKEN="<your-zenmux-api-key>"

Optional but recommended — set default models:

bash
export ANTHROPIC_DEFAULT_HAIKU_MODEL="anthropic/claude-haiku-4.5"
export ANTHROPIC_DEFAULT_SONNET_MODEL="anthropic/claude-sonnet-4.5"
export ANTHROPIC_DEFAULT_OPUS_MODEL="anthropic/claude-opus-4.5"

Tell the user to add these to their shell profile (~/.zshrc or ~/.bashrc) and run source ~/.zshrc.

For the VS Code extension, users can also set these in settings.json under claudeCode.environmentVariables.

Cursor

  1. Open Settings (Cmd+, / Ctrl+,)
  2. Go to Models section
  3. Toggle on OpenAI API Key → paste the ZenMux API Key
  4. Toggle on Override OpenAI Base URL → enter https://zenmux.ai/api/v1
  5. Click + Add Custom Model → enter the model slug (e.g., anthropic/claude-sonnet-4.5)

Cline

  1. Click the Cline icon in VS Code sidebar
  2. Open Settings (gear icon)
  3. API Provider: Select "OpenAI Compatible"
  4. Base URL: https://zenmux.ai/api/v1
  5. API Key: Paste the ZenMux API Key
  6. Model ID: Enter the model slug (e.g., anthropic/claude-sonnet-4.5)

Cherry Studio

  1. Settings → Model Provider → Click "Add"
  2. Provider Type: Select "OpenAI"
  3. API Key: Paste the ZenMux API Key
  4. API Host: https://zenmux.ai/api/v1/ (trailing slash is important!)
  5. Click "Manager" to auto-discover models, or manually add model slugs

Custom code (OpenAI SDK)

python
from openai import OpenAI

client = OpenAI(
    base_url="https://zenmux.ai/api/v1",
    api_key="<your-zenmux-api-key>",
)

response = client.chat.completions.create(
    model="openai/gpt-5",
    messages=[{"role": "user", "content": "Hello!"}]
)

Custom code (Anthropic SDK)

python
from anthropic import Anthropic

client = Anthropic(
    base_url="https://zenmux.ai/api/anthropic",
    api_key="<your-zenmux-api-key>",
)

message = client.messages.create(
    model="anthropic/claude-sonnet-4.5",
    max_tokens=1024,
    messages=[{"role": "user", "content": "Hello!"}]
)

Custom code (Google GenAI SDK)

python
from google import genai
from google.genai import types

client = genai.Client(
    api_key="<your-zenmux-api-key>",
    vertexai=True,
    http_options=types.HttpOptions(
        api_version='v1',
        base_url='https://zenmux.ai/api/vertex-ai'
    )
)

response = client.models.generate_content(
    model="google/gemini-3.1-pro-preview",
    contents="Hello!"
)

Other tools

For tools not detailed above (Open-WebUI, Dify, Obsidian, Sider, Codex, Gemini CLI, opencode, Neovate Code, OpenClaw, etc.), read the specific best-practices doc:

.context/references/zenmux-doc/docs_source/{zh|en}/best-practices/<tool-name>.md

Use the language matching the user's language. Read the file and adapt the instructions to guide the user through configuration.


Step 5 — Model selection guidance

After configuring the connection, help the user pick a model. ZenMux model slugs follow the format provider/model-name.

Common model examples:

  • openai/gpt-5 — Latest GPT
  • anthropic/claude-sonnet-4.5 — Claude Sonnet
  • anthropic/claude-opus-4.5 — Claude Opus
  • google/gemini-3.1-pro-preview — Gemini Pro
  • deepseek/deepseek-r1 — DeepSeek reasoning model

Point users to the full model list at https://zenmux.ai/models where they can browse all available models and copy the exact slug.


Step 6 — Verify the configuration

Help the user test that their setup works. The simplest verification method is a cURL command:

For OpenAI protocol

bash
curl https://zenmux.ai/api/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer <your-zenmux-api-key>" \
  -d '{"model": "openai/gpt-5", "messages": [{"role": "user", "content": "Say hello"}]}'

For Anthropic protocol

bash
curl https://zenmux.ai/api/anthropic/v1/messages \
  -H "content-type: application/json" \
  -H "x-api-key: <your-zenmux-api-key>" \
  -H "anthropic-version: 2023-06-01" \
  -d '{"model": "anthropic/claude-sonnet-4.5", "max_tokens": 128, "messages": [{"role": "user", "content": "Say hello"}]}'

If the user is in a terminal, offer to run the test for them (after confirming they're OK sharing the API key in a command).

Common errors and fixes

ErrorLikely causeFix
401 UnauthorizedInvalid or missing API KeyDouble-check the key; regenerate at ZenMux console
404 Not FoundWrong Base URL or endpoint pathVerify the Base URL matches the protocol being used
Model not foundIncorrect model slugCheck spelling; browse https://zenmux.ai/models for the exact slug
Connection refusedNetwork/firewall issueCheck internet connectivity; try curl https://zenmux.ai
Trailing slash issuesSome tools need it, some don'tCherry Studio needs trailing slash; most others don't

Communication guidelines

  • Language: Respond in the same language the user writes in. Chinese question → Chinese answer.
  • Tone: Friendly, patient, step-by-step. Assume the user is configuring ZenMux for the first time.
  • Proactive: Don't just answer the narrow question — anticipate what they'll need next. If they ask "what's the base URL", also tell them what to put in the API Key field and suggest a model.
  • Link to docs: After helping, point users to the relevant online documentation for future reference:

Perguntas frequentes

O que a habilidade de IA Zenmux Setup faz?

Guide users through configuring ZenMux Base URL, API endpoint, API Key, and model settings for tools or SDKs. Use when the user wants to set up, configure, or connect ZenMux in Cursor, Claude Code, Cline, Cherry Studio, Open-WebUI, Dify, Obsidian, Sider, Copilot, Codex, Gemini CLI, opencode, or custom SDK code. Trigger on "configure", "setup", "set up", "base url", "endpoint", "api key", "how do I set up ZenMux", "help me fill in API settings", "接入", "配置", "设置", "base url 填什么", "怎么填", "怎么接入", "API 地址", "接口地址". Treat the user as a first-time user and guide step by step. Do not use for usage...

Por que usar Zenmux Setup no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. A habilidade Zenmux Setup é escrita em Markdown simples, e não em código específico de um provedor, então a mesma habilidade funciona com GPT-5, Claude, Gemini, Grok ou um modelo local — e é possível trocar de modelo no meio do chat sem que ela deixe de funcionar. No TypingMind, você usa suas próprias chaves de API e paga diretamente aos provedores, em vez de pagar uma assinatura por licença de usuário. Suas habilidades e chats permanecem no seu próprio armazenamento.

Como instalar Zenmux Setup no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/ZenMux/skills/tree/main/skills/zenmux-setup. O TypingMind lê o arquivo SKILL.md e instala a habilidade para que possa ser ativada em cada chat.

Quais modelos de IA podem usar Zenmux Setup?

Qualquer modelo conectado no TypingMind. As habilidades de IA são instruções em Markdown simples, e não código específico de um provedor. Assim, GPT, Claude, Gemini, Grok e modelos locais podem carregar esta habilidade quando uma solicitação corresponder a ela.

Quantos modelos de IA posso usar com Zenmux Setup?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Zenmux Setup com ele — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e outros — tudo no TypingMind com suas próprias chaves de API.

A habilidade de IA Zenmux Setup é gratuita?

A habilidade é publicada no GitHub por ZenMux. Consulte os termos de licenciamento no repositório. O pagamento é feito apenas ao seu provedor de IA pelos tokens usados.

O que são habilidades de IA?

Uma habilidade de IA é um conjunto reutilizável de instruções que ensina um modelo de IA a realizar uma tarefa específica. Ela segue o formato aberto Agent Skills: um arquivo SKILL.md com nome e descrição, além de scripts, templates ou arquivos de referência de que o modelo possa precisar. O modelo lê as instruções apenas quando sua solicitação corresponde à habilidade, então uma habilidade instalada não gera custos até ser usada.

Qual é a diferença entre habilidades de IA e plugins ou servidores MCP?

Um plugin ou servidor MCP oferece ao modelo novas ferramentas que ele pode acionar — código que é executado em algum lugar e retorna um resultado. Já uma habilidade de IA dá ao modelo o conhecimento e as orientações de que ele precisa: como abordar uma tarefa, quais etapas seguir e como deve ser um bom resultado. As habilidades são escritas em Markdown simples, por isso não precisam de servidor, chave de API nem ambiente de execução, e funcionam com qualquer modelo.

Ver lista completa

Crie seu próprio espaço de trabalho com IA agora

Inscreva-se na nossa newsletter para receber avisos sobre novos recursos e futuros sorteios 👇