MathModeling-skills: Skill for Claude Code

.claude/skills/decision-prompt-builder/SKILL.md

decision-prompt-builder is a skill for Claude Code from zhnnky329/MathModeling-skills. It costs 49 tokens per session (754 once invoked), scanned A, original, MIT.

A choice-question builder for work where a mathematical model depends on a human judgment. It presents a small set of mutually exclusive options and records the decision.

In plain words
What is it for?
Use it before screening methods, after a meaningful experiment, or before approving a final claim or model freeze.
Why use it?
It keeps the human responsible for important modeling choices while leaving mechanical follow-up work to the agent.

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 →

About the project

MathModeling-skills is a collection of Claude Code and Codex skills for mathematical modeling competitions, guiding users through data analysis, method-specific checks, reproducible computations, figures, and paper audits without taking over modeling decisions. It is for contestants who want AI to handle mechanical checks while they retain responsibility for choosing methods and interpreting results. The catalogue entries form the project's skills, instructions, hook, setting, and plugin workflow.

zhnnky329/MathModeling-skills · 1,080 stars · on GitHub

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/decision-prompt-builder/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 decision-prompt-builder

README.md
[![agentmods](https://agentmods.dev/badge/skills/zhnnky329/mathmodeling-skills/decision-prompt-builder/github.svg)](https://agentmods.dev/skills/zhnnky329/mathmodeling-skills/decision-prompt-builder)
Your own site
<a href="https://agentmods.dev/skills/zhnnky329/mathmodeling-skills/decision-prompt-builder"><img src="https://agentmods.dev/badge/skills/zhnnky329/mathmodeling-skills/decision-prompt-builder/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 decision-prompt-builder

Your own site · 80×15
<a href="https://agentmods.dev/skills/zhnnky329/mathmodeling-skills/decision-prompt-builder"><img src="https://agentmods.dev/badge/skills/zhnnky329/mathmodeling-skills/decision-prompt-builder.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 754 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 warn 7 Sept 2026
SkillSpector: 2 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Excessive Agency · line 44
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
  • medium Excessive Agency · line 95
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
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.00049 $0.00754
Opus 5.5 $0.00020 $0.00302
Sonnet 5.5 $0.00010 $0.00151
Haiku 4.5 $0.00005 $0.00075

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

Security

Grade A, and why

decision-prompt-builder 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 2mo 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/decision-prompt-builder/SKILL.md · 103 lines

How it starts

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

Purpose

Ask the smallest useful question that only the human modeler can answer. Present mutually exclusive options with consequences; do not turn mechanical checks into user questions.

Inputs

  • Current gate and the judgment it needs.
  • Problem goal, required output, hard constraints, and available evidence.
  • planning/session_config.json.
  • Existing decisions in methods/Qx/qx_decisions.jsonl.

Configuration

  • Read interaction_mode; accept legacy mode for compatibility.
  • learning: show 2–3 short questions and withhold the AI suggestion until the user answers.
  • speed: show one compressed question and optionally show the AI suggestion alongside.
  • rigor_profile does not change who owns the judgment.

Choice-Card Workflow

  1. Identify one load-bearing judgment.
  2. Create 2–3 mutually exclusive options. Each option must state its practical consequence.
  3. Add 都不合适 / 补充约束 when the listed options may not cover the user's intent.
  4. Ask no more than three questions in one card.
  5. Do not recommend an option in learning mode before the answer.
  6. Pass the answer verbatim to modeler-decision-logger; do not create a per-skill pending decision file.

Standard Cards

Before method screening

Ask only the missing high-impact items:

  • output form to defend;
  • interpretability/performance priority;
  • unacceptable failure;
  • experiment budget.

Do not ask the user to choose an algorithm name before evidence exists.

Example:

请选择这轮方案的首要取向:

- A. 可解释性优先——方法更透明,但可能牺牲部分拟合效果。
- B. 平衡——接受中等复杂度,要求能解释且优于可信 baseline。
- C. 性能优先——允许更复杂的方法,但需要额外稳健性和解释工作。
- D. 都不合适 / 我补充约束。

After a meaningful experiment

Use computed evidence to ask:

  • proceed with the current main method;
  • adjust a stated assumption or parameter and rerun;
  • activate the recorded fallback.

Name the consequence and evidence for each option. Do not silently convert an AI metric preference into the human verdict.

Before final freeze

Use only when claim scope or confidence is genuinely judgment-bearing:

Read the full file on GitHub · 103 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. 2mo ago First seen · 103 lines · 49 tokens per session scan A 94c2b80edd3c

Subscribe to this mod's changes

decision-prompt-builder is a skill published in the GitHub repository zhnnky329/MathModeling-skills (1,080 stars, last pushed 1mo ago), licensed MIT. It adds 49 tokens to every session and 754 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

decision-prompt-builder compared with skills from other repositories

decision-prompt-builder next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
decision-prompt-builderzhnnky329/MathModeling-skillsSkill1.1k1mo agoMITA49Claude Code
imagegenopenai/codexSkill133kyesterdayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill99kyesterdayApache-2.0A19Claude Code
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill79k4d agoMITA200Claude Code, Codex
systematic-debuggingobra/superpowersSkill313k3d agoMITA21Claude Code
next-cache-components-adoptionvercel/next.jsSkill143kyesterdayMITA95Claude Code
next-partial-prefetching-adoptionvercel/next.jsSkill143kyesterdayMITA103Claude Code