← ClaudeAtlas

glmlisted

Start/check/change Databricks GLM-5-2 local patch proxy and switch agents to databricks-glm. Use when user says /glm, /glm change, /glm config, "use glm", "start glm", "databricks glm", "glm proxy", "change glm token", "glm base url", "switch to glm", or hits serialization error missing field `model` with GLM.
Drvivek34/Skill-Bazaar · ★ 0 · AI & Automation · score 64
Install: claude install-skill Drvivek34/Skill-Bazaar
# Databricks GLM (`/glm`) Make coding agents use **Databricks-hosted GLM** with **full tool calling** via a local patch proxy. ## Why a proxy Databricks SSE often omits `"model"` on **tool_calls** chunks. Strict clients fail with `serialization error: missing field model`. Proxy on `127.0.0.1:8787` injects `model`. ## Paths | Item | Path | |------|------| | Proxy | `~/.grok/proxies/databricks_glm_proxy.py` | | Durable config | `~/.grok/proxies/glm.env` (tokens — **never commit**) | | Ensure | `~/.grok/proxies/ensure-proxy.ps1` / `ensure-proxy.sh` | | **Change config** | `~/.grok/proxies/change-config.ps1` / `change-config.sh` | | Grok model id | `databricks-glm` | | Auth | `DATABRICKS_TOKEN` + `glm.env` | --- ## Arguments | Arg | Action | |-----|--------| | (none) / `start` | Ensure proxy + remind `/model databricks-glm` | | `status` | Show masked token, upstream, model, port, listening? | | `stop` | Kill listener on proxy port (confirm first) | | `switch` | Remind model switch only | | **`change` / `config`** | **Interactive: ask user for token, URLs, model; save + restart proxy** | | `install` | Re-run package install | --- ## `/glm change` (or `/glm config`) — REQUIRED FLOW When user runs **`/glm change`**, **`/glm config`**, or asks to change token / base URL / model: ### A. Collect settings (ask the user — do not invent secrets) Ask **one field at a time** (chat or structured questions). Show **current** values first via status (mask token). 1. **Access tok