بنقرة واحدة
status
Read a Grok run by id: finished envelope, or running progress if still in progress (read-only)
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Read a Grok run by id: finished envelope, or running progress if still in progress (read-only)
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Use when the user says to use Grok, wants a Grok review, wants a second opinion from Grok, or asks to delegate a task to Grok. Also use for getting an independent code review from Grok, having Grok reason about an architecture or debugging question, having Grok implement code (live tree by default, or opt-in isolated worktree), or having Grok independently verify someone else's implementation. Trigger phrases include "use grok", "grok review", "second opinion from grok", and "delegate to grok".
Check Grok readiness and optionally toggle stop gate / run mode / Codex agents scope (Codex agents auto-install on SessionStart)
Have Grok implement code (default: live tree; opt-in isolated worktree). Nothing is committed or pushed
One-call delegate: Grok code then auto-handoff verification (verify-only; mode-aware integrate elsewhere)
ACP multi-turn peer channel (start/prompt/stop). Default peer path; opt out with GROK_DISABLE_ACP=1
Read a verified implementation handoff for a completed Grok code run (runId only; no apply)
| name | status |
| description | Read a Grok run by id: finished envelope, or running progress if still in progress (read-only) |
| argument-hint | [--run-id <run-id> | <run-id>] |
| allowed-tools | Bash(node:*) |
SKILL.md and run.mjs).SKILL_BASE to that path. Do not invent versioned cache paths.SKILL_BASE='<Base directory for this skill - absolute path from Skill tool>'
node "$SKILL_BASE/run.mjs" <mode> [args...]
run.mjs finds the plugin install from its own location and runs
scripts/grok-companion.mjs. No CLAUDE_PLUGIN_ROOT / PLUGIN_ROOT required.
If the host already exported CLAUDE_PLUGIN_ROOT or PLUGIN_ROOT, you may call
node "$CLAUDE_PLUGIN_ROOT/scripts/grok-companion.mjs" instead; prefer
"$SKILL_BASE/run.mjs" whenever the Skill tool loaded this skill.
Return companion stdout verbatim. Never put free-text in --task "...";
use --task-file - with a single-quoted heredoc.
Read a Grok run by id through the hardened wrapper and relay its result envelope. Projection (read-only; never writes the target run dir):
created / running / finalizing) → top-level "running", exit 0"success", exit 0, with response.storedEnvelope when present"failure", exit 1, still a
well-formed status envelope (exit 1 means the target failed or was
interrupted, not that the status command malfunctioned)response.target includes lifecycle, lifecycleSource (record |
envelope | derived), elapsedMs, process liveness, and progress summaries.
Always relay the JSON envelope to the user regardless of exit status.
Raw slash-command arguments:
$ARGUMENTS
Required wrapper flags (copy exactly, substitute only placeholder values):
--run-id <run-id> is required. If the user did not supply one, ask them for
the run id (it is printed in every run's envelope as runId) BEFORE running
anything.Run it as one Bash call and relay the result.
plugin/references/argv-safety.md):
Wrap every substituted flag VALUE in single quotes (--run-id '<run-id>').
Bare flags (--web) carry no value to quote. The wrapper then rejects any run
id that is not the strict YYYYMMDDThhmmssZ-xxxxxx run-id shape:node "$SKILL_BASE/run.mjs" status --run-id '<run-id from $ARGUMENTS>'
error is set (invalid-target,
output-malformed, …), the status command could not inspect the run. If
response.target.lifecycle is present with failed/canceled/interrupted and
there is no error field, inspection succeeded and the target is bad.If the companion prints an actionable "could not locate the Grok wrapper"
message instead of an envelope, tell the user to run /grok:setup.
Without --run-id, the companion prints the local jobs table for this workspace
(recent companion-tracked runs). With --run-id, it returns the wrapper status envelope.
A bare positional matching the runId shape is accepted as well - the companion
translates it to --run-id <id> before the wrapper runs.
Also: /grok:jobs, /grok:result, /grok:cancel.