MathModeling-skills: Skill for Claude Code

.claude/skills/method-selector/SKILL.md

method-selector is a skill for Claude Code from zhnnky329/MathModeling-skills. It costs 55 tokens per session (1,334 once invoked), scanned A, original, MIT.

A decision aid for choosing a small shortlist of mathematical modeling methods for a specific subquestion. It checks whether each method fits the available data, assumptions, risks, and computing limits.

In plain words
What is it for?
Use it after the problem and data have been documented to propose a main method, a baseline, and at most one conditional fallback.
Why use it?
It prevents an oversized list of algorithms and exposes important weaknesses before someone writes model code. A human still makes the final choice.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is zhnnky329/MathModeling-skills's own configuration. It tells Claude Code how to work on MathModeling-skills itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything MathModeling-skills configures →

Reuse

Borrowing it

Nothing to install: this file belongs to zhnnky329/MathModeling-skills. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/zhnnky329/MathModeling-skills/main/.claude/skills/method-selector/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/zhnnky329/MathModeling-skills

Made for: Claude Code.

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 method-selector

README.md
[![agentmods](https://agentmods.dev/badge/skills/zhnnky329/mathmodeling-skills/method-selector.svg)](https://agentmods.dev/skills/zhnnky329/mathmodeling-skills/method-selector)
Your own site
<a href="https://agentmods.dev/skills/zhnnky329/mathmodeling-skills/method-selector"><img src="https://agentmods.dev/badge/skills/zhnnky329/mathmodeling-skills/method-selector.svg" alt="Measured on agentmods" height="20"></a>
Per session 55 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,334 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00055 $0.01334
Opus 5 $0.00028 $0.00667
Sonnet 5 $0.00011 $0.00267
Haiku 4.5 $0.00006 $0.00133

Measured 8d ago against content hash 964bf84e721d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

method-selector 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.

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.

.claude/skills/method-selector/SKILL.md · 156 lines

How it starts

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

Purpose

Convert the framed problem and data profile into a small executable decision surface. Screen methods for load-bearing data, assumption, degeneracy, sensitivity, and scale risks before asking the human to choose.

This skill proposes and probes methods. The human chooses the method.

Preconditions

  • G1 problem framing passed.
  • Required output and evaluation criteria are known.
  • Relevant data inventory or audit exists.
  • planning/symbol_table.md and planning/model_assumptions.md exist when the problem needs them.

If these are missing, return to the producer skill rather than guessing.

Inputs

  • Problem parse and classification.
  • Data audit, including missingness, effective sample size, imbalance, cardinality, and distribution summaries.
  • Literature analysis when available.
  • Contest deadline, implementation language, interpretability needs, and compute limits.
  • planning/session_config.json.
  • Existing methods/Qx/qx_method_card.md and decision ledger when revising.

Workflow

  1. Align the decision surface.

    • Invoke decision-prompt-builder before generating an open-ended shortlist.
    • Ask about human-owned trade-offs, not algorithm names.
    • Reuse answers already present in the decision ledger.
  2. Derive method requirements.

    • Start from required output, hard constraints, data characteristics, validation criteria, explanation burden, and experiment budget.
    • Identify the failure modes that would make a method unusable.
  3. Create a role-based shortlist.

    • One main_candidate: best fit to the chosen trade-off.
    • One usable_baseline: completes the real task and yields directly comparable outputs.
    • At most one conditional_fallback: differs in a meaningful mathematical way and has an explicit activation trigger.
    • If a simple reference cannot complete the real task, label it diagnostic_reference; it does not satisfy the baseline requirement.
    • Do not add a method merely to reach a candidate count.

Read the full file on GitHub · 156 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. 8d ago First seen · 156 lines · 55 tokens per session scan A 964bf84e721d

Subscribe to this mod's changes

method-selector is a skill published in the GitHub repository zhnnky329/MathModeling-skills (754 stars, last pushed 14d ago), licensed MIT. It adds 55 tokens to every session and 1,334 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.

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