glmlisted
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