Moore-developers/grok-cli

OAuth-first CLI for Grok and xAI capabilities

52Stars on the repository
21Mods indexed here, across every type
19d agoLast push, which is what freshness is scored on
MITLicence, which decides whether bodies are shown

chat

01

Moore-developers/grok-cli

Command

Run text chat, summarization, reasoning, and Q&A through the Grok Responses API. General websearch is enabled by default, which makes the command useful for recent facts.

52 19d ago A 0 tokens original MIT

image

03

Moore-developers/grok-cli

Command

Command "image" from Moore-developers/grok-cli, covering grok-cli image, purpose, common usage, parameters and behavior.

52 19d ago A 0 tokens original MIT

index

04

Moore-developers/grok-cli

Command

This directory contains specs and usage notes for every public grok-cli command. Use this index for day-to-day command lookup. Deeper output examples and internal design notes live in ../reference/.

52 19d ago A 0 tokens original MIT

login

05

Moore-developers/grok-cli

Command

Start xAI OAuth PKCE login. By default, the command opens the system browser and exchanges the authorization code for tokens when the local loopback callback arrives.

52 19d ago A 0 tokens original MIT

logout

06

Moore-developers/grok-cli

Command

Delete the local OAuth state file so the CLI returns to an unauthenticated state.

52 19d ago A 0 tokens original MIT

model

07

Moore-developers/grok-cli

Command

Inspect and choose the shared default model for text commands. chat and search share the same default, so changing it once affects both.

52 19d ago A 0 tokens original MIT

refresh

08

Moore-developers/grok-cli

Command

Force a refresh of the saved access token by using the refresh token.

52 19d ago A 0 tokens original MIT

search

09

Moore-developers/grok-cli

Command

Search X through the Grok Responses API xsearch tool. This command is the dedicated X search entrypoint and is separate from the general websearch attached by default to chat.

52 19d ago A 0 tokens original MIT

state

10

Moore-developers/grok-cli

Command

Inspect a redacted summary of the local OAuth state file. state does not call the xAI network; it only reads local auth.json.

52 19d ago A 0 tokens original MIT

status

11

Moore-developers/grok-cli

Command

Check whether the current OAuth state is usable. The command does not make network requests; it only reads the local auth.json file and inspects token state, refresh token state, expiry, and error flags.

52 19d ago A 0 tokens original MIT

stt

13

Moore-developers/grok-cli

Command

Transcribe a local audio file or remote audio URL into text.

52 19d ago A 0 tokens original MIT

tts

14

Moore-developers/grok-cli

Command

Convert text to speech and save the audio locally.

52 19d ago A 0 tokens original MIT

update

15

Moore-developers/grok-cli

Command

Check the latest GitHub Release and update the local grok-cli binary when a newer version is available.

52 19d ago A 0 tokens original MIT

usage

16

Moore-developers/grok-cli

Command

Inspect local session usage. The command reads the SQLite session store and summarizes text, image, video, and audio usage, along with token, cost estimate, and context-length information.

52 19d ago A 0 tokens original MIT

video

19

Moore-developers/grok-cli

Command

Generate video with Grok Imagine, including text-to-video, image-to-video, and reference-image video.

52 19d ago A 0 tokens original MIT