From grok
Internal guidance for composing Grok prompts for planning, research, diagnosis, and review tasks inside the Grok Claude Code plugin
How this skill is triggered — by the user, by Claude, or both
Slash command
/grok:grok-promptingThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Use this skill when `grok:grok-rescue` needs to ask Grok for help via the `task` runtime.
Use this skill when grok:grok-rescue needs to ask Grok for help via the task runtime.
Prompt Grok like an analyst, not a collaborator with tool access. The plugin runs Grok headless via grok -p, so it cannot read files, run commands, or browse the working tree on its own. Everything Grok sees has to be in the prompt text.
Core rules:
Default prompt recipe:
<task>: the concrete job and the relevant repository or failure context (inlined).<structured_output_contract> or <compact_output_contract>: exact shape, ordering, and brevity requirements.<default_follow_through_policy>: what Grok should do by default instead of asking routine questions.<grounding_rules>: required for review, research, or anything that could drift into unsupported claims.When to add blocks:
<completeness_contract> and an <observable_evidence> block listing what you've inlined./grok:review and /grok:adversarial-review commands — those carry the review contract and JSON schema. Only fall back to task when the review needs a non-standard target or shape.<research_mode> and <citation_rules> (cite the inlined evidence by line reference, not URL).Working rules:
--resume-last so the prior transcript is reused; the plugin truncates oldest turns when the transcript exceeds the cap.Prompt assembly checklist:
<task>.Common antipatterns:
--resume-last turn — the prior transcript is already prepended.task runs.npx claudepluginhub dysfunc/ai-plugins-cc --plugin grokCreates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.