Logo van Setup Aliases

Setup Aliases

Community
LeeJuOh
setup-aliases

Discover, choose, and rewrite backend-specific VibeProxy cc-* aliases for Claude Code. Use when setting up, resetting, or auditing VibeProxy aliases for Codex, Copilot, Antigravity, Gemini, Qwen, or Z.AI GLM.

Overzicht

UitgeverLeeJuOh
Repositoryclaude-code-zero
Skillnaamsetup-aliases
Sterren
53
Forks
4
Meegeleverde bestanden
8
LicentieMIT
Links
  • Instructies in Markdown

    Het model laadt het bestand SKILL.md alleen als dat nodig is. Dat kost dus alleen tokens als een verzoek daadwerkelijk bij de skill past.

  • Werkt met elk LLM

    AI-skills bestaan uit instructies in gewone Markdown, niet uit aanbiederspecifieke code. Daardoor werken ze met GPT, Claude, Gemini, Grok of een lokaal model.

  • Meegeleverde bestanden: 8

    Scripts, sjablonen en referentiemateriaal die het model tijdens het werken kan lezen. De bestanden kunnen alleen worden gelezen en worden nooit uitgevoerd.

  • Open source

    Gepubliceerd door LeeJuOh op GitHub. Bekijk de bronbestanden voordat je de skill installeert.

Installatie

Installeer de AI-skill Setup Aliases in TypingMind om deze met elk LLM te gebruiken, of voeg de skill toe aan een andere agent die SKILL.md kan lezen.

1

Installeren in TypingMind

TypingMind installeert een skill rechtstreeks vanuit de GitHub-map. De app leest SKILL.md, bundelt de bijbehorende bestanden en slaat het resultaat lokaal op.

  1. Open de app en ga naar Plug-ins → Skills.
  2. Kies "Installeren via GitHub".
  3. Plak de onderstaande URL van de skillmap en bevestig.
    https://github.com/LeeJuOh/claude-code-zero/tree/main/plugins/vibeproxy-kit/skills/setup-aliases
  4. Schakel de skill in voor elke chat waarin je de skill wilt kunnen gebruiken.
Plug-ins → Skills → Skill toevoegen → Via GitHub-URL. Plak vervolgens de map-URL en druk op Doorgaan.
2

Installeren in een andere agent

Elke agent die het Agent Skills-formaat kan lezen, kan deze skill gebruiken — kopieer de map naar de skillmap van die agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/LeeJuOh/claude-code-zero.git /tmp/claude-code-zero
mkdir -p .claude/skills
cp -r /tmp/claude-code-zero/plugins/vibeproxy-kit/skills/setup-aliases .claude/skills/setup-aliases
Start Claude Code na het kopiëren opnieuw op, zodat de nieuwe skill wordt herkend.

Gebruik deze skill in TypingMind

Schakel Setup Aliases in voor een chat naar keuze in TypingMind en het model doet de rest. De naam en beschrijving staan in de systeemprompt. Zodra een verzoek bij de skill past, laadt het model zelf de volledige instructies. Je hoeft de skill nooit handmatig aan te roepen. Pas als het model de skill daadwerkelijk gebruikt, kost dat tokens.

Het model laadt Setup Aliases automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is Setup Aliases niet gebonden aan het model waarvoor de skill is geschreven. Installeer de skill één keer in TypingMind en gebruik deze met GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama of een lokaal model dat je zelf draait — allemaal met je eigen API-sleutels.

  • Alleen geladen wanneer nodig

    De systeemprompt bevat alleen de naam en beschrijving. De instructies worden bij het eerste bijpassende verzoek opgehaald, dus een ongebruikte skill kost niets.

  • Wissel van model tijdens een chat

    Omdat de skill uit instructies bestaat en niet uit code, blijft deze werken als je van model wisselt — het volgende model leest hetzelfde SKILL.md-bestand.

Skillinstructies

Dit is de inhoud van SKILL.md die het model laadt. Lees deze vóór de installatie — een skill bestaat uit instructies die je model zal volgen.

setup-aliases

State-aware orchestration for VibeProxy aliases. This skill owns exactly two surfaces:

  1. the vibeproxy-kit managed block in ~/.zshrc
  2. the oauth-model-alias entries in ~/.cli-proxy-api/config.yaml that it created

Everything else — unrelated YAML keys, unrelated shell aliases, user-authored alias entries — is preserved. The skill coordinates discovery, a guided per-backend probe cycle, writes, a VibeProxy restart gate, live validation, and transactional rollback on failure.

All five scripts in ${CLAUDE_PLUGIN_ROOT}/skills/setup-aliases/scripts/ emit JSON to stdout. Your job is to chain them together, surface decisions to the user via AskUserQuestion, and persist state to ${CLAUDE_PLUGIN_DATA}/config.json before any write.

Phase 1 — Discover

Run the read-only inspector and parse its JSON:

bash
bash ${CLAUDE_PLUGIN_ROOT}/skills/setup-aliases/scripts/discover.sh > /tmp/vibeproxy_discover.json

Then read /tmp/vibeproxy_discover.json. Key fields:

  • vibeproxy_installed, vibeproxy_reachable — see Onboarding gates below if either is false
  • user_overlay_exists, state_file_present — determines whether we are first-run or rerun
  • authenticated_backends — array of {token, config_key, display_name, auth_files}; see Onboarding gates below if empty or missing backends the user wants
  • claude_code_channel — {connected, account_count}; see Claude Code channel note below
  • managed_shell_aliases, managed_model_aliases, managed_payload_overrides, shortcut_shell_aliases — what the skill currently owns
  • backend_catalogs, partial_probe — cached probe results and any aborted probe cycle
  • conflicts — pre-existing cc-* entries that are not tracked in state (potential clashes); includes manual-shell-alias, manual-config-alias:<channel>, and manual-payload-override:<protocol> sources

Present a compact summary back to the user (do not dump raw JSON):

VibeProxy: installed ✓ | reachable ✓
Authenticated backends: codex, copilot, gravity, gemini (4/4)
Claude Code channel: not connected
Currently managed: 3 model aliases, 4 shell aliases, 1 shortcut
Manual conflicts detected: 0
State file: present (last probe 2 days ago)

If partial_probe is non-null, tell the user a previous run aborted mid-cycle and offer to resume or restart.

Claude Code channel note

If claude_code_channel.connected is false, append the following informational note after the summary. This is not a gate — setup continues regardless.

ℹ Claude Code channel is not connected in VibeProxy. Alias models work normally for main conversations. However, when ANTHROPIC_BASE_URL points to the proxy, Claude Code's internal requests also go through it — session title generation, /advisor, and sub-agents with model: haiku/sonnet all use raw Anthropic model IDs that have no matching provider in the proxy.

Without the Claude Code channel, these internal calls will fail silently. Main conversations using alias models are not affected.

VibeProxy's documentation notes that routing requests through OAuth tokens may carry account risk. Review their documentation before connecting any provider: https://github.com/automazeio/vibeproxy

Note: The OAuth login flow uses port 3000 for the callback — if a dev server is running on that port, the login will fail silently.

If claude_code_channel.connected is true, show Claude Code channel: connected (N accounts) in the summary and skip the note.

Onboarding gates

These gates run before Phase 2. If the user is fully set up (VibeProxy installed, running, and at least one backend authenticated), skip straight to Phase 2.

Gate 1 — VibeProxy not installed (vibeproxy_installed: false)

Tell the user:

VibeProxy is not installed. It's a local HTTP proxy that lets Claude Code use models from Codex, GitHub Copilot, Antigravity, Gemini, Qwen, and Z.AI GLM through a unified endpoint.

Install it from: https://github.com/automazeio/vibeproxy (macOS only)

After installing, launch VibeProxy from /Applications/VibeProxy.app and come back here.

Stop here. Do not proceed to Phase 2.

Gate 2 — VibeProxy not reachable (vibeproxy_installed: true, vibeproxy_reachable: false)

Tell the user:

VibeProxy is installed but not running. Launch it from the Applications folder or menu bar, then re-run /setup-aliases.

Stop here.

Gate 3 — No authenticated backends (authenticated_backends is empty)

Tell the user which backends are available and how to authenticate each one. Instruct them to authenticate all backends they subscribe to before coming back — not just one. The probe cycle configures backends one at a time, but authentication should be done upfront for all of them so the user doesn't have to re-run the skill each time they want to add another backend.

No backends are authenticated yet. VibeProxy supports these providers — each requires a paid subscription:

BackendHow to authenticate
CodexSettings → Codex → Connect (OAuth)
GitHub CopilotSettings → GitHub Copilot → Connect (OAuth)
AntigravitySettings → Antigravity → Connect (OAuth)
GeminiCLI login required (see below)
QwenSettings → Qwen → Connect (OAuth)
Z.AI GLMSettings → Z.AI GLM → Add Account (API key)

Open VibeProxy Settings from the menu bar icon and authenticate every backend you subscribe to, then re-run /setup-aliases.

Gemini OAuth workaround: The VibeProxy GUI cannot complete Gemini authentication — the OAuth flow succeeds in the browser but the account silently fails to register (GitHub #286, #242). Use the CLI instead:

bash
/Applications/VibeProxy.app/Contents/Resources/cli-proxy-api-plus \
  -login --config /Applications/VibeProxy.app/Contents/Resources/config.yaml

When prompted for login mode, choose 1 (Code Assist) for GCP projects or 2 (Google One) for personal Google One AI Premium subscriptions. After CLI login completes, VibeProxy will detect the new auth file automatically.

Stop here.

Gate 4 — Missing backends the user wants (some backends authenticated, user asks about others)

If the user mentions a specific backend that is not in authenticated_backends, tell them:

<backend> is not authenticated yet. Open the VibeProxy menu bar → <display_name> → Sign in. Once authenticated, re-run /setup-aliases and it will appear in the backend list.

This gate does not block — continue to Phase 2 with the backends that are available, but surface the gap so the user knows.

Phase 2 — Warn, then pick a mode

Before asking for the mode, note that the probe cycle will temporarily toggle backends in the VibeProxy menu bar. Active claude sessions may route through a different provider while backends are toggled. Recommend running this skill when they are not mid-work.

Then ask via AskUserQuestion:

  • Keep — inspect and report, no changes
  • Merge update — preserve current setup, apply incremental changes (may reuse cached catalogs ≤ 30 days old)
  • Add model — add a single model to an already-probed backend without re-probing (requires cached catalog)
  • Remove model — remove a single managed alias without re-probing
  • Reset and reconfigure — remove only skill-managed aliases and shell block, rebuild from scratch (always re-probes)

If the user chooses Keep, print the summary in more detail (including the currently managed canonical aliases and their models) and stop. No writes.

If the user chooses Add model, skip to Phase 5 using the cached catalog for the selected backend. No probe cycle needed — the user picks from cached models. If no catalog exists for the requested backend, fall back to a full probe for that backend only.

If the user chooses Remove model, show the current managed aliases and let the user pick which to remove. Skip Phases 3-5 entirely — go straight to Phase 7 (confirm) → Phase 8 (write) with the alias removed from state, config.yaml, and zshrc. No probe, no restart gate, no validation needed.

Phase 3 — Backend selection

From authenticated_backends, ask the user via AskUserQuestion which backends they want to configure this run. Multi-select. Skip any backend that has no auth file — those are unreachable even if the user picks them.

Phase 4 — Probe cycle

This is the most interaction-heavy phase. For each selected backend, in sequence:

  1. Reuse cache? In Merge mode, if backend_catalogs[<token>].probed_at is within 30 days, offer the user the option to reuse instead of re-probing. Reset mode always re-probes. The user may override with "force refresh". When reusing a cached catalog, highlight models that were not in the previous catalog (new since last probe) by comparing against the prior state's backend_catalogs.
  2. Toggle prompt. Use AskUserQuestion to tell the user: "In the VibeProxy menu bar, disable all backends except <display_name>. Click done when only <display_name> is active." Wait for explicit confirmation. Do not require a full quit-and-relaunch upfront — a menu bar toggle is sufficient in most cases. If the verify step (step 5) returns reject due to stale state, escalate to a full restart (see step 5).
  3. Probe. Run bash ${CLAUDE_PLUGIN_ROOT}/skills/setup-aliases/scripts/probe_backend.sh <token> > /tmp/vibeproxy_probe_<token>.json
  4. Verify. Run python3 ${CLAUDE_PLUGIN_ROOT}/skills/setup-aliases/scripts/verify_probe.py --claimed <token> --claimed-channel-key <config_key> --all-channel-keys <comma-sep-list-of-all-authenticated-channel-keys> --probe-output /tmp/vibeproxy_probe_<token>.json > /tmp/vibeproxy_verify_<token>.json
  5. Act on verdict.
    • pass — accept this backend's catalog
    • warn — Layer 2 saw unknown_signatures; surface the specific model IDs to the user and ask whether to trust them before accepting
    • reject — show the reason from the verify output verbatim. On first rejection, escalate to a full restart: "The menu bar toggle didn't refresh the registry. Quit VibeProxy completely, then relaunch with only <display_name> enabled." Wait for confirmation, then loop back to step 3 (re-probe). Do not accept a rejected probe under any circumstance.
  6. Persist partial probe on abort. If the user aborts the cycle, write any completed backend catalogs into ${CLAUDE_PLUGIN_DATA}/config.json under partial_probe with a timestamp, then exit cleanly. The next invocation will offer to resume.

After all selected backends are probed, tell the user: "Probing complete. Re-enable all the backends you just probed — turn every toggle back on in the VibeProxy menu bar." Wait for confirmation before continuing to model selection.

Phase 5 — Model, effort, and shortcut selection

Read ${CLAUDE_PLUGIN_ROOT}/skills/setup-aliases/references/model-selection.md for the full model selection procedure: model family filtering, effort variant detection, canonical alias naming, protocol mapping, and shortcut generation.

Key rules (always in scope):

  • Filter out embedding models, router models, legacy models, and self-referential cc-* aliases from prior runs
  • Check references/effort-levels.md for effort levels; budget-based models get no effort variants
  • Canonical format: cc-<backend>-<model>[-<effort>]; shortcuts: cc-<2char>-<model>[-<effort>]
  • request_model = alias name (not upstream name); append (level) suffix for effort variants
  • payload.override only for codex/copilot backends; gravity/gemini/qwen/zai get shell-suffix only

Phase 6 — Conflict resolution and migration

First-run migration

When state_file_present is false and conflicts is non-empty, the user has pre-existing manual cc-* aliases that predate this skill. Before treating them as conflicts, offer a migration path:

  1. Analyze each conflict entry — extract the model name and effort level from the existing alias definition in the zshrc backup (the old ANTHROPIC_MODEL=... value).
  2. Present a summary: "You have N existing manual cc-* aliases. Would you like to migrate them into skill management? Migrated aliases will be recreated as shortcuts pointing to the new canonical names."
  3. For each manual alias the user wants to migrate, create a shortcut alias mapping the old name to the new canonical name (e.g., cc-codex-high → cc-codex-gpt54-high). The old manual definition will be replaced by the managed block.
  4. Manual aliases the user does NOT want to migrate remain as conflicts — handle per the conflict resolution below.

Conflict resolution

From Phase 1's conflicts array (minus any migrated aliases) plus any new name collisions you can predict against the computed canonical aliases, ask the user per conflict via AskUserQuestion:

  • Replace the pre-existing entry with the skill-managed version
  • Rename the canonical alias to avoid the collision
  • Skip this backend/model combination

Never silently overwrite a conflict.

Phase 7 — Final review and confirm

Show the user a complete change summary before any write:

  • canonical aliases to add (channel, model name, alias)
  • shortcut aliases to add
  • skill-managed entries to remove (from prior state)
  • manual entries that will be preserved untouched
  • backup paths that will be created under ${CLAUDE_PLUGIN_DATA}/backups/

Wait for explicit "yes, apply" via AskUserQuestion. Any other answer is a no-op exit.

Phase 8 — Persist state, then write files

Read ${CLAUDE_PLUGIN_ROOT}/skills/setup-aliases/references/write-guide.md for the full state schema, field meanings, and write order with script invocation examples.

Key rules (always in scope):

  • Write state file first, then config.yaml, then zshrc — crash between steps must leave consistent state
  • Pass discover.managed_model_aliases directly as prior_managed_aliases — same shape, no transform
  • name = upstream model ID, alias = routable cc-* name — reversing them silently corrupts the merge
  • If write_user_config.py returns ok: false, stop — no further writes
  • If write_zshrc.sh fails, rollback config.yaml from its backup path

Phase 9 — Restart gate

~/.cli-proxy-api/merged-config.yaml is regenerated only when VibeProxy launches. Validation before the restart will read a stale routing table and produce false negatives. Use AskUserQuestion with these exact steps:

  1. Quit VibeProxy completely from the menu bar
  2. Relaunch VibeProxy
  3. Enable all the backends you configured aliases for — turn every toggle on
  4. Click done when all configured backends are active

Do not skip this step. Do not proceed to validation before the user confirms.

Phase 10 — Per-alias validation

Each validation call sends a real (billable) inference request. If the user has many aliases, warn them about the per-alias cost before proceeding.

Critical: use the request_model value — the same model name the shell alias sends. With fork: false (default), the original upstream model name is replaced by the alias name in VibeProxy's registry. The alias name is the only routable name — sending the original upstream name (e.g., claude-opus-4-6-thinking or gpt-5.4) will fail with "unknown provider". For effort-suffix models, the shell alias sends the alias name with the effort suffix appended (e.g., cc-codex-gpt54-med(medium)), and VibeProxy parses the suffix at request time.

For each canonical alias, use its request_model field (the value that goes into ANTHROPIC_MODEL):

bash
curl -s -o /tmp/vp_val.json -w '%{http_code}\n' \
  -X POST http://localhost:8318/v1/chat/completions \
  -H 'content-type: application/json' \
  -d '{"model":"<REQUEST_MODEL>","max_tokens":16,"messages":[{"role":"user","content":"ping"}]}'

Where <REQUEST_MODEL> is the request_model field from canonical_aliases — always alias-based (e.g., cc-gravity-opus46 for base models, cc-codex-gpt54-med(medium) for effort models).

Use max_tokens:16 — many models enforce a minimum of 16 tokens and reject lower values.

Interpret:

  • HTTP 200 — model resolves through routing, upstream accepted the request. Pass.
  • HTTP 4xx with "model not found"-shaped error — model name is wrong or backend not active. Fail, trigger rollback.
  • HTTP 5xx — upstream outage unrelated to skill correctness. Log and continue; do not rollback for 5xx.

Do not enumerate /v1/models to check existence. /v1/models uses a Last-Write-Wins registry that collapses same-named aliases from lower-priority backends into a single listing entry. Enumeration produces false negatives that trigger unnecessary rollbacks.

Phase 11 — Success or rollback

On success, show the user the final cc-list output and tell them to source ~/.zshrc.

On any validation failure:

  1. Restore ~/.cli-proxy-api/config.yaml from write_user_config.py's reported backup path
  2. Restore ~/.zshrc from write_zshrc.sh's reported backup path
  3. Keep ${CLAUDE_PLUGIN_DATA}/config.json — it still reflects the user's approved selection and will re-identify managed entries on the next run
  4. Report which canonical aliases failed and the exact HTTP status codes
  5. Report the backup paths used
  6. Stop

Transactional rollback is the default because shell aliases and model aliases form a coupled unit. Partial rollback leaves a broken intermediate state that is harder to reason about than a clean "pre-run" state.

Gotchas

  • Discover never calls /v1/models. If you find yourself wanting more info than discover.sh returns, that means you want a probe — run Phase 4 explicitly, do not hack it into Phase 1.
  • One backend at a time during probe. If you ever call probe_backend.sh with more than one backend active in the VibeProxy UI, the Plus binary's registry collapses same-named models from lower-priority backends and you will get a silently truncated catalog. The verifier will catch this, but do not bypass it.
  • Toggle first, restart only on failure. Menu bar toggles are usually sufficient for probe isolation — a full quit-and-relaunch is disruptive and only needed when merged-config fails to regenerate. Always try a toggle first; escalate to restart only when Layer 1 verification rejects the probe.
  • type field is often absent. The Plus fork only emits type when ModelInfo.Type is non-empty. In practice, owned_by is the primary Layer 2 signature field. verify_probe.py handles this, but know it when reading its output — do not insist on type matching.
  • Write state before touching config.yaml or ~/.zshrc. If you crash between steps, a consistent state file with no matching writes is recoverable (next run detects drift). Writes without state are orphaned managed entries that nothing knows how to clean up.
  • Backup paths live in ${CLAUDE_PLUGIN_DATA}/backups/, not next to the original files. Keep them inside the plugin data directory so upgrades do not wipe them.
  • Never read ~/.cli-proxy-api/merged-config.yaml until after the restart gate. Before restart it is stale. The one exception is verify_probe.py during Phase 4 — that is intentional because the hot-reload path triggered by a menu-bar toggle regenerates merged-config in place, and Layer 1 reads exactly that regenerated state.
  • Do not preserve ambiguous shared model names. If the user picks gpt-5.4 from codex and also from copilot, generate cc-codex-gpt54-high and cc-copilot-gpt54-high as separate canonical aliases. Do not also create a bare gpt-5.4 alias, because that re-introduces the routing-priority ambiguity the probe cycle was designed to avoid.
  • 5xx is not a rollback trigger. If the upstream provider is down, the alias is still correctly configured. Log and keep going.
  • Validate with request_model, not the upstream name. With fork: false, the original upstream model name is gone from VibeProxy's registry — the alias name is the only routable name. Sending the original name (e.g., claude-opus-4-6-thinking or gpt-5.4) will fail with "unknown provider". For effort models, the alias name with the effort suffix (e.g., cc-codex-gpt54-med(medium)) is routable because suffix parsing resolves the base alias. Always use the request_model field from canonical_aliases.
  • request_model is always alias-based. Set request_model to the alias name for all models. For effort-suffix models, append the effort suffix to the alias name: cc-codex-gpt54-med(medium), not gpt-5.4(medium). The model field preserves the upstream name for documentation; request_model is what the shell actually sends.
  • Never add effort variants to budget-based models. Antigravity's reasoning models (claude-opus-4-6-thinking, claude-sonnet-4-6) already have built-in thinking via numeric budget suffixes. Adding discrete effort levels (low/medium/high) on top creates invalid, unroutable aliases. Check the effort levels map for "budget-based" before offering effort selection.
  • Effort variants are suffix-parsed, not registered. cc-codex-gpt54-med(medium) is not a separate model in VibeProxy's registry — it's cc-codex-gpt54-med with a (medium) suffix parsed at request time by the thinking layer. This means effort-variant aliases will never appear in /v1/models listings, and validating them requires sending the full suffixed name (e.g., cc-codex-gpt54-med(medium)) as the model in a chat-completions request.
  • payload.override and shell suffix coexist by design. The skill writes both for every effort-suffix alias in the codex/copilot scope: shell alias appends (level) (legacy path for shell callers), and payload.override injects reasoning.effort server-side (canonical path for IDE/direct-API callers that never set ANTHROPIC_MODEL). They resolve to the same level — redundant but harmless. The override is what makes IDE/Cursor/direct-API differentiation actually work; the shell suffix alone leaves those callers on the proxy default effort=medium regardless of which cc-*-high alias they sent. Out-of-scope backends (gravity, gemini, qwen, zai) get shell-suffix only — do not emit payload.override for them.
  • Override match key is (alias, protocol). write_user_config.py only manages payload.override blocks whose models array has exactly one entry with both name and protocol. Multi-model blocks and blocks missing protocol are preserved untouched. State must record both fields per override or cleanup will leave orphans.
  • Show ALL model families per backend. Do not filter Copilot to only Claude models, or Codex to only GPT models. The same model (e.g., gpt-5.4) can appear in multiple backends with different effort levels or routing. Show everything the probe returns; let the user choose.
  • Gemini OAuth fails silently through the GUI. The VibeProxy Settings UI triggers -login but cannot handle the interactive "Code Assist vs Google One" mode selection prompt, so the auth process completes in the browser but VibeProxy never registers the account. Always direct users to the CLI workaround: /Applications/VibeProxy.app/Contents/Resources/cli-proxy-api-plus -login --config /Applications/VibeProxy.app/Contents/Resources/config.yaml. This is a known upstream bug (#286, #242).
  • Token expiration has no automatic re-authentication. When an OAuth token expires and refresh fails after max retries, the proxy silently returns 502 for all requests through that credential. There is no auto-recovery — the user must re-authenticate manually in the VibeProxy menu bar (or via CLI). If a previously working alias suddenly returns 502 and the provider is not down, suggest the user check their auth status in VibeProxy Settings.
  • config.yaml hot-reloads, but merged-config.yaml only regenerates on restart. CLIProxyAPIPlus picks up config.yaml writes (including oauth-model-alias and payload.override) without a restart, so the on-disk source of truth is current immediately. merged-config.yaml — the file Phase 4 verification reads to cross-check menu-bar state — is regenerated only when VibeProxy launches or toggles. Always run the Phase 9 restart before Phase 10 validation; skipping it can produce false negatives against a stale routing table.
  • State file schema must match write_user_config.py stdin shape. ${CLAUDE_PLUGIN_DATA}/config.json managed_model_aliases entries use {channel, name=<upstream>, alias=<cc-*>, request_model, effort_value?, label?}. name is the upstream provider model; alias is the routable cc-* name. Reversing them (name=<cc-*>, no alias) makes write_user_config.py skip every entry as malformed — the merge becomes a silent no-op that returns {"added": [], "removed": [], "unchanged": []} and the existing aliases stay in config.yaml untouched. discover.sh migrates legacy entries on read; new writes always use the current schema.
  • OAuth callback uses port 3000. When connecting the Claude Code channel (or Codex) in VibeProxy, the OAuth flow starts a temporary callback server on port 3000. If a dev server (Next.js, Vite, etc.) is occupying that port, the login will fail silently. Users should stop conflicting servers before authenticating.

Scripts

FileRole
scripts/discover.shRead-only state snapshot → JSON
scripts/probe_backend.sh <token>Single-backend /v1/models probe → JSON
scripts/verify_probe.pyLayer 1 (merged-config cross-check) + Layer 2 (owned_by/type signature check) → verdict JSON
scripts/write_user_config.pyruamel.yaml merge writer for ~/.cli-proxy-api/config.yaml → JSON with backup path
scripts/write_zshrc.shMarker-delimited block writer for ~/.zshrc with generated cc-list → JSON with backup path

All scripts accept JSON on stdin or CLI args and emit JSON on stdout. None of them make irreversible changes without first creating a backup under ${CLAUDE_PLUGIN_DATA}/backups/.

Meegeleverde bestanden

Zolang de skill geladen is, leest het model deze bestanden als dat nodig is. Het model kan ze alleen lezen; ze worden nooit uitgevoerd.

Veelgestelde vragen

Wat doet de AI-skill Setup Aliases?

Discover, choose, and rewrite backend-specific VibeProxy cc-* aliases for Claude Code. Use when setting up, resetting, or auditing VibeProxy aliases for Codex, Copilot, Antigravity, Gemini, Qwen, or Z.AI GLM.

Waarom Setup Aliases gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. Setup Aliases bestaat uit gewone Markdown in plaats van aanbiederspecifieke code. Dezelfde skill werkt dus met GPT-5, Claude, Gemini, Grok of een lokaal model. Ook als je midden in een chat van model wisselt, blijft de skill werken. TypingMind werkt met je eigen API-sleutels, dus je betaalt aanbieders rechtstreeks in plaats van een abonnement per gebruikersplek af te sluiten. Je skills en chats blijven in je eigen opslag.

Hoe installeer ik Setup Aliases in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/LeeJuOh/claude-code-zero/tree/main/plugins/vibeproxy-kit/skills/setup-aliases. TypingMind leest het bestand SKILL.md, bundelt de bijbehorende bestanden en installeert het geheel als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen Setup Aliases gebruiken?

Elk model dat je in TypingMind koppelt. AI-skills bestaan uit gewone Markdown-instructies in plaats van aanbiederspecifieke code. GPT, Claude, Gemini, Grok en lokale modellen kunnen deze skill dus allemaal laden wanneer een verzoek erbij past.

Hoeveel AI-modellen kan ik met Setup Aliases gebruiken?

Zoveel als je wilt. Je kunt Setup Aliases gebruiken met elk model dat skills ondersteunt, zoals GPT, Claude, Gemini, Grok, DeepSeek, Mistral of Llama. Allemaal in TypingMind met je eigen API-sleutels.

Is de AI-skill Setup Aliases gratis?

Ja. Deze skill is door LeeJuOh op GitHub gepubliceerd onder de licentie MIT. Je betaalt alleen je eigen AI-aanbieder voor de tokens die je gebruikt.

Wat zijn AI-skills?

Een AI-skill is een herbruikbare bundel instructies die een AI-model leert hoe het één specifieke taak moet uitvoeren. De skill volgt het open Agent Skills-formaat: het bestand SKILL.md bevat de naam en beschrijving van de skill. Daarnaast kan de skill scripts, sjablonen of referentiebestanden bevatten die het model nodig heeft. Het model leest de instructies alleen als je verzoek bij de skill past. Een geïnstalleerde skill kost dus niets zolang deze niet wordt gebruikt.

Waarin verschillen AI-skills van plug-ins of MCP-servers?

Een plug-in of MCP-server geeft een model nieuwe tools om aan te roepen: code die ergens wordt uitgevoerd en een resultaat teruggeeft. Een AI-skill geeft het model juist kennis en een werkwijze: hoe het een taak moet aanpakken, welke stappen het moet volgen en hoe goede uitvoer eruitziet. Skills bestaan uit gewone Markdown en hebben dus geen server, API-sleutel of runtime nodig. Ze werken met elk model.

Bekijk alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇