dsh-grok-auth
Run the following command in DeepSeek Harness:
dsh plugin install Gyanano/dsh-grok-auth
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install Gyanano/dsh-grok-auth in the DeepSeek Harness terminal to install the plugin; the source repository is at https://github.com/Gyanano/dsh-grok-auth.
About this plugin
Using Grok 4.x in DeepSeek Harness normally means provisioning a separate xAI API key and paying per token. dsh-grok-auth reroutes that LLM path through the SuperGrok / X Premium subscription you already hold: it reads the OAuth credential managed by the official Grok CLI (~/.grok/auth.json), handles token refresh and renewal entirely on the host side, and issues OpenAI-compatible requests to api.x.ai—no extra API key required.
Two login flows cover different environments. The browser PKCE flow delegates the whole ceremony to the official CLI; the device-code flow (RFC 8628) runs inside the Host and displays the user code and verification link directly on the settings card, so headless machines never need a CLI installed. Token values stay strictly host-side, appear only as a Bearer header in outgoing requests, and never leak into browser output, logs, session events, or tool metadata. With liveModels enabled by default, the plugin overlays your account real GET /v1/models listing onto the static pi-ai catalog, surfacing newly released Grok models the moment they hit the wire.
This plugin is aimed at individual developers who already subscribe to SuperGrok or X Premium and want zero-marginal-cost Grok 4.x access inside DeepSeek Harness. Because the subscription OAuth surface is an unofficial, revocable channel with no long-term availability guarantee from xAI for third-party clients, treat it as a personal-development convenience rather than a production workload dependency.
Use Cases
- Use Grok 4.x models in DeepSeek Harness via SuperGrok subscription without a separate API key
- Complete Grok OAuth login on headless machines through the device-code flow
- Overlay the account live model listing to invoke newly released Grok models missing from the static catalog
Best For
- Individual developers already on SuperGrok or X Premium
- Harness users who prefer subscription credits over a separate xAI API key
- Deployers needing Grok inference on headless or CI environments
Related Plugins
ModLens is a vision plugin for DeepSeek Harness that gives text-only models sight by reading images pasted directly into chat, with zero-config setup and multiple vision engines.
On-demand vision for text-only DeepSeek Harness agents: built-in free keyless vision chain and 14 vision tools, routing image turns as tool calls to vision models with pixel fidelity, no Python needed, one-command install.
Give text-only models in DeepSeek Harness eyes, enabling image Q&A, long-screenshot OCR, UI restoration, and GUI visual tasks.
An armor-breaking plugin for DeepSeek: rewrites instruction priority, expands refusal-blocked phrases, persists across sessions, and shows a green active indicator.