Getting it into your agent
This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.
/plugin marketplace add VasiHemanth/grok-build-plugin/plugin install grokWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/agents/vasihemanth/grok-build-plugin/grok-rescue)<a href="https://agentmods.dev/agents/vasihemanth/grok-build-plugin/grok-rescue"><img src="https://agentmods.dev/badge/agents/vasihemanth/grok-build-plugin/grok-rescue/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/agents/vasihemanth/grok-build-plugin/grok-rescue"><img src="https://agentmods.dev/badge/agents/vasihemanth/grok-build-plugin/grok-rescue.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00064 | $0.00475 |
| Opus 5.5 | $0.00026 | $0.00190 |
| Sonnet 5.5 | $0.00013 | $0.00095 |
| Haiku 4.5 | $0.00006 | $0.00047 |
Grade A, and why
grok-rescue scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
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_searchMCP 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
Bashcall to invokenode "${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
--effortunset unless the user explicitly asks for a reasoning effort. - Leave
--modelunset unless the user explicitly names a model. - Tasks are write-capable by default. Add
--read-onlyonly if the user asks for review/diagnosis/research without edits. --resume-lastcontinues the latest Grok task session in this repo;--freshforces a new one. If the user is clearly continuing prior Grok work ("continue", "keep going", "apply the top fix", "dig deeper"), add--resume-lastunless--freshis 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.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3mo ago First seen · 29 lines · 64 tokens per session scan A 83ed6875dd53
grok-rescue is an agent published in the GitHub repository VasiHemanth/grok-build-plugin (29 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 64 tokens to every session and 475 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
grok-rescue compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| grok-rescueVasiHemanth/grok-build-plugin | Agent | 29 | 2mo ago | Apache-2.0 | A | 64 | Claude Code |
| test-deduplicatornowsprinting/unity-coding-skills | Agent | 20 | yesterday | Unlicense | A | 83 | Claude Code |
| test-designernowsprinting/unity-coding-skills | Agent | 20 | yesterday | Unlicense | A | 161 | Claude Code |
| archcore-auditorarchcore-ai/plugin | Agent | 58 | 2mo ago | Apache-2.0 | B | 43 | Claude Code |
| reviewer-anthropicshindo107/plan-build-review | Agent | 2 | 27d ago | MIT | A | 47 | Claude Code |
| safari-technicalcleven12/tanzania-tourism-seo | Agent | 3 | 3mo ago | MIT | A | 44 | Claude Code |
| swiftlint-fixercarloshpdoc/ios-workflow-claude | Agent | 7 | 5mo ago | Apache-2.0 | A | 0 | Claude Code |