sol-review

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

A code-review workflow that asks OpenAI GPT-5.6 Sol to inspect your current changes without modifying files.

In plain words
What is it for?
Use it to check staged, unstaged, and selected untracked code changes for possible problems.
Why use it?
It gives you a focused review of a specific diff while making clear whether the requested model was actually used.

Skill for Claude CodeCodex

Written for Claude Code and Codex: ${CLAUDE_PLUGIN_ROOT} variable, but also runs codex exec. 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 — 18 skills, 9 agents, 5 hooks, 1 MCP server shipped together

Good fit Use it to check staged, unstaged, and selected untracked code changes for possible problems.

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, Codex.

Or install ask-llm, the plugin that ships this one along with the rest of its 18 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 sol-review

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/lykhoyda/ask-llm/sol-review"><img src="https://agentmods.dev/badge/skills/lykhoyda/ask-llm/sol-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,018 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.00050 $0.01018
Opus 5 $0.00025 $0.00509
Sonnet 5 $0.00010 $0.00204
Haiku 4.5 $0.00005 $0.00102

Measured 9d ago against content hash 2cde190a0475, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

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 9d 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/claude-plugin/skills/sol-review/SKILL.md · 46 lines

How it starts

The opening of the file, as written. The whole thing — 46 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-5.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-5.6-sol", reasoningEffort: "high", and sandbox: "read-only"; apply only the portable contract in ../../agents/sol-reviewer.md and disclose fallback metadata.

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-5.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 the exact ask-codex leaf tool. The executable correlates its client-assigned server prefix with an active @ask-llm/codex-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>" only when the exact ask-codex tool resolved. 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: 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; 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 · 46 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. 9d ago First seen · 46 lines · 50 tokens per session scan A 2cde190a0475

Subscribe to this mod's changes

sol-review is a skill published in the GitHub repository Lykhoyda/ask-llm (18 stars, last pushed today), licensed MIT. It adds 50 tokens to every session and 1,018 once invoked, about $0.0003 per session on Opus 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-08-30.