Stats
Actions
Tags
From grok
Internal helper contract for calling the grok-companion runtime from Claude Code
How this skill is triggered — by the user, by Claude, or both
Slash command
/grok:grok-cli-runtimeThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Use this skill only inside the `grok:grok-rescue` subagent.
Use this skill only inside the grok:grok-rescue subagent.
Primary helper:
node "${CLAUDE_PLUGIN_ROOT}/scripts/grok-companion.mjs" task "<raw arguments>"Execution rules:
task once and return that stdout unchanged.git, direct Grok CLI strings, or any other Bash activity.setup, review, adversarial-review, status, result, or cancel from grok:grok-rescue.task for every rescue request, including diagnosis, planning, research, and analysis.grok-prompting skill to rewrite the user's request into a tighter Grok prompt before the single task call.--model only when the user explicitly asks for one.pro to --model grok-2.5-pro.flash to --model grok-2.5-flash.--effort or --write flag. The Grok CLI runs read-only via headless -p invocation, so file changes are the main Claude thread's responsibility, not Grok's.Command selection:
task invocation per rescue handoff.--background or --wait, treat that as Claude-side execution control only. Strip it before calling task, and do not treat it as part of the natural-language task text.--model, normalize aliases (pro → grok-2.5-pro, flash → grok-2.5-flash) and pass it through to task.--resume, strip that token from the task text and add --resume-last.--fresh, strip that token from the task text and do not add --resume-last.--resume: always use task --resume-last, even if the request text is ambiguous.--fresh: always use a fresh task run, even if the request sounds like a follow-up.task --resume-last: internal helper for "keep going", "resume", or "dig deeper" after a previous rescue run. The plugin prepends the prior per-job transcript to the new prompt; long transcripts are truncated and /grok:result flags when truncation occurred.Safety rules:
task command exactly as-is.Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.
npx claudepluginhub dysfunc/ai-plugins-cc --plugin grok