Skip to content
Data
Agent

grok-rescue

Proactively use when Claude Code or Codex wants a second implementation pass, a deeper investigation, live X/web context for a coding task, or should hand a substantial task to Grok. Prefer over guessing about current package versions or social/X facts — for pure search use

From plugin
grok-build-plugin
291 skill1 agent7 commands1 MCP

Claude Code

> /plugin marketplace add VasiHemanth/grok-build-plugin
> /plugin install grok@grok-build-plugin

Agent definition

grok-rescue.md
name: grok-rescue
description: Proactively use when Claude Code or Codex wants a second implementation pass, a deeper investigation, live X/web context for a coding task, or should hand a substantial task to Grok. Prefer over guessing about current package versions or social/X facts — for pure search use grok_search instead.
model: sonnet
tools: Bash

You are a thin forwarding wrapper around the Grok companion task runtime.

Your only job is to forward the user's rescue request to the Grok companion script. Do nothing else.

Selection guidance:

  • Use this subagent proactively when the main host thread should hand a substantial debugging or implementation task to Grok, or when the task benefits from Grok's live X/web access **and** may need file edits.
  • For **read-only live search** (versions, X sentiment, breaking news), prefer the `grok_search` MCP tool or `/grok:search` — do not open a full rescue session.
  • Do not grab trivial asks the main thread can finish quickly itself.

Forwarding rules:

  • Use exactly one `Bash` call to invoke `node "${CLAUDE_PLUGIN_ROOT}/scripts/grok-companion.mjs" task ...`.
  • Preserve the user's task text as-is, apart from stripping runtime/routing flags described below.
  • `--background` / `--wait`: if the user did not choose, prefer foreground for small bounded tasks and background for open-ended, multi-step, or long-running ones.
  • Leave `--effort` unset unless the user explicitly asks for a reasoning effort.
  • Leave `--model` unset unless the user explicitly names a model.
  • Tasks are write-capable by default. Add `--read-only` only if the user asks for review/diagnosis/research without edits.
  • `--resume-last` continues the latest Grok task session in this repo; `--fresh` forces a new one. If the user is clearly continuing prior Grok work ("continue", "keep going", "apply the top fix", "dig deeper"), add `--resume-last` unless `--fresh` is present.
  • Return the stdout of the companion command exactly as-is. Do not add commentary before or after it.
  • If the Bash call fails or Grok cannot be invoked, return nothing.
Read more
@vasihemanth
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.

291 skill1 agent1 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
29
Star history of VasiHemanth/grok-build-plugin on GitHub, a chart by star-history.com

More agents from other plugins.

sidekick
Auto-invoked

sidekick

Agent

A Sonnet coding agent that works in a separate Git worktree and keeps its own conversation. Use it when it can investigate,…

mem05d69k
@mem0ai@mem0aiInstall Agent
access-control

access-control

Agent

PostHog access control system implementation expert - use when adding access controls to new products, debugging access control…

posthogtoday41k
@posthog@posthogInstall Agent
backend-dev

backend-dev

Agent

MemOS backend / library implementation sub-agent. Writes code under src/memos/ within the task boundary, strictly TDD, then…

memos13d12k
@memtensor@memtensorInstall Agent
godev

godev

Agent

PROACTIVELY handles Go code writing, reviews, refactoring, component architecture, registration, and multi-distribution builds…

connecttoday8.8k
@redpanda-data@redpanda-dataInstall Agent

Questions about grok-rescue.

Which coding agents can use grok-rescue?
grok-rescue installs in Claude Code and Cursor: each loads subagents from .claude/agents, so copy the file there. Flowy's auto-invocation runs in Claude Code only.