Supercharging DeepSeek Harness: Bringing Claude Pro/Max with One‑Click Google/Gmail OAuth Login and Real‑Time Quota Tracking
Description and use
The dsh‑claude‑oauth plugin streamlines Claude Pro/Max integration into DeepSeek Harness with one‑click Google/Gmail OAuth, auto‑refreshing tokens, and live quota monitoring.
Problem
AI developers using DeepSeek Harness (DSH) struggle to authenticate their Claude Pro/Max subscriptions, which rely on browser OAuth rather than API keys, leading to manual token handling, silent expiry, and lack of native UI.
Outcome
The plugin removes manual token handling, provides a seamless Google/Gmail sign‑in experience, keeps tokens refreshed, and offers live quota monitoring, greatly improving developer productivity in DSH.
Workflow
- Install the plugin via
dsh plugin --profile web add github:grloper/dsh-claude-oauth - Open DSH Web and navigate to Settings → Claude Settings
- Click "Sign in with Google / Gmail" to trigger the PKCE loopback flow
- Authorize on Claude’s OAuth page and select Gmail account
- The plugin exchanges the code for tokens, retrieves subscription tier, and writes credentials to
~/.claude/.credentials.json,~/.dsh/.credentials.yaml, and other stores - The plugin performs a lightweight probe to fetch real‑time 5‑hour and 7‑day quota usage and displays progress bars in Settings
Evidence
The plugin adds a native Settings section with one‑click Google / Gmail sign‑in, auto‑refreshing tokens, live model discovery, and real‑time subscription quota bars.
The loopback server verifies the state, exchanges the authorization code for tokens via https://claude.ai/v1/oauth/token, and queries https://api.anthropic.com/api/oauth/profile to retrieve the user's Gmail address and subscription tier.
- Record date: 2026-09-12T20:00:32.900Z