solve-model

solve-model is a skill for Codex from chengziyue1222/math-model-agent. It costs 49 tokens per session (812 once invoked), scanned A, original, MIT.

A workflow for turning mathematical assumptions into equations, algorithms, simulations, and checked results. It includes baselines, constraints, sensitivity checks, and robustness checks.

In plain words
What is it for?
Use it to build and solve models, optimize parameters, run simulations, locate critical events, test constraints, and compare results with independent checks.
Why use it?
It helps reveal whether a model is correctly formulated, numerically reliable, and stable when inputs or assumptions change.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: mentions Codex.

Good fit Use it to build and solve models, optimize parameters, run simulations, locate critical events, test constraints, and compare results with independent checks.

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

Made for: 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-model

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/chengziyue1222/math-model-agent/solve-model"><img src="https://agentmods.dev/badge/skills/chengziyue1222/math-model-agent/solve-model.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 812 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.00049 $0.00812
Opus 5.5 $0.00020 $0.00325
Sonnet 5.5 $0.00010 $0.00162
Haiku 4.5 $0.00005 $0.00081

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

Security

Grade A, and why

solve-model 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 3d ago.

The scan reads SKILL.md. This mod also ships 4 executable files (scripts/check_environment.py, scripts/execute_skill.py, scripts/solve_process_forecast.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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-model/SKILL.md · 42 lines

How it starts

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

Solve Model

Save complete object-by-period and scenario results. Recompute feasibility from delivered decision tables; carry opening inventory, conversion and losses through every period. A timeout or incumbent is not a certified optimum. Compare plans on the same inputs, capacities, opening stock and risk definition.

Read references/figure-result-handoff.md when results feed specialized figures. Save complete object/scenario results, baselines, termination status, units, fitted curves and actually computed interval bounds. Renderers display these results; they must not refit models or manufacture uncertainty.

Turn an agreed route into results that can be explained, checked and used in a competition paper.

Workflow

  1. Confirm each question's objective, variables, units, constraints, assumptions, output and upstream model-selection rationale.
  2. Read references/reasoning-and-validation.md and the relevant part of references/algorithm-api.md. For inverse/physical models, uncertainty-aware decisions or dependent-data experiments, read the applicable section of references/research-routes.md; validate the route on real inputs and preserve its failure boundary.
  3. Formulate the real relationship before choosing a solver. Use analytical derivation for conservation, geometry, feasible ranges, reduction, scale or monotonicity whenever available.
  4. Implement a simple baseline before the complex route. Make data slicing, parameters, seed and units explicit; preserve failed runs and limitations. If a decision uses a model-generated forecast, create predictions with rolling origins using only observations available at each issue time, preserve the issued predictions, and estimate forecast-error or risk terms only from previously completed targets.
  5. For a critical event, define the event function, locate a first bracket, refine it and save left/right states. For a search, establish its prerequisites before bisection or Brent.
  6. Audit hard constraints independently. Compare with the declared baseline and, where risk warrants it, with an algorithm that does not share the same key implementation path.
  7. Separate parameter sensitivity from numerical convergence. Explain whether a perturbation changes a decision threshold rather than merely reporting a changed digit. Predeclare final holdout or extrapolation checks and do not repeatedly tune against them.
  8. Save structured results, source tables and validation evidence so figures and prose can be regenerated without copying numbers by hand. Preserve run identity, input/configuration versions, actual seeds, termination state and failed cases. Separate observed results, mathematical deductions and proposed explanations in the writing handoff; never report planned validation as completed.

Read the full file on GitHub · 42 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. 3d ago Changed · +8 lines 7b8c17d9a089
  2. 1mo ago Changed 0ce394a7c00f
  3. 2mo ago First seen · 34 lines · 49 tokens per session scan A e83d042ffca5

Subscribe to this mod's changes

solve-model is a skill published in the GitHub repository chengziyue1222/math-model-agent (24 stars, last pushed 4d ago), licensed MIT. It adds 49 tokens to every session and 812 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-08-30.

Related

solve-model compared with skills from other repositories

solve-model next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
solve-modelchengziyue1222/math-model-agentSkill244d agoMITA49Codex
instrument-data-to-allotropeanthropics/knowledge-work-pluginsSkill35k2d agoApache-2.0A123Claude Code
exploratory-data-analysisK-Dense-AI/scientific-agent-skillsSkill56k4d agoMITA83Claude Code
matlabK-Dense-AI/scientific-agent-skillsSkill56k4d agoMITA44Claude Code
phylogeneticsK-Dense-AI/scientific-agent-skillsSkill56k4d agoMITA71Claude Code, Codex
research-engineerdavila7/claude-code-templatesSkill33kyesterdayMITA43Claude Code, Codex
mapping-to-snomedmaziyarpanahi/openmedSkill5.8kyesterdayApache-2.0A205Claude Code