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 faeton/claude-grok-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/skills/faeton/claude-grok-plugin/grok-cli-runtime)<a href="https://agentmods.dev/skills/faeton/claude-grok-plugin/grok-cli-runtime"><img src="https://agentmods.dev/badge/skills/faeton/claude-grok-plugin/grok-cli-runtime/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/skills/faeton/claude-grok-plugin/grok-cli-runtime"><img src="https://agentmods.dev/badge/skills/faeton/claude-grok-plugin/grok-cli-runtime.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.00019 | $0.00982 |
| Opus 5.5 | $0.00008 | $0.00393 |
| Sonnet 5.5 | $0.00004 | $0.00196 |
| Haiku 4.5 | $0.00002 | $0.00098 |
Grade A, and why
grok-cli-runtime 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 1mo 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
Grok Runtime
Use this skill only inside the grok:grok-consult subagent (and when reasoning about how grok commands shell out).
Primary helpers (one Bash call each, never combined):
node "${CLAUDE_PLUGIN_ROOT}/scripts/grok-companion.mjs" consult [flags] -- <question>node "${CLAUDE_PLUGIN_ROOT}/scripts/grok-companion.mjs" review [flags]node "${CLAUDE_PLUGIN_ROOT}/scripts/grok-companion.mjs" adversarial-review [flags] [focus text]
Execution rules:
- The subagent is a forwarder, not an orchestrator. Invoke exactly once and return stdout unchanged.
- Prefer the helper over hand-rolled
git, rawgrokstrings, or any other Bash activity. - Always read-only. The companion allowlists grok's read-only tools (
read_file,grep,list_dir, plus web search/fetch for consult), removes the mutating and MCP tools, deniesWrite/Edit/Bash/MCPTool, refuses anything that would need approval (--permission-mode dontAsk), runs grok under the OSread-onlysandbox (and stops the run if the sandbox cannot be applied; on Linux withoutbwrapit runs unsandboxed and the result carries a warning — relay it), disables subagents and memory, and supervises it with idle and wall-clock watchdogs. Never add flags that would re-enable editing, and never callgrokdirectly — that bypasses the safety wrapper. - Leave
--profile/--effort/--modelunset unless the user explicitly asked. The default profilefast(grok-4.7-build-fast, effortlow) finishes a typical review in about a minute;thrifty(grok-4.7,low) takes about twice as long on about half the subscription allowance;deep(grok-4.7,medium) is the thorough option when the user asks for a deeper or slower pass (4-15 minutes).GROK_PLUGIN_PROFILEsets the user's default;--model/--effortoverride any profile. The companion drops effort for models that do not support it. - Give the Bash call
timeout: 600000(10 minutes). Without it the Bash tool's default 2-minute cap cuts the run off, and Claude moves it to the background. The companion's own deadline is 8 minutes, so it always finishes and reports inside that window. - Shell-quote the question: pass it after
--inside single quotes (escape any embedded'as'\''), never in double quotes or bare —$(...), backticks and;in the text would otherwise run in the shell. - Always run the companion in the foreground — never pass the companion's
--background. Strip--wait/--backgroundfrom the natural-language task text. Backgrounding is the caller's job: the main thread runs this whole subagent viarun_in_backgroundwhen it wants async. The companion's--backgrounddetaches its own worker, which gets orphaned the moment this subagent returns and its process tree is torn down (the worker then reconciles tofailed/ "Worker process exited without finishing"). Foreground is the only safe mode inside the subagent.
Command selection:
- Free-form question or "what do you think of X" →
consult. Put the whole question after--. - "Review my changes / this diff / this branch" →
review(add--scope/--baseif the user specified). - "Review, and specifically hunt for " →
adversarial-review <X>. - Background jobs (created only by the direct
/grok:consult//grok:reviewslash commands, never by this subagent) are tracked: the user reads them back with/grok:status,/grok:result <id>,/grok:cancel <id>. Do not poll these yourself from the subagent.
Failure handling:
- If the companion says grok is missing/unauthenticated, return that verbatim and stop (point the user at
/grok:setup). - If it reports a timeout or
stopReasoncancellation, return that verbatim. Do not retry silently or answer yourself.
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.
- 1mo ago Changed · +2 lines 422931be8b0c
- 3mo ago First seen · 32 lines · 19 tokens per session scan A c9019f06dc50
grok-cli-runtime is a skill published in the GitHub repository faeton/claude-grok-plugin (1 stars, last pushed 1mo ago), licensed MIT. It adds 19 tokens to every session and 982 once invoked, about $0.0001 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-31.
grok-cli-runtime compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| grok-cli-runtimefaeton/claude-grok-plugin | Skill | 1 | 1mo ago | MIT | A | 19 | Claude Code |
| grok-promptingdavit-khaburdzania/grok-plugin-cc | Skill | 1 | 3mo ago | Apache-2.0 | A | 31 | Claude Code |
| grok-result-handlingdavit-khaburdzania/grok-plugin-cc | Skill | 1 | 3mo ago | Apache-2.0 | A | 18 | Claude Code |
| brooks-sweephyhmrright/brooks-lint | Skill | 1.6k | today | MIT | A | 178 | Claude Code |
| critical-code-reviewerposit-dev/skills | Skill | 578 | 20d ago | MIT | A | 67 | Claude Code |
| pr-reviewnitinjain999/platform-skills | Skill | 74 | 2d ago | Apache-2.0 | A | 81 | Claude Code |
| skill-distilleriliaal/whetstone | Skill | 37 | yesterday | MIT | A | 91 | Claude Code |