git404hub

what is grok-manager fr?

1296018244/grok-manager — explained in plain English

Analysis updated 2026-05-18

16GoAudience · ops devopsComplexity · 3/5LicenseSetup · moderate

tl;dr

A CLIProxyAPI plugin that health-checks a pool of xAI Grok credentials, automatically isolates broken ones, and can refresh them from a stored vault.

vibe map

mindmap
  root((grok-manager))
    What it does
      Health checks Grok accounts
      Isolates broken accounts
      Converts SSO credentials
    Tech stack
      Go
      CLIProxyAPI plugin
    Use cases
      Account pool monitoring
      Automatic isolation
      Admin panel view
    Audience
      Ops and devops
    License
      MIT permissive

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

what do people make with this?

VIBE 1

Monitor the health of a pool of xAI Grok API credentials running behind CLIProxyAPI.

VIBE 2

Automatically stop routing requests to a Grok credential that is rate limited or unauthorized until it recovers.

VIBE 3

Convert an SSO login cookie into a CLIProxyAPI compatible credential and keep a history of conversions.

VIBE 4

View and manage credential status through an admin panel without editing configuration files by hand.

what's the stack?

GoCLIProxyAPICGO

how it stacks up fr

1296018244/grok-manager787a68/hubproxyb404dev/gitm8
Stars161616
LanguageGoGoGo
Setup difficultymoderatemoderateeasy
Complexity3/53/52/5
Audienceops devopsops devopsdeveloper

Figures from each repo's GitHub metadata at analysis time.

how do i run it?

Difficulty · moderate time til it works · 30min

Requires an existing CLIProxyAPI installation and the matching prebuilt binary for your OS and architecture.

Use freely for any purpose, including commercial use, as long as you keep the copyright notice.

in plain english

grok-manager is a plugin for CLIProxyAPI, a self-hosted proxy server that lets people route requests to different AI providers through one interface. This particular plugin focuses only on xAI's Grok accounts, helping an operator who manages a pool of Grok credentials keep track of which ones are working. The plugin checks each Grok credential's health by making test requests and sorting the results into categories like healthy, unauthorized, payment required, forbidden, or rate limited. Accounts that come back with a bad status get automatically isolated so the system stops picking them for real requests until they recover. Different problems get different isolation lengths: an unauthorized account is set aside for 24 hours, a payment issue for 7 days, a forbidden response for 24 hours, and a rate-limited account for 2 hours before being retested. Isolated accounts are tracked by their email address so the same account is not isolated twice under different identifiers. A scheduler runs these health checks and isolation reviews on a repeating cycle, and can optionally attempt to automatically refresh an account's credentials from a stored vault when it hits an unauthorized error. The plugin also includes a feature to convert an SSO login cookie into the OAuth-style credential format that CLIProxyAPI expects, along with a history of past conversions that can be previewed or exported. All of this is exposed through a management API and a small panel embedded in CLIProxyAPI's existing admin interface, so an operator can see account status and trigger scans without editing files by hand. It ships as a prebuilt Windows or Linux dynamic library, or can be built from source with Go 1.22 or newer plus CGO enabled. The project only concerns itself with the xai provider inside CLIProxyAPI and does not touch other providers.

prompts (copy fr)

prompt 1
Walk me through installing this grok-manager plugin into my CLIProxyAPI plugins directory on Linux.
prompt 2
Explain how the isolation timing works for 401, 402, 403, and 429 responses in this plugin.
prompt 3
Help me build this plugin from source using Go 1.22 and CGO for a Linux arm64 host.
prompt 4
Show me the management API endpoints this plugin exposes for scanning and viewing account status.

Frequently asked questions

what is grok-manager fr?

A CLIProxyAPI plugin that health-checks a pool of xAI Grok credentials, automatically isolates broken ones, and can refresh them from a stored vault.

What language is grok-manager written in?

Mainly Go. The stack also includes Go, CLIProxyAPI, CGO.

What license does grok-manager use?

Use freely for any purpose, including commercial use, as long as you keep the copyright notice.

How hard is grok-manager to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is grok-manager for?

Mainly ops devops.

peek the repo → explain another one

This repo across BitVibe Labs

double-check against the repo, no cap.