grok-prompting

grok-prompting is a skill for Claude Code from faeton/claude-grok-plugin. It costs 23 tokens per session (389 once invoked), scanned A, original, MIT.

Internal guidance for turning requests into focused prompts for Grok, an AI assistant, during consultation and code review.

In plain words
What is it for?
Use it when preparing a Grok consultation, attaching code context, splitting unrelated questions, or asking for an adversarial review.
Why use it?
It helps make the question specific enough to produce a useful second opinion or risk-focused review.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

Part of the grok plugin — 3 skills, 8 commands, 1 agent shipped together

Good fit Use it when preparing a Grok consultation, attaching code context, splitting unrelated questions, or asking for an adversarial review.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/faeton/claude-grok-plugin/grok-prompting
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add faeton/claude-grok-plugin --skill grok-prompting
Clone the repo
git clone --depth 1 https://github.com/faeton/claude-grok-plugin

Made for: Claude Code.

Or install grok, the plugin that ships this one along with the rest of its 3 skills, 8 commands, 1 agent.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for grok-prompting

README.md
[![agentmods](https://agentmods.dev/badge/skills/faeton/claude-grok-plugin/grok-prompting/github.svg)](https://agentmods.dev/skills/faeton/claude-grok-plugin/grok-prompting)
Your own site
<a href="https://agentmods.dev/skills/faeton/claude-grok-plugin/grok-prompting"><img src="https://agentmods.dev/badge/skills/faeton/claude-grok-plugin/grok-prompting/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for grok-prompting

Your own site · 80×15
<a href="https://agentmods.dev/skills/faeton/claude-grok-plugin/grok-prompting"><img src="https://agentmods.dev/badge/skills/faeton/claude-grok-plugin/grok-prompting.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 23 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 389 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00023 $0.00389
Opus 5 $0.00012 $0.00195
Sonnet 5 $0.00005 $0.00078
Haiku 4.5 $0.00002 $0.00039

Measured 10d ago against content hash d44d55323b71, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

grok-prompting scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/grok/skills/grok-prompting/SKILL.md · 28 lines

What it actually says

Grok Prompting

Use this skill when grok:grok-consult needs to tighten the user's request into a better Grok prompt before the single companion call. Prompt drafting is the only Claude-side work allowed — never solve the task yourself.

Principles:

  • One clear ask per run. Split unrelated questions into separate consults.
  • State what a good answer looks like (format, length, what to optimize for) instead of assuming Grok will infer it.
  • Give Grok the grounding it needs as --file context rather than pasting huge blobs into the question — the companion attaches files cleanly and caps their size.
  • For a second opinion, frame it adversarially: ask Grok to find what is wrong or risky, not to agree. Grok is most useful as an independent skeptic.

Recipe for a consult:

  • Lead with the concrete question in one or two sentences.
  • Add the decision or constraint that matters ("must stay zero-dependency", "targeting Node 18", "this is hot-path code").
  • Name the output shape: "answer in ≤5 bullets", "give the literal flags", "rank the options".
  • Attach relevant files with --file instead of describing them.

Recipe for a review:

  • Prefer review (it builds the diff prompt for you). Use adversarial-review <focus> when the user wants a specific hunt (e.g. "concurrency bugs in the new pool", "auth bypass paths").
  • Keep focus text specific and falsifiable.

Keep Grok requests compact. The relay can cancel very large generations — if a request is huge, narrow the scope or split it rather than sending one giant prompt.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 28 lines · 23 tokens per session scan A d44d55323b71

Subscribe to this mod's changes

grok-prompting is a skill published in the GitHub repository faeton/claude-grok-plugin (1 stars, last pushed 25d ago), licensed MIT. It adds 23 tokens to every session and 389 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.