ask-llm-sol-review

ask-llm-sol-review is a skill for Claude Code from Lykhoyda/ask-llm. It costs 52 tokens per session (1,335 once invoked), scanned A, a copy of sol-review, MIT.

A code-review workflow that sends a bounded set of current changes to the specifically selected OpenAI GPT-6 Sol model through Codex. It verifies the returned findings against the source code and reports any fallback.

In plain words
What is it for?
Use it when you ask for a Sol review of staged, unstaged, or untracked changes.
Why use it?
It lets you request a review from a particular model instead of accepting an unannounced substitute.

Skill for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable. Also seen: mentions CLAUDE.md; mentions subagents; names the AskUserQuestion tool.

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 ask for a Sol review of staged, unstaged, or untracked changes.

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-sol-review

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/lykhoyda/ask-llm/ask-llm-sol-review"><img src="https://agentmods.dev/badge/skills/lykhoyda/ask-llm/ask-llm-sol-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 52 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,335 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 91% 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.00052 $0.01335
Opus 5.5 $0.00021 $0.00534
Sonnet 5.5 $0.00010 $0.00267
Haiku 4.5 $0.00005 $0.00134

Measured 14d ago against content hash 2637b9dcf360, 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-sol-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.

Origin

This is a copy

91% identical to sol-review — 49 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-sol-review/SKILL.md · 50 lines

How it starts

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

Portable contract

Gather a bounded diff and context brief, request a read-only Codex review explicitly pinned to gpt-6-sol with reasoningEffort: "high", verify findings against source, and disclose any model or transport fallback. Do not silently substitute another provider.

Host adapters

Pi adapter

Call ask-codex with model: "gpt-6-sol", reasoningEffort: "high", and sandbox: "read-only"; apply the portable contract above and disclose fallback metadata.

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 ../ask-llm-review/transport.md: model: "gpt-6-sol", reasoningEffort: "high", sandbox: "read-only". Disclose a Terra quota fallback and any transport fallback.

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.

Sol Code Review

Run a read-only, precision-first review explicitly pinned to GPT-6 Sol at high reasoning effort.

Workflow

  1. Run git status --short, git diff, and git diff --cached.
  2. Include untracked files the user wants reviewed with git add -N <path> so their contents appear in the diff without staging them.
  3. If the combined diff is empty, report that there are no changes to review.
  4. Read the root and file-scoped CLAUDE.md files plus any ADRs cited by changed code.
  5. Preflight the transport through the shipped executable contract:
    • Search the current tool surface for an exact ask-codex leaf first, then an ask-llm leaf. The executable correlates each client-assigned server prefix with an active @ask-llm/codex-mcp or @ask-llm/mcp registration; similarly named tools and tools from unrelated servers are not authoritative.
    • Run node "${CLAUDE_PLUGIN_ROOT}/scripts/sol-review-transport.mjs" --plugin-dir "${CLAUDE_PLUGIN_ROOT}" --cli-path "$(command -v codex || true)", adding --tool "<resolved tool name>" when an exact ask-codex or ask-llm tool resolved. For unified ask-llm, also pass --tool-schema "<advertised input JSON schema>" so a missing reasoningEffort/includeDirs/preferred/sandbox property is unsupported-schema, not a silent strip. Mirror any session-local --mcp-config, --settings, --setting-sources, and --strict-mcp-config flags so the nested inventory sees the same configuration as the active session.
    • Preserve the returned state, diagnostic, remediation, and fallbackDisclosure. The executable reads claude mcp list with that session context: preferred is a usable ask-codex leaf; unified is a usable mcp__ask-llm__ask-llm (or namespaced) leaf whose advertised schema honors Codex options and that must be called with provider: "codex" and the complete Codex option set; missing-registration means that active inventory has no supported registration; unavailable means it contains the registration but the current tool surface does not expose a usable tool, reports failed health, or the MCP invocation failed; unsupported-schema means unified MCP is present but its schema was not supplied or cannot honor Codex options — pass --tool-schema or upgrade @ask-llm/mcp rather than omitting fields; inventory-unavailable means the active inventory could not be inspected, so registration and service health are unknown. Do not collapse those states into a generic "no MCP" message. If transport is null, stop and show the executable remediation instead of launching the agent.
    • Parent availability remains advisory because subagents do not always inherit the session's MCP servers. The reviewer's fallback runner re-reads the active inventory and reclassifies the absent subagent tool before executing the CLI fallback.
  6. Launch the sol-reviewer agent with the diff and a compact context brief containing the changed files, applicable conventions, referenced ADRs, the user's requested review focus, and the complete preflight result.
  7. Return the agent's validated findings without adding unverified issues.

Read the full file on GitHub · 50 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 · 50 lines · 52 tokens per session scan A 2637b9dcf360

Subscribe to this mod's changes

ask-llm-sol-review is a skill published in the GitHub repository Lykhoyda/ask-llm (18 stars, last pushed 2d ago), licensed MIT. It adds 52 tokens to every session and 1,335 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 91% identical to sol-review, differing in 49 lines, and is treated as a copy.

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