setup-aliases

Solid

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.

AI & Automation 48 stars 5 forks Updated 1 weeks ago MIT

Install

View on GitHub

Quality Score: 84/100

Stars 20%
56
Recency 20%
90
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# 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_al...

Details

Author
LeeJuOh
Repository
LeeJuOh/claude-code-zero
Created
6 months ago
Last Updated
1 weeks ago
Language
JavaScript
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category