claudeers.
// Claude Plugins

grok-build-plugin-cc

Claude Code plugin that delegates reviews, rescue tasks, and session transfer to the Grok Build CLI

// Claude Plugins[ cli ][ api ][ claude ]#claude#pluginsApache-2.0$open-sourceupdated about 1 month ago
Actively maintained
97/100
last commit 18 days ago
last release none
releases 0
open issues 16
// star history+23 this week (+12.4%)

Install with your AI

Paste into Claude Code, Cursor, or any agent — it reads the repo and wires the tool into your project.

Install and set up grok-build-plugin-cc (claude-plugin project) into my current project.
Found on https://claudeers.com/grok-build-plugin-cc
Repo: https://github.com/xai-org/grok-build-plugin-cc
Homepage/docs: —
Detected install method: claude-plugin → /plugin install grok-build-plugin-cc@xai-org/grok-build-plugin-cc
Category: plugins. Platforms: cli, api.
Read the repo's README for exact setup and env vars, then install it and wire it into my project.

Claudeers Health Verdict:
active; community-verified: false. Confirm the source before running anything.
// or install directly (claude-plugin)
/plugin marketplace add xai-org/grok-build-plugin-cc
/plugin install grok-build-plugin-cc@xai-org/grok-build-plugin-cc
// or clone
git clone https://github.com/xai-org/grok-build-plugin-cc

// compatibility

Platformscli, api
Operating systems
AI compatibilityclaude
LicenseApache-2.0
Pricingopen-source
LanguageJavaScript

Grok Build ↔ Claude Code Bridge

Bridge Grok Build into Claude Code for review, critique, delegation, and session import.

This repository is a Claude Code marketplace plugin that shells out to the real grok CLI. Run status, results, and stop are owned by the plugin (PID + log files). There is no app-server broker.

Requirements

  • Node.js >= 18.18
  • Grok Build CLI (grok) on PATH, or set GROK_BINARY
  • A logged-in Grok CLI session (grok models succeeds)

Local install

From this repository root (path must be absolute):

# Resolve an absolute path to this clone, then add it as a local marketplace
claude plugin marketplace add "$(pwd)"
# example: claude plugin marketplace add /absolute/path/to/grok-build-plugin-cc

# Install the plugin from that marketplace
claude plugin install grok-build@xai-grok-build

Or, when Claude Code is already open, use /plugin and add the local marketplace path, then install grok-build@xai-grok-build.

Check readiness

/grok-build:check

Ready means: Node is available, grok is available, and soft auth via grok models succeeds.

Commands

/grok-build:check

Probe Node + Grok CLI availability and authentication.

/grok-build:review

Read-only review of local git state:

/grok-build:review --wait
/grok-build:review --background --scope working-tree
/grok-build:review --base main
/grok-build:review --wait --model grok-build --effort high

Runs:

grok -p <prompt> --agent explore --permission-mode plan --sandbox read-only --cwd <ws> --output-format plain

Optional: pass --model / --effort (low|medium|high). If omitted, Grok chooses defaults.

/grok-build:critique

Same target selection as review, with a design/risk critique prompt and structured JSON output when possible:

/grok-build:critique --wait
/grok-build:critique --base main challenge whether this was the right caching and retry design
/grok-build:critique --wait --model grok-build --effort high focus on failure modes

Optional: same --model / --effort flags as review.

/grok-build:delegate

Delegate investigation or implementation to Grok via the grok-build:grok-delegate subagent:

/grok-build:delegate investigate the flaky test in auth
/grok-build:delegate --resume apply the top fix
/grok-build:delegate --model grok-build --effort high fix the race

Write policy layering:

LayerDefault
Bridge run CLIRead-only (--permission-mode plan + --sandbox read-only) unless you pass --write
Delegate agent / skillAdds --write by policy (write-capable delegate) unless the user asks for read-only
  • Direct node …/grok-bridge.mjs run "…" is therefore read-only unless --write is passed.
  • --resume / --resume-last continues the last stored Grok session id via grok -r <id>.
  • Prefer bridge --background for long work so runs record both bridgePid (Node worker) and agentPid (grok child).
  • /grok-build:stop terminates both process trees when present (agent then bridge/worker).
  • If you do not pass --model or --effort, Grok chooses its own defaults.

/grok-build:import

Import the current Claude transcript into Grok:

/grok-build:import
/grok-build:import --source ~/.claude/projects/.../session.jsonl

Uses grok import and prints a resume hint: grok -r <id>.

/grok-build:runs

List active and recent plugin-owned runs:

/grok-build:runs
/grok-build:runs <run-id> --wait

/grok-build:show

Show stored output for a finished run:

/grok-build:show
/grok-build:show <run-id>

/grok-build:stop

Stop an active run by terminating tracked process trees:

/grok-build:stop
/grok-build:stop <run-id>

Kills every distinct pid among agentPid (detached grok child) and bridgePid / legacy companionPid / legacy pid (bridge or run-worker). Terminal status is claimed under a locked CAS so a finishing worker cannot overwrite cancelled with completed.

Environment

VariablePurpose
GROK_BINARYOptional override for the grok executable
GROK_CC_SESSION_IDClaude session id (set by SessionStart hook)
GROK_CC_TRANSCRIPT_PATHClaude transcript path (set by SessionStart hook)
CLAUDE_PLUGIN_ROOTPlugin install root (host)
CLAUDE_PLUGIN_DATAPlugin data root; state lives under .../state
CLAUDE_ENV_FILEHost env file for session hooks
CLAUDE_PROJECT_DIRProject directory from the host

State fallback when CLAUDE_PLUGIN_DATA is unset: $TMPDIR/grok-cc-runs.

Development

npm test

Tests use Node's built-in test runner and a fake grok binary on PATH. Runtime code uses Node stdlib only.

Version: 0.2.0.

License

Apache-2.0. See LICENSE and NOTICE.

// faq

What is grok-build-plugin-cc?

Claude Code plugin that delegates reviews, rescue tasks, and session transfer to the Grok Build CLI. It is open-source on GitHub.

Is grok-build-plugin-cc free to use?

grok-build-plugin-cc is open-source under the Apache-2.0 license, so it is free to use.

What category does grok-build-plugin-cc belong to?

grok-build-plugin-cc is listed under plugins in the Claudeers registry of Claude-compatible tools.

5 views
209 stars
unclaimed
updated about 1 month ago

// embed badge

grok-build-plugin-cc on Claudeers
[![Claudeers](https://claudeers.com/api/badge/grok-build-plugin-cc.svg)](https://claudeers.com/grok-build-plugin-cc)

// retro hit counter

grok-build-plugin-cc hit counter
[![Hits](https://claudeers.com/api/counter/grok-build-plugin-cc.svg)](https://claudeers.com/grok-build-plugin-cc)

// reviews

// guestbook

0/500

// related in Claude Plugins

🔓

A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.

// pluginsmultica-ai/203,096[ claude ]
🔓

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explainin…

// pluginsanthropics/Python141,574[ claude ]
🔓

"CLI-Anything: Making ALL Software Agent-Native" -- CLI-Hub: https://clianything.cc/

// pluginsHKUDS/Python47,363Apache-2.0[ claude ]
🔓

financial-services — a Claude ecosystem project on GitHub.

// pluginsanthropics/Python34,276Apache-2.0[ claude ]
→ see how grok-build-plugin-cc connects across the ecosystem