solve-analyze

solve-analyze is a skill for Claude Code, Codex from Tenstu/Pass-LLM-with-LLM. It costs 160 tokens per session (5,017 once invoked), scanned A, original, MIT.

A code-diagnosis tool for a completed solve() function, comparing it with a reference solution and explaining meaningful differences.

In plain words
What is it for?
Use it to review algorithm solutions, identify root causes, produce side-by-side comparisons, and record recurring mistakes or weaknesses.
Why use it?
It helps locate the cause of wrong answers, timeouts, logic mistakes, and suspicious patterns instead of leaving you to compare solutions manually.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to review algorithm solutions, identify root causes, produce side-by-side comparisons, and record recurring mistakes or weaknesses.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tenstu/pass-llm-with-llm/solve-analyze
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 Tenstu/Pass-LLM-with-LLM --skill solve-analyze
Clone the repo
git clone --depth 1 https://github.com/Tenstu/Pass-LLM-with-LLM

Made for: Claude Code, Codex.

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 solve-analyze

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/tenstu/pass-llm-with-llm/solve-analyze"><img src="https://agentmods.dev/badge/skills/tenstu/pass-llm-with-llm/solve-analyze.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 160 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,017 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.00160 $0.05017
Opus 5 $0.00080 $0.02508
Sonnet 5 $0.00032 $0.01003
Haiku 4.5 $0.00016 $0.00502

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

Security

Grade A, and why

solve-analyze 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 10d 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.

skills/solve-analyze/SKILL.md · 455 lines

How it starts

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

Solve Analyze Skill

Structured diagnosis layer that compares a user's solve() against a standard solution generated by the solve-skeleton pipeline. Produces a side-by-side diff report, identifies root cause tags, and triggers feedback loops into mistake_log, user_profile, and exam-memory MCP. This skill does not teach and does not build skeletons -- it diagnoses "what you wrote vs what you should have written."

1. Overview

Pipeline Position

solve-skeleton (template)
  -> user fills logic
    -> ** solve-analyze (diagnosis) **   <-- this skill
      -> algo-annotation (# [防错] markers)
      -> mistake_log (error record)
      -> user_profile (weakness tracking)
      -> choice-q-create (targeted question generation)

Purpose

When a user completes a solve() function and wants to know what went wrong, this skill:

  1. Performs a quick triage to determine report depth (full diagnosis vs lightweight style check).
  2. Statically analyzes the user's code for logic errors, anti-patterns, and suspicious lines.
  3. Generates a reference solution via the solve-skeleton pipeline.
  4. Produces a structured comparison report highlighting every meaningful difference.
  5. Extracts root cause tags and feeds them back into the harness feedback loops.

The output is actionable: each identified issue maps to a specific root cause tag, a suggested fix, and an automatic (or user-confirmed) write to the error tracking system.

What This Skill Does NOT Do

  • Does not provide algorithmic tutorials or conceptual explanations (use algo-annotation).
  • Does not generate skeletons or templates (use solve-skeleton).
  • Does not create choice questions (use choice-q-create, which reads mistake_log downstream).

2. Core Principle

Two parallel analysis paths that merge into a single comparison report:

                  +------------------------+
                  |   User's solve() code   |
                  +-----------+------------+
                              |
                  +-----------v------------+
                  |   solve-analyze Skill   |
                  +-----------+------------+
                              |
              +---------------+----------------+
              v                                v
   Agent A: Static Analysis          Agent B: Standard Solution
   - Line-by-line logic review       - Select template from
   - Identify algorithm pattern        solve-skeleton section 3
   - Mark suspicious lines           - Fill TODOs with correct logic
   - Check anti-patterns from        - Run anti-pattern checklist
     solve-skeleton section 2          from solve-skeleton section 2
   - Match known error patterns        (references/exam-patterns.md,
     from mistake_log.md               references/algo-skeletons.md)
              |                                |
              +----------------+---------------+
                               v
                     Comparison Report
                               |
              +----------------+----------------+
              v                 v                v
         mistake_log      user_profile     experience MCP

Read the full file on GitHub · 455 lines

Files

What ships with it

2 files 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. 10d ago First seen · 455 lines · 160 tokens per session scan A 2226775d4f31

Subscribe to this mod's changes

solve-analyze is a skill published in the GitHub repository Tenstu/Pass-LLM-with-LLM (5 stars, last pushed 2mo ago), licensed MIT. It adds 160 tokens to every session and 5,017 once invoked, about $0.0008 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-31.