ask-llm-grok-review

ask-llm-grok-review is a skill for Claude Code from Lykhoyda/ask-llm. It costs 55 tokens per session (551 once invoked), scanned A, original, MIT.

A code-review workflow that sends current changes to Grok through the xAI API and returns verified, prioritised findings. It requires an XAI API key and makes clear that the API may incur separate usage charges.

In plain words
What is it for?
Use it when you specifically want Grok to review staged, unstaged, and untracked code changes.
Why use it?
It provides an independent review without treating a consumer Grok subscription as API access or silently changing the selected model.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions Claude Code; mentions Codex; mentions Cursor.

Part of the ask-llm plugin — 40 skills, 12 agents, 5 hooks, 8 MCP servers shipped together

Good fit Use it when you specifically want Grok to review staged, unstaged, and untracked code changes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/lykhoyda/ask-llm/ask-llm-grok-review
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 Lykhoyda/ask-llm --skill ask-llm-grok-review
Clone the repo
git clone --depth 1 https://github.com/Lykhoyda/ask-llm

Made for: Claude Code.

Or install ask-llm, the plugin that ships this one along with the rest of its 40 skills, 12 agents, 5 hooks, 8 MCP servers.

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 ask-llm-grok-review

README.md
[![agentmods](https://agentmods.dev/badge/skills/lykhoyda/ask-llm/ask-llm-grok-review/github.svg)](https://agentmods.dev/skills/lykhoyda/ask-llm/ask-llm-grok-review)
Your own site
<a href="https://agentmods.dev/skills/lykhoyda/ask-llm/ask-llm-grok-review"><img src="https://agentmods.dev/badge/skills/lykhoyda/ask-llm/ask-llm-grok-review/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 ask-llm-grok-review

Your own site · 80×15
<a href="https://agentmods.dev/skills/lykhoyda/ask-llm/ask-llm-grok-review"><img src="https://agentmods.dev/badge/skills/lykhoyda/ask-llm/ask-llm-grok-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 55 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 551 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.00055 $0.00551
Opus 5.5 $0.00022 $0.00220
Sonnet 5.5 $0.00011 $0.00110
Haiku 4.5 $0.00006 $0.00055

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

Security

Grade A, and why

ask-llm-grok-review 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 7d 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.

packages/llm-mcp/skills/ask-llm-grok-review/SKILL.md · 35 lines

How it starts

The opening of the file, as written. The whole thing — 35 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Portable contract

Gather the relevant staged, unstaged, and untracked changes; build a bounded context brief; request an independent Grok review; verify every reported finding against source; and return only prioritized, source-supported findings. State that project context is sent to xAI and may incur API charges. Never enable billing, buy credits, use priority processing, substitute models, or retry on another model.

Host adapters

Pi adapter

Call the native ask-grok tool and apply the portable contract above.

Other hosts adapter

Codex, Cursor Agent, Antigravity, Grok Build, Gemini CLI and OpenCode get this skill from their skills folder, not from a plugin. Apply the portable contract above inline with a Grok call as described in ../ask-llm-review/transport.md (provider: "grok", reasoningEffort: "high").

Claude Code adapter

Review current code changes by delegating to the grok-reviewer agent.

  1. Confirm the user configured XAI_API_KEY and understands xAI API usage is metered separately from any Grok consumer subscription. Do not configure billing or credits.
  2. Gather git diff, git diff --cached, and relevant untracked files. If there are no changes, say so.
  3. Launch the grok-reviewer agent with a bounded diff and relevant project instructions.
  4. If the Grok MCP tool is unavailable, explain how to register it without attempting another provider. For API use: npm install -g @ask-llm/mcp && claude mcp add --scope user ask-llm -e XAI_API_KEY="$XAI_API_KEY" -- "$(npm prefix -g)/bin/ask-llm-mcp" For official Grok Build, install/authenticate grok, set ASK_GROK_HARNESS=grok-cli in the MCP environment, and register the same server without silently switching from API.
  5. Preserve provider/model/harness attribution and any xAI error verbatim after secret redaction. Never silently route to Codex, Gemini, or another model.

Read the full file on GitHub · 35 lines

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. 7d ago Changed 058a3c461f1e
  2. 1mo ago First seen · 35 lines · 55 tokens per session scan A dc14f3e46724

Subscribe to this mod's changes

ask-llm-grok-review is a skill published in the GitHub repository Lykhoyda/ask-llm (20 stars, last pushed yesterday), licensed MIT. It adds 55 tokens to every session and 551 once invoked, about $0.0002 per session on Opus 5.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-10-03.

Related

ask-llm-grok-review compared with skills from other repositories

ask-llm-grok-review next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ask-llm-grok-reviewLykhoyda/ask-llmSkill20yesterdayMITA55Claude Code
verify-changefengshao1227/ccg-workflowSkill6.0k12d agoMITA65Claude Code
verify-modulefengshao1227/ccg-workflowSkill6.0k12d agoMITA61Claude Code
verify-qualityfengshao1227/ccg-workflowSkill6.0k12d agoMITA64Claude Code
agtx-reviewfynnfluegge/agtxSkill1.8k2d agoApache-2.0A32Claude Code
review-preflightsonichi/sutandoSkill413todayMITA45Claude Code
octocode-pr-reviewbgauryy/octocodeSkill971todayMITA40Claude Code, Codex