其他

xai-grok-onboarding

starchild-ai-agent/official-skills

Connect an xAI account (X Premium / X Premium+ / SuperGrok / SuperGrok Heavy) via OAuth 2.0 device-code login. Use when the user wants to sign in with their xAI account (e.g. "use my SuperGrok", "log in with Grok", "connect my X Premium").

  • 2329 次安装
  • 29 星标
  • 收录于

安装命令

npx skills add https://github.com/starchild-ai-agent/official-skills --skill xai-grok-onboarding

SKILL.md

🟢 xAI OAuth Onboarding

Use any active xAI account — X Premium, X Premium+, SuperGrok, or SuperGrok Heavy — for grok-4.3, grok-build-0.1, grok-4.20-* and multi-agent models. No separate API key needed.

This is standard OAuth 2.0 (RFC 8628 Device Authorization Grant), not a vendor-custom flow.

Tier → model access

The JWT issued by auth.x.ai carries a tier claim; higher tiers unlock more models from /v1/models. Observed mapping (xAI does not publish this officially):

Tier Subscription Approx. model access
1 X Premium ($8/mo) grok-4.3 baseline
2 X Premium+ ($16/mo) + grok-4.20-0309 variants
3 SuperGrok ($30/mo) + reasoning models
4 SuperGrok Heavy ($300/mo) + grok-build-0.1 + multi-agent

status() reports the user's tier so they know which models will be available.