solve-model

solve-model is a skill for Codex from chengziyue1222/math-model-agent. It costs 49 tokens per session (501 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.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.svg" alt="Measured on agentmods" 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 501 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.00501
Opus 5 $0.00024 $0.00251
Sonnet 5 $0.00010 $0.00100
Haiku 4.5 $0.00005 $0.00050

Measured 8d ago against content hash e83d042ffca5, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, 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 8d 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 · 34 lines

How it starts

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

Solve Model

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.
  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.
  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.
  8. Save structured results, source tables and validation evidence so figures and prose can be regenerated without copying numbers by hand.

Writing Handoff

Give write-model-paper plain-language material for each question: the relation being modeled, formulas with variable definitions, solving logic, representative results, comparison, mechanism, evidence, applicable range and limitation. Backend status labels, hashes and logs remain outside the paper.

Resources

  • references/algorithm-api.md — repository APIs.
  • references/validation-checklist.md — baseline checks.
  • references/reasoning-and-validation.md — event, search and validation reasoning.

Executable Contract

For repository-managed competition and audit projects, inspect the shared contract registry with python -m scripts.skill_contracts --skill solve-model and run this Skill through the local scripts/execute_skill.py with every contracted input and output role. In rapid, save the baseline, parameters or seed, result artifact, and limitation; do not represent an exploratory run as a validated decision.

Read the full file on GitHub · 34 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. 8d 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 (16 stars, last pushed 27d ago), licensed MIT. It adds 49 tokens to every session and 501 once invoked, about $0.0002 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.

Related

Other skills, from other repositories

instrument-data-to-allotrope

Convert laboratory instrument output files (PDF, CSV, Excel, TXT) to Allotrope Simple Model (ASM) JSON format or flattened 2D CSV. Use this skill when scientists need to standardize instrument data for LIMS systems, data lakes, or downstream analysis. Supports auto-detection of instrument types. Outputs include full…

anthropics/knowledge-work-plugins · 123 tokens

exploratory-data-analysis

Perform bounded, local exploratory analysis of explicitly supported scientific files. Use for redacted CSV/TSV/JSON profiles; optional NumPy, HDF5, FASTA/FASTQ, and basic image metadata inspection; missingness/leakage audits; outlier and transformation sensitivity; and rigorous EDA report scaffolds. Other domain…

K-Dense-AI/scientific-agent-skills · 83 tokens

matlab

Build, review, migrate, and safely plan MATLAB or GNU Octave numerical workflows, including arrays, tabular/time data, tests, projects, graphics, MAT files, and explicit Python interoperability.

K-Dense-AI/scientific-agent-skills · 42 tokens

phylogenetics

Build and analyze phylogenetic trees using MAFFT (multiple alignment), IQ-TREE 2 (maximum likelihood), and FastTree (fast NJ/ML). Visualize with ETE3 or FigTree. For evolutionary analysis, microbial genomics, viral phylodynamics, protein family analysis, and molecular clock studies.

K-Dense-AI/scientific-agent-skills · 68 tokens

research-engineer

An uncompromising Academic Research Engineer. Operates with absolute scientific rigor, objective criticism, and zero flair. Focuses on theoretical correctness, formal verification, and optimal implementation across any required technology.

davila7/claude-code-templates · 43 tokens

mapping-to-snomed

Maps clinical concept spans extracted by OpenMed to SNOMED CT concepts through a USER-SUPPLIED terminology server (the user's own Ontoserver, Snowstorm, or UMLS/UTS), never a bundled vocabulary. Use when the user wants to code findings, disorders, procedures, body structures, or substances to SNOMED CT, run an ECL…

maziyarpanahi/openmed · 205 tokens