Home / okisdev / claude-code-fusion · plugins/grok/skills/grok-cli-runtime/SKILL.md · GitHub

grok-cli-runtime skillB

grok-cli-runtime is agent-read markdown (skill) from okisdev/claude-code-fusion: Internal helper contract for calling the grok-companion runtime from Claude Code.

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 runtime

Primary helper:

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

Subcommand surface:

- `task [--prompt-file <path>] [--write] [--web] [--memory] [--background] [--resume <uuid>] [--resume-last] [--fresh] [--model <id>] [--effort <level>] [--max-turns <n>] [--cwd <dir>] [--json-schema <schema>] [--json] [--] [prompt]`
- The upstream Grok CLI has no default turn limit. An unset limit is unlimited, and one turn is one main-agent model call plus its tool cycle, excluding subagent calls. The companion defaults consult and write to `--max-turns 60`; consult previously defaulted to 25. When the limit is reached, Grok prints the complete final JSON envelope to stdout, including partial text, usage, `num_turns`, and `modelUsage`, then exits 1 with stderr `Error: max turns reached`. The companion salvages that envelope and records `failureKind: "turn_limit"`.
- Grok headless JSON has no top-level `model` field. Model names are available only as keys in `modelUsage` when usage attaches, so model capture depends on that map and on error-path salvage. Missing `modelUsage` leaves the resolved model unavailable.
…

Read the whole file at its exact version.

How to install

Latest version
mdr add okisdev/claude-code-fusion/grok-cli-runtime@git:20260914.7162c29
Exact content
mdr add okisdev/claude-code-fusion/grok-cli-runtime@sha256:a660daa7d8d0eecc

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_vv3aqctcocoqet4i.svg)](https://markdownregistry.com/a/art_vv3aqctcocoqet4i)

1 badge views in 30 days

Versions

versioncommittedcommitsizeaudit
git:20260914.7162c29 latest2026-09-14 7162c29 21,081 BB view · diff
git:20260901.4e8c2cb2026-09-01 4e8c2cb 19,921 BB view · diff
git:20260813.2cf25d92026-08-13 2cf25d9 19,920 BB view · diff
git:20260807.d13beb62026-08-07 d13beb6 19,920 BB view · diff
git:20260801.51a49fa2026-08-01 51a49fa 19,527 BB view

Audit of the latest version

B  16 of 17 checks passed. Deterministic, no model, same answer every run.
  • fail: No instruction to read or print local credentials (matched: Read denies for `auth.json`, `mcp_credentials.json)
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (21081 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 base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

okisdev/claude-code-fusion · 3 stars · license MIT · pushed 2026-09-20 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_vv3aqctcocoqet4i
GET https://markdownregistry.com/api/v1/resolve?ref=okisdev/claude-code-fusion/grok-cli-runtime
GET https://markdownregistry.com/api/v1/blob/a660daa7d8d0eecc6ee993688b2f34a72df8347861b103dc1fb0a5fe5dbfe3bf

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.

More from okisdev/claude-code-fusion

adversarial-review skill
okisdev/claude-code-fusion · plugins/codex/skills/adversarial-review/SKILL.md · Runs a read only Codex review that challenges implementation and design decisions. Use when preparing to merge a…
git:20260722.ded22f9 · audit A · 3 stars
cancel skill
okisdev/claude-code-fusion · plugins/codex/skills/cancel/SKILL.md · Cancels an active Codex job. Use when a running job must be stopped.
git:20260718.2e5dcfa · audit A · 3 stars
codex-cli-runtime skill
okisdev/claude-code-fusion · plugins/codex/skills/codex-cli-runtime/SKILL.md · Internal contract for invoking the Codex companion runtime.
git:20260914.ac8a355 · audit A · 3 stars
codex-result-handling skill
okisdev/claude-code-fusion · plugins/codex/skills/codex-result-handling/SKILL.md · Internal contract for returning Codex companion output without alteration.
git:20260728.b1e1ae6 · audit A · 3 stars
history skill
okisdev/claude-code-fusion · plugins/codex/skills/history/SKILL.md · Lists canonical local Codex companion history with resumable thread IDs. Use when resuming or auditing past Codex work.
git:20260718.2e5dcfa · audit A · 3 stars
rescue skill
okisdev/claude-code-fusion · plugins/codex/skills/rescue/SKILL.md · Forwards a request to the Codex rescue agent without exposing arguments to a shell. Use when Fusion routing or the user…
git:20260728.b1e1ae6 · audit A · 3 stars
result skill
okisdev/claude-code-fusion · plugins/codex/skills/result/SKILL.md · Shows or waits for a stored Codex job result. Use when collecting a background Codex job named by ID.
git:20260718.2e5dcfa · audit A · 3 stars
review skill
okisdev/claude-code-fusion · plugins/codex/skills/review/SKILL.md · Runs a read only Codex review of local Git state. Use when the user wants Codex to review uncommitted or branch changes.
git:20260722.ded22f9 · audit A · 3 stars
setup skill
okisdev/claude-code-fusion · plugins/codex/skills/setup/SKILL.md · Checks whether the local Codex runtime is ready. Use when installing for the first time, after a CLI upgrade, or after…
git:20260718.2e5dcfa · audit A · 3 stars
status skill
okisdev/claude-code-fusion · plugins/codex/skills/status/SKILL.md · Shows active and recent Codex jobs. Use when asked what Codex is doing or whether a job is still running.
git:20260718.2e5dcfa · audit A · 3 stars
task skill
okisdev/claude-code-fusion · plugins/codex/skills/task/SKILL.md · Runs a Codex task through the companion runtime. Use when delegating a bounded implementation, investigation, or…
git:20260728.b1e1ae6 · audit A · 3 stars
config skill
okisdev/claude-code-fusion · plugins/fusion/skills/config/SKILL.md · Configures model defaults, capability scores, and orchestration posture across the Claude, Grok, and Codex…
git:20260802.7b9a0cd · audit A · 3 stars

Every file in okisdev/claude-code-fusion

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