Method Selector logo

Method Selector

CommunityPopular
zhnnky329
method-selector

Build and risk-screen a compact role-based method shortlist for a mathematical-modeling subquestion. Use after problem framing and data profiling, before model code generation, to propose a main candidate, a usable baseline, and at most one conditional fallback without padding the pool.

Overview

Publisherzhnnky329
RepositoryMathModeling-skills
Skill namemethod-selector
Stars
1.1K
Forks
42
Bundled files
2
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 2 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by zhnnky329 on GitHub. Read the source before you install it.

Installation

Install the Method Selector AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/zhnnky329/MathModeling-skills/tree/main/.claude/skills/method-selector
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/zhnnky329/MathModeling-skills.git /tmp/MathModeling-skills
mkdir -p .claude/skills
cp -r /tmp/MathModeling-skills/.claude/skills/method-selector .claude/skills/method-selector
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Method Selector in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Method Selector on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Method Selector is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

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.
  4. Define method-specific risk checks.

    • Use the contract in references/risk-probe-contract.md.
    • Select only relevant assumption checks.
    • Always check output degeneracy or concentration with metrics appropriate to the output.
    • Bound probe runtime rather than source-line count.
  5. Run the risk probe on the main candidate and usable baseline.

    • Use a representative slice or full-data diagnostic as appropriate; never rely only on the first rows.
    • The probe may use reusable scripts and may save detailed metrics, but its canonical output is one compact summary.
    • Probe the fallback only enough to establish that its trigger and risk profile are credible. Do not fully implement it.
  6. Write canonical artifacts.

    • methods/Qx/qx_method_card.md
    • methods/Qx/probes/risk_probe_summary.json
    • Update planning/manifests/Qx.json if present.
  7. Ask for the method choice.

    • Present the probe evidence through a choice card.
    • After the user answers, hand the exact answer to modeler-decision-logger for append-only capture in methods/Qx/qx_decisions.jsonl.
    • If no answer is available, stop. Do not create a placeholder decision file.

Method Card Contract

qx_method_card.md stays compact and contains:

markdown
# Qx Method Card

## Goal and success criteria

## Human constraints
- Output form:
- Priority:
- Unacceptable failure:
- Experiment budget:

## Shortlist
| ID | Role | Mathematical idea | Why eligible | Main risk | Implementation cost |

## Baseline validity
- Real task completed:
- Comparable output/metric:
- If no, classification: diagnostic_reference

## Risk-probe summary
| ID | Executability | Data/assumptions | Degeneracy | Sensitivity | Scale | Verdict |

## Fallback trigger
- Trigger:
- Evidence to evaluate:

## Compact history
- One line per material change, with decision_id when human-owned.

Do not maintain a separate iteration log for new work.

Probe Verdicts

  • PASS: eligible for the human choice.
  • CONDITIONAL: eligible only with a stated mitigation or fallback trigger.
  • FAIL: not offered as a selectable main or baseline.

A method fails screening when a load-bearing assumption fails, the output degenerates, it cannot produce a legal result, or its cost violates the user's budget. A method does not fail merely because an irrelevant generic diagnostic is unavailable.

Output and Handoff

After G2 screening:

  • If the human choice is absent: return the evidence-backed choice card.
  • If G2.5 is decided: hand the method card, probe summary, chosen IDs, and experiment budget to model-code-analyzer.
  • Instruct code generation to implement only the approved main method and usable baseline.
  • Keep the fallback dormant until its recorded trigger fires.

Rules

  • Do not use a fixed candidate count.
  • Do not use source-line count as validation quality.
  • Do not invent missing data fields, constraints, labels, or evaluation metrics.
  • Do not call a nonfunctional toy method a baseline.
  • Do not fully implement all shortlisted methods.
  • Do not select the method or write the human rationale.
  • Keep AI suggestions visibly separate from the human decision.

Compatibility

When revising an older workspace, read:

  • methods/Qx/qx_method_candidates.md
  • methods/Qx/qx_method_iteration_log.md
  • methods/Qx/poc/

Migrate material evidence into the method card and probe summary. Do not require new legacy PoCs or iteration logs.

References

  • Risk checks and summary schema: references/risk-probe-contract.md
  • Method-family routing cues: references/method-family-guide.md

Verification

  • Shortlist contains a main candidate and a genuinely usable baseline.
  • Optional fallback has a concrete trigger.
  • Main and baseline have evidence-backed probe verdicts.
  • Output-degeneracy checks are present.
  • Method card and probe summary exist.
  • No per-skill pending decision file was created.
  • No code-generation handoff occurs before a human method choice is recorded.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Method Selector AI skill do?

Build and risk-screen a compact role-based method shortlist for a mathematical-modeling subquestion. Use after problem framing and data profiling, before model code generation, to propose a main candidate, a usable baseline, and at most one conditional fallback without padding the pool.

Why use Method Selector on TypingMind?

Because you install it once and use it with any model. Method Selector is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Method Selector in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/zhnnky329/MathModeling-skills/tree/main/.claude/skills/method-selector. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Method Selector?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Method Selector?

As many as you like. As long as a model supports skills, you can use Method Selector with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Method Selector AI skill free?

Yes. It is published on GitHub by zhnnky329 under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇