Home / vasihemanth / grok-build-plugin · plugins/grok/skills/grok-runtime/SKILL.md · GitHub

grok-runtime skillA

grok-runtime is agent-read markdown (skill) from vasihemanth/grok-build-plugin: Internal helper contract for calling the grok-companion runtime from Claude Code or Codex. Reference when invoking the Grok companion script or the grok_search MCP tool..

Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.

What the file says

# Grok companion runtime

The Grok plugin wraps the local `grok` CLI's **headless mode** (`grok -p "<prompt>" --output-format json`). Grok manages its own session store under `~/.grok/sessions`, so the plugin does not run a separate server or broker.

Always invoke through the companion script so job tracking, prompt shaping, and tool filtering stay consistent:

```bash
node "${CLAUDE_PLUGIN_ROOT}/scripts/grok-companion.mjs" <subcommand> [flags] [text]
```

Or, for live search from any MCP-capable agent, call the `grok_search` tool (auto-wired when the plugin is installed; otherwise `npx -y grok-build-x-search-mcp`).

## When to use Grok (routing guidance for host agents)

| Need | Prefer |
| --- | --- |
| Live X sentiment, breaking news, "what are people saying" | `grok_search` / `/grok:search` |
| Current package/version/docs facts beyond training cutoff | `grok_search` / `/grok:search` |
| Second opinion code review on a diff | `/grok:review` |
| Substantial implement/debug pass with write access | `/grok:rescue` or `grok:grok-rescue` subagent |
| Trivial local edit the host can do in one step | **Do not** delegate — handle inline |

## Subcommands
…

Read the whole file at its exact version.

How to install

Latest version
mdr add vasihemanth/grok-build-plugin/grok-runtime@git:20260711.00eb3c9
Exact content
mdr add vasihemanth/grok-build-plugin/grok-runtime@sha256:b4ce7a339d80d16b

Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_skx5bcegagmuefme.svg)](https://markdownregistry.com/a/art_skx5bcegagmuefme)

1 badge views in 30 days

Versions

versioncommittedcommitsizeaudit
git:20260711.00eb3c9 latest2026-07-11 00eb3c9 3,335 BA view · diff
git:20260602.be544e12026-06-02 be544e1 2,157 BA view · diff
git:20260602.240ad142026-06-02 240ad14 2,157 BA view

Audit of the latest version

A  17 of 17 checks passed. Deterministic, no model, same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (3335 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

vasihemanth/grok-build-plugin · 30 stars · license Apache-2.0 · pushed 2026-09-19 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_skx5bcegagmuefme
GET https://markdownregistry.com/api/v1/resolve?ref=vasihemanth/grok-build-plugin/grok-runtime
GET https://markdownregistry.com/api/v1/blob/b4ce7a339d80d16bae58e7e9a5210d1746b6af389ff792afc902d095f7435a9c

Your agent does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Browse by kind, by grade A, or by owner.