ask-llm-grok-review

ask-llm-grok-review is a skill for Claude Code from Lykhoyda/ask-llm. It costs 55 tokens per session (536 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 — 36 skills, 9 agents, 5 hooks, 1 MCP server 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 36 skills, 9 agents, 5 hooks, 1 MCP server.

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 536 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.00536
Opus 5.5 $0.00022 $0.00214
Sonnet 5.5 $0.00011 $0.00107
Haiku 4.5 $0.00006 $0.00054

Measured 14d ago against content hash dc14f3e46724, 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 14d 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: claude mcp add --scope user grok -e XAI_API_KEY="$XAI_API_KEY" -- npx -y @ask-llm/grok-mcp For official Grok Build, install/authenticate grok, set ASK_GROK_HARNESS=grok-cli in the MCP environment, and register the same package 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. 14d 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 (18 stars, last pushed 2d ago), licensed MIT. It adds 55 tokens to every session and 536 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

Other skills, from other repositories

adk-go-self-review

Review an ADK Go change the way a maintainer will — a fresh-context pass over the whole diff, five lenses (correctness and tests, scope, simplicity, style, adk-python parity), and the mutation check that proves your tests pin the change. Use before opening a PR, before any later push that changes code, and when asked…

google/adk-go · 87 tokens

verify-change

A change-checking skill that reviews code differences and checks whether related documentation, tests, and records were updated.

fengshao1227/ccg-workflow · 65 tokens

verify-module

A module-checking skill that scans a project’s folders, code, and documentation. It expects each module to include a README.md and DESIGN.md, which explain how the module is used and why it was designed that way.

fengshao1227/ccg-workflow · 61 tokens

verify-quality

A code-quality checker that measures complexity, size, naming, and common code smells. It reports problems such as duplicated code, unused code, and overly long functions.

fengshao1227/ccg-workflow · 64 tokens

red-team-review

Unified adversarial review, two modes. Strategic Matrix v4.3 (MTA-004) for arguments/plans/decisions: Priors → Rubric → Adversarial Lenses → SWOT/TOWS → MCDA → Blind Spot/Kill Switch → Summary. Deliverable Audit for built artefacts (assignments, reports, code outputs): isolated fresh-context hunt against the brief…

winstonkoh87/Athena-Public · 103 tokens

review-preflight

Review tooling for a PR: review-preflight prints REVIEW.md's criteria and the PR's live gate state before a review; ci-triage maps a PR's failing checks to already-filed issues.

sonichi/sutando · 45 tokens