ask-llm-review

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

A code-review workflow that sends your staged, unstaged, and untracked changes to OpenAI Codex for a read-only second opinion. It checks Codex's findings against the source code before returning them.

In plain words
What is it for?
Use it when you want Codex to review current changes and return a short, prioritised list of verified issues.
Why use it?
It helps catch defects or risks you may miss during your own review and filters out findings that the code does not support.

Skill for Claude Code

Written for Claude Code: PostToolUse hook event. Also seen: mentions subagents; names the AskUserQuestion tool; positional $N argument.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the ask-llm plugin — 36 skills, 9 agents, 5 hooks, 1 MCP server shipped together

Good fit Use it when you want Codex to review current changes and return a short, prioritised list of verified issues.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add Lykhoyda/ask-llm
Claude Code
/plugin install 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-review

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/lykhoyda/ask-llm/ask-llm-review"><img src="https://agentmods.dev/badge/skills/lykhoyda/ask-llm/ask-llm-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 62 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 789 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.00062 $0.00789
Opus 5.5 $0.00025 $0.00316
Sonnet 5.5 $0.00012 $0.00158
Haiku 4.5 $0.00006 $0.00079

Measured 14d ago against content hash e0da57d1728d, 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-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-review/SKILL.md · 57 lines

How it starts

The opening of the file, as written. The whole thing — 57 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 code changes; build a bounded context brief; request a read-only Codex review at high reasoning effort; verify each reported finding against source; and return only prioritized, source-supported findings. Preserve the configured Sol-to-Terra fallback and disclose it.

Host adapters

Pi adapter

Call the native ask-codex tool with reasoningEffort: "high" and apply the portable contract above. The review runs inline in the current host context; do not claim subagent isolation.

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 the Codex call from transport.md (next to this file): model: "gpt-6-astra", reasoningEffort: "high", sandbox: "read-only". There is no isolated reviewer subagent on these hosts; do not claim one.

Claude Code adapter

The existing detailed workflow below is the Claude Code adapter. Its Agent, MCP, hook, CLAUDE_PLUGIN_ROOT, and AskUserQuestion mechanics apply only on Claude Code; they do not override the Pi adapter above.

Codex Code Review

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

When to use this vs codex-pair

This skill is precision-first: confidence ≥ 80, "don't flag style/linter-catchable" filter. Optimized for low false-alarm rate on diff review — appropriate default for routine PRs.

For recall-first review on hot-path code (money handling, security paths, spec-implementing code), see the codex-pair sibling — a PostToolUse hook that opts in per-project via a .codex-pair/context.md marker file. The 4-task benchmark in ADR-077 shows codex-pair catches domain-level "wrong but won't crash" issues (float-money precision, cross-cutting validation gaps, edge clamping) that this skill's confidence filter structurally suppresses. Different classes of bug, not the same class with different completeness.

Read the full file on GitHub · 57 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 · 57 lines · 62 tokens per session scan A e0da57d1728d

Subscribe to this mod's changes

ask-llm-review is a skill published in the GitHub repository Lykhoyda/ask-llm (18 stars, last pushed 2d ago), licensed MIT. It adds 62 tokens to every session and 789 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