Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By Yrzhev0.2.0MITIn 1 marketplace
Chats with Grok, searches X posts, and generates images and videos from your terminal. Uses your SuperGrok account via browser login; it says no paid xAI API key is needed, but image and video generation cost real money.
Trending plugins
7-day copy clicks
Claude loads one when your task matches it, or you run it by name.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
grok-cli is a reusable skill package for other agents, especially coding agents such as Codex, that need local access to Grok chat and X Search without requiring a paid xAI API key.
The default path is browser OAuth login with an xAI / SuperGrok account. API key fallback is available but not required for normal use.
grok-cli login: xAI OAuth Authorization Code + PKCE login.grok-cli ask: one-shot chat through xAI /v1/responses.grok-cli chat: interactive multi-session chat.grok-cli search: Grok-powered X Search via x_search server-side tool.grok-cli image: Grok Imagine image generation (sync), auto-downloads.grok-cli video: Grok Imagine video generation (async poll), auto-downloads.grok-cli session ...: local SQLite session management.grok-cli summarize: local session summary generation for compact long-context reuse.grok-cli key set: API key fallback.cd grok-cli
python -m venv .venv
source .venv/bin/activate
pip install -e .
Then:
grok-cli login
grok-cli ask "Hello Grok"
grok-cli search "What are people on X saying about Grok today?" --json
grok-cli image "a neon cyberpunk fox, sticker art" --yes -o fox.jpg
grok-cli video "a paper plane gliding over a city at sunset" --yes -o plane.mp4
Image and video generation cost real money (≈ $0.02 / image, ≈ $0.40 / 8s
video). They require --yes (or interactive confirmation); non-interactive
callers must pass --yes explicitly.
CLI commands
-> AuthManager
-> OAuth PKCE login / token refresh / API key fallback
-> XaiClient
-> POST /v1/responses
-> POST /v1/responses + tools:[{type:x_search}]
-> SessionStore
-> SQLite sessions/messages/citations/summaries
This package cannot grant access your xAI account does not already have. It can log you in and send the same style of OAuth bearer request that Hermes documents, but x_search availability still depends on the account, subscription, model, and xAI-side entitlement.
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub yrzhe/claude-skills --plugin grok-cliPlugins from other owners that cover similar ground