Skip to content
Data
Command

/setup

Check whether the local Grok CLI is installed and authenticated

From plugin
grok-build-plugin
257 skills1 agent7 commands
Install
$ npx -y skills add VasiHemanth/grok-build-plugin --agent claude-code

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/setup

Context preview

What this command does when you run it.

Check whether the local Grok CLI is installed and authenticated

Command definition

setup.md
description: Check whether the local Grok CLI is installed and authenticated
argument-hint: ""
allowed-tools: Bash(node:*)

Run:

node "${CLAUDE_PLUGIN_ROOT}/scripts/grok-companion.mjs" setup --json

Then present a short, friendly summary of the result to the user:

  • If `available` is false: tell them the Grok CLI was not found and to install it from https://docs.x.ai (or set `GROK_BIN` to the binary path), then rerun `/grok:setup`.
  • If `available` is true but `loggedIn` is false: tell them Grok is installed but not signed in, and to run `!grok login`, then rerun `/grok:setup`.
  • If both are true: confirm Grok is ready and report the account and default model.

Do not run any other commands.

Ships withgrok-build-plugin

Want Claude Code, Codex, or Cursor to drive Grok Build? If you already pay for a Grok subscription, this gives any of those agents live X search and data right in their context. A couple of ways to wire it up.

Get the whole plugin, auto-invoked
Stats
25
Stars
0
Views
4
Forks
Active
Maintenance
JavaScript
Language
Apache-2.0
License
16d ago
Last commit
2mo ago
Created

Repo: VasiHemanth/grok-build-plugin