ask-llm-grok-pair

ask-llm-grok-pair is a skill for Claude Code from Lykhoyda/ask-llm. It costs 65 tokens per session (2,229 once invoked), scanned B, a copy of grok-pair, MIT.

A pair-programming workflow where Grok acts as an independent, read-only reviewer while the host agent edits code. It sends only approved, bounded context and does not silently switch providers, models, or routes.

In plain words
What is it for?
Use it for iterative Grok feedback during coding, including checkpoint-based review of changes.
Why use it?
It gives you feedback during implementation while keeping the reviewer separate from the agent making edits and preserving control over what is shared.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: names the AskUserQuestion tool; mentions Claude Code; mentions Codex.

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

Good fit Use it for iterative Grok feedback during coding, including checkpoint-based review of changes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/lykhoyda/ask-llm/ask-llm-grok-pair
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-pair
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-pair

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/lykhoyda/ask-llm/ask-llm-grok-pair"><img src="https://agentmods.dev/badge/skills/lykhoyda/ask-llm/ask-llm-grok-pair.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 65 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,229 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin 98% copy Near-identical to another mod 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.00065 $0.02229
Opus 5.5 $0.00026 $0.00892
Sonnet 5.5 $0.00013 $0.00446
Haiku 4.5 $0.00006 $0.00223

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

Security

Grade B, and why

ask-llm-grok-pair scanned grade B with 1 finding 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.

Reads MCP configurationmediumAgent snooping

mcp.json carries server URLs and auth tokens; reading it lets a mod discover and abuse other integrations.

Save it as project `.cursor/mcp.json` or user `~/.cursor/mcp.json`. For `xai-api`, ensure `XAI_API_KEY` is present in the MCP server process environment; keep any literal secret in the user-level config and never commit
Origin

This is a copy

98% identical to grok-pair — 123 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

packages/llm-mcp/skills/ask-llm-grok-pair/SKILL.md · 124 lines

How it starts

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

Portable contract

Apply ../ask-llm-codex-pair/pairing-contract.md. The host is the editor and Grok is the explicit read-only reviewer. Share bounded context only after consent, relay and verify actionable feedback at checkpoints, preserve exact route/model attribution, reuse a returned Cursor session where supported, propagate cancellation, and terminate clearly without silent provider, harness, or model fallback.

Host adapters

Pi adapter

Unsupported on Pi: Grok pairing needs a dedicated Pi consent and lifecycle adapter that does not exist yet. Say so and stop before collecting context or calling any provider.

Cursor Agent adapter

When Cursor itself hosts this skill, do not recursively launch ask-cursor-agent. Offer only the explicit direct routes (xai-api or grok-cli) through an exact ask-grok leaf or a fully pinned unified ask-llm leaf, and follow the same consent and no-fallback contract. The Cursor plugin bundle registers only the unified ask-llm server; an earlier user-installed grok entry that still exposes the deterministic ask-grok leaf is preferred when exposed. A unified call must specify provider: "grok", exact harness, exact model, and reasoningEffort; direct Grok is one-shot and does not accept include directories or sessions.

If neither leaf is exposed, stop and give this Cursor-native setup (never claude mcp add):

{"mcpServers":{"ask-llm":{"command":"npx","args":["-y","@ask-llm/mcp"]}}}

Save it as project .cursor/mcp.json or user ~/.cursor/mcp.json. For xai-api, ensure XAI_API_KEY is present in the MCP server process environment; keep any literal secret in the user-level config and never commit it. For grok-cli, install/authenticate Grok Build and verify grok --help advertises headless JSON support. Reload the server from Cursor Settings → Tools & MCP or restart Cursor Agent, verify that ask-llm is exposed, then invoke /grok-pair again. The standalone @ask-llm/grok-mcp package is retired, so never suggest installing it; keep one registration per server and do not configure two merely to create fallback.

Read the full file on GitHub · 124 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 d2854e15ece7
  2. 1mo ago First seen · 124 lines · 65 tokens per session scan B 05cde045fd46

Subscribe to this mod's changes

ask-llm-grok-pair is a skill published in the GitHub repository Lykhoyda/ask-llm (20 stars, last pushed yesterday), licensed MIT. It adds 65 tokens to every session and 2,229 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it B with 1 finding (reads mcp configuration). It is 98% identical to grok-pair, differing in 123 lines, and is treated as a copy.

Related

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

ask-llm-grok-pair next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ask-llm-grok-pairLykhoyda/ask-llmSkill20yesterdayMITB65Claude 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