Setup Aliasesのロゴ

Setup Aliases

コミュニティ
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.

概要

公開者LeeJuOh
リポジトリclaude-code-zero
スキル名setup-aliases
スター
53
フォーク
4
同梱ファイル
8
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 8個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    LeeJuOhがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Setup Aliases」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/LeeJuOh/claude-code-zero/tree/main/plugins/vibeproxy-kit/skills/setup-aliases
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

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
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでSetup Aliasesを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にSetup Aliasesを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Setup Aliasesは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

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/.

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「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.

TypingMindでSetup Aliasesを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Setup Aliasesはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにSetup Aliasesをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/LeeJuOh/claude-code-zero/tree/main/plugins/vibeproxy-kit/skills/setup-aliasesを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Setup Aliasesを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Setup Aliasesで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもSetup Aliasesを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Setup Aliases」は無料ですか?

はい。LeeJuOhがMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇