Skip to content
Back to skills

Ask Llm Grok Review

ASecurity

Get an independent Grok code review through the xAI API. Use when the user asks to review with Grok or wants a Grok second opinion. Requires XAI_API_KEY and explicit acceptance of metered xAI API pricing.

  • 18 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added October 2, 2026
ai-agentsgitapi

Works with

  • claude code
  • cursor
  • cli
  • api
  • mcp

Security analysis

A100/100

Scanned October 2, 2026

npx -y skills add Lykhoyda/ask-llm --skill ask-llm-grok-review --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Ask Llm Grok Review?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Ask Llm Grok Review
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/lykhoyda-ask-llm-grok-review/badge)](https://www.skillsdirectory.com/skills/lykhoyda-ask-llm-grok-review)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: ask-llm-grok-review
description: Get an independent Grok code review through the xAI API. Use when the user asks to review with Grok or wants a Grok second opinion. Requires XAI_API_KEY and explicit acceptance of metered xAI API pricing.
---

<!-- PORTABLE-CONTRACT:START -->
## 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.
<!-- PORTABLE-CONTRACT:END -->

## 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"`).

<!-- HOST-ADAPTER:CLAUDE-CODE:START -->
### 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.
<!-- HOST-ADAPTER:CLAUDE-CODE:END -->

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.