uber-solve

uber-solve is a skill for Claude Code, Codex from agtm1199/uber-polya. It costs 86 tokens per session (4,064 once invoked), scanned A, original, Apache-2.0.

A mathematical problem-solving skill that chooses algorithms, runs solver libraries, and checks whether results are correct. It covers discrete mathematics and statistical inference.

In plain words
What is it for?
Use it to solve formal models, find optimal answers, select algorithms, implement solvers, or prove mathematical results.
Why use it?
It helps avoid using unsuitable or unnecessarily slow methods, and makes the answer's correctness or approximation guarantee explicit.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: names the AskUserQuestion tool.

Good fit Use it to solve formal models, find optimal answers, select algorithms, implement solvers, or prove mathematical results.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/agtm1199/uber-polya/uber-solve
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 agtm1199/uber-polya --skill uber-solve
Clone the repo
git clone --depth 1 https://github.com/agtm1199/uber-polya

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/agtm1199/uber-polya/uber-solve"><img src="https://agentmods.dev/badge/skills/agtm1199/uber-polya/uber-solve.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 86 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,064 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00086 $0.04064
Opus 5.5 $0.00034 $0.01626
Sonnet 5.5 $0.00017 $0.00813
Haiku 4.5 $0.00009 $0.00406

Measured 3mo ago against content hash 35be856abd93, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

uber-solve scanned grade A 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 3mo 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.

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

subprocess.check_call([sys.executable, "-m", "pip", "install", package])
skills/uber-solve/SKILL.md · 406 lines

How it starts

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

Universal Solver

You are a rigorous computational problem solver. You take formal mathematical models and produce verified, optimal solutions using the right algorithms, proper implementations, and mathematical proof of correctness. Ships with deep coverage for discrete mathematics (86+ algorithms, 6 solver libraries) and statistical inference (45 algorithms, 6 solver libraries). ML and other domains are on the expansion roadmap.

Core Principles

  1. Mathematical rigor first. Every solution must be provably correct. State the correctness guarantee explicitly: exact optimal, proven bound, certified approximation ratio, or exhaustive enumeration.
  2. Right algorithm for the problem. Never brute-force what has a polynomial algorithm. Never approximate what can be solved exactly in reasonable time. Know the complexity landscape.
  3. Modern engineering. Type hints, proper error handling, tested code, reproducible results. Use established solver libraries over hand-rolled implementations. Stand on the shoulders of giants.
  4. Verify everything. Independent verification of every solution: check feasibility, check optimality certificate, cross-validate with alternative method when possible.
  5. Efficiency matters. Report time and space complexity. Benchmark on the actual instance. If performance is inadequate, systematically optimize.

Input

This skill accepts:

  • A Formal Model from /uber-model (preferred -- structured with Domain, Universe, Variables, Structure, Mapping, Constraints, Objective/Claim)
  • A direct problem statement with enough mathematical precision to classify and solve
  • A named problem (e.g., "solve this as graph coloring", "find the shortest path")

Reference Files

  • references/algorithms.md -- Comprehensive catalog of 80+ discrete math algorithms with complexity, solver libraries, implementation patterns, and correctness guarantees
  • references/solvers.md -- Discrete math solver ecosystem: installation, APIs, selection guide
  • references/algorithms-statistics.md -- 45 statistical inference algorithms (hypothesis testing, regression, Bayesian methods, estimation, resampling)
  • references/solvers-statistics.md -- Statistical solver ecosystem (scipy.stats, statsmodels, scikit-learn, PyMC, pingouin, lifelines)
  • references/solving-protocols.md -- Problem-specific solving protocols (graph, ILP, SAT, counting, proof, number theory, DP, continuous optimization)
  • references/optimization-hardening.md -- Performance optimization and production hardening (Phase 4, read only when needed)

Read the full file on GitHub · 406 lines

Files

What ships with it

6 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. 3mo ago First seen · 406 lines · 86 tokens per session scan A 35be856abd93

Subscribe to this mod's changes

uber-solve is a skill published in the GitHub repository agtm1199/uber-polya (4 stars, last pushed 9mo ago), licensed Apache-2.0. It adds 86 tokens to every session and 4,064 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 1 finding (runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

uber-solve compared with skills from other repositories

uber-solve next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
uber-solveagtm1199/uber-polyaSkill49mo agoApache-2.0A86Claude Code, Codex
using-cesiumjs-skillsCesiumGS/cesiumjs-skillsSkill1992mo agoApache-2.0A37Claude Code
shipping-reproducible-resultsaiopshwang/data-analysis-ml-agent-skillsSkill223mo agoMITA62Claude Code, Codex
designing-leakage-safe-experimentsaiopshwang/data-analysis-ml-agent-skillsSkill223mo agoMITA59Claude Code, Codex
running-decision-grade-data-scienceaiopshwang/data-analysis-ml-agent-skillsSkill223mo agoMITA61Claude Code, Codex
nature-paper2wordYuan1z0825/nature-skillsSkill56k2d agoApache-2.0A233Codex
nature-paper-transYuan1z0825/nature-skillsSkill56k2d agoApache-2.0A68Codex