Agent skill

Problem Parser

by zhnnky329 in zhnnky329/MathModeling-skills

Parse a mathematical-modeling problem into goals, objects, data, constraints, outputs, subquestions, dependencies, variables, relationships, and human-confirmed success criteria before any method…

MITAuto-check passed

Install Problem Parser

skills CLI
$ npx skills add zhnnky329/MathModeling-skills --skill problem-parser -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install zhnnky329/MathModeling-skills problem-parser --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/zhnnky329/MathModeling-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.codex/skills/problem-parser .claude/skills/problem-parser && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
problem-parser
GitHub stars
1.1k
Token cost
~662 tokens
SKILL.md length
228 words
Files
1
Skills in repo
29
Repo updated
First seen
Licence
MIT

At a glance

Parse a mathematical-modeling problem into goals, objects, data, constraints, outputs, subquestions, dependencies, variables, relationships, and human-confirmed success criteria before any method…

  • Works in 7 steps: Record source files and missing… → Extract the global objective and each Qx… → For each Qx identify → …
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Problem Parser is an agent skill from zhnnky329/MathModeling-skills. Parse a mathematical-modeling problem into goals, objects, data, constraints, outputs, subquestions, dependencies, variables, relationships, and human-confirmed success criteria before any method selection.

Its SKILL.md is about 660 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

The repository describes itself as: 面向数学建模竞赛的 Claude Code / Codex Skills ,支持分阶段建模流程与 Python、MATLAB/北太天元代码分支。 The licence is MIT.

Example prompts

  • “/problem-parser”

Workflow steps

7 steps, taken from the first numbered list in SKILL.md.

  1. Record source files and missing referenced material.
  2. Extract the global objective and each Qx verbatim enough to preserve intent.
  3. For each Qx identify
  4. Separate
  5. If output form or success criteria are materially ambiguous, invoke one choice card. Do not choose the framing silently.
  6. Save
  7. Update the manifest status when present.

What it can do on your machine

Read from SKILL.md and the folder at commit 0b46e9c. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are json).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Problem Parser loads about 662 tokens when it runs. Until then it costs about 55 tokens; SKILL.md has 228 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~55
When it runs · the whole SKILL.md, loaded when a task matches
~662

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from zhnnky329/MathModeling-skills at commit 0b46e9c, republished under its MIT licence (© zhnnky329). 228 words, ~662 tokens.

Download SKILL.mdSave it as .claude/skills/problem-parser/SKILL.md (or your agent's skills folder).
name
problem-parser
description
Parse a mathematical-modeling problem into goals, objects, data, constraints, outputs, subquestions, dependencies, variables, relationships, and human-confirmed success criteria before any method selection.

Purpose

Produce a model-neutral problem contract. Do not start from favorite algorithms or infer missing attachments.

Inputs

  • complete problem statement and attachments list;
  • contest rules and required deliverables;
  • user clarifications;
  • existing parse when revising.

Workflow

  1. Record source files and missing referenced material.
  2. Extract the global objective and each Qx verbatim enough to preserve intent.
  3. For each Qx identify:
    • goal;
    • objects/entities;
    • inputs and data;
    • decisions or unknowns;
    • hard and soft constraints;
    • required output and format;
    • evaluation/success criteria;
    • dependencies on other Qx;
    • uncertainty and ambiguity.
  4. Separate:
    • statement facts;
    • observations from supplied data;
    • proposed relationships;
    • assumptions requiring human judgment.
  5. If output form or success criteria are materially ambiguous, invoke one choice card. Do not choose the framing silently.
  6. Save:
    • planning/parse/problem_parse.json
    • an optional concise planning/parse/problem_parse.md only when a human-readable view is useful.
  7. Update the manifest status when present.

JSON Contract

json
{
  "schema_version": 1,
  "problem_source": [],
  "global_goal": "",
  "objects": [],
  "data_inventory": [],
  "global_constraints": [],
  "subquestions": [
    {
      "id": "Q1",
      "statement": "",
      "goal": "",
      "inputs": [],
      "unknowns_or_decisions": [],
      "constraints": [],
      "required_outputs": [],
      "success_criteria": [],
      "dependencies": [],
      "proposed_relationships": [],
      "ambiguities": []
    }
  ],
  "missing_material": [],
  "human_decisions_needed": []
}

Rules

  • Parse before classifying.
  • Do not name or recommend methods.
  • Do not fabricate data, fields, equations, causal relationships, or evaluation criteria.
  • Preserve units, time ranges, populations, and output formats.
  • A proposed relationship must be labeled as proposed until human-confirmed or evidence-supported.
  • Ask only about ambiguities that change the downstream problem.

Verification

  • Every subquestion maps to a required output.
  • Constraints and dependencies are explicit.
  • Missing attachments and ambiguities are visible.
  • Facts, proposals, assumptions, and decisions are separated.
  • Human-owned success criteria are confirmed or remain a blocker.

© zhnnky329, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .codex/skills/problem-parser of zhnnky329/MathModeling-skills.

Open the folder on GitHubat commit 0b46e9c

Compare with similar skills

Problem Parser next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Problem Parser compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Problem Parser this skillzhnnky329/MathModeling-skills1.1k—~662Automated safety check: PassMIT
Goal Objective DrafterQwenLM/qwen-code28k—~3.5kAutomated safety check: PassApache-2.0
OmniRoute Model Catalogdiegosouzapw/OmniRoute74k1 repos~589Automated safety check: PassMIT
Math Modeling Problem Analysisjihe520/MathModelAgent6.2k—~494Automated safety check: NotesNone
Model Bank Metadatalobehub/lobehub83k—~2kAutomated safety check: PassCustom licence
Goalscodewhale-hq/Codewhale41k—~273Automated safety check: PassMIT

Similar skills

  • Goal Objective Drafter

    QwenLM/qwen-code

    Turns a vague intention into a /goal objective with one outcome, numbered yes-or-no checks, guardrails, a budget and a block protocol, without starting the work.

    28k GitHub stars~3.5k tokensUpdated yesterday
    Agent WorkflowsAuto-check passed
  • OmniRoute Model Catalog

    diegosouzapw/OmniRoute

    Looks up which AI models an OmniRoute gateway can reach, creates or updates model aliases and tests whether individual models respond.

    74k GitHub starsUsed in 1 repo~589 tokens
    AI & LLM EngineeringAuto-check passed
  • Math Modeling Problem Analysis

    jihe520/MathModelAgent

    Chinese-language stage that turns a math modeling contest problem and its data files into a modeling report with sub-problems, formulas and a task list for coding.

    6.2k GitHub stars~494 tokensUpdated 4 days ago
    Research & ScienceAuto-check: notes
  • Model Bank Metadata

    lobehub/lobehub

    Fills and maintains the knowledgeCutoff, family and generation fields on model cards in LobeHub's model bank, from a single new model up to repo-wide backfills.

    83k GitHub stars~2k tokensUpdated yesterday
    AI & LLM EngineeringAuto-check passed
  • Goals

    codewhale-hq/Codewhale

    Set, review, and update the user's goals. An agent skill from codewhale-hq/Codewhale.

    41k GitHub stars~273 tokensUpdated yesterday
    Auto-check passed
  • Enterprise-review-grade threat model from harness threat-model <path.

    74k GitHub stars~363 tokensUpdated yesterday
    SecurityAuto-check: notes

More from zhnnky329/MathModeling-skills

All 29 skills in this repo
  • Method Selector

    zhnnky329/MathModeling-skills

    Build and risk-screen a compact role-based method shortlist for a mathematical-modeling subquestion.

    1.1k GitHub stars~1.6k tokensUpdated 13 days ago
    Auto-check passed
  • Problem Classifier

    zhnnky329/MathModeling-skills

    Classify each parsed mathematical-modeling subquestion by required output and structure, surface ambiguous framing trade-offs for human choice, and record primary/secondary task types without…

    1.1k GitHub stars~611 tokensUpdated 13 days ago
    Auto-check passed
  • Data Auditor Cleaner

    zhnnky329/MathModeling-skills

    Map contest attachments to subquestions, audit and clean raw data, and emit one reusable data profile with quality, coverage, imbalance, concentration, and method-readiness evidence for downstream…

    1.1k GitHub stars~1.1k tokensUpdated 13 days ago
    Auto-check passed
  • Decision Prompt Builder

    zhnnky329/MathModeling-skills

    Build one compact choice card at a genuine mathematical-modeling judgment point.

    1.1k GitHub stars~837 tokensUpdated 13 days ago
    Auto-check passed
  • Matlab Model Code Generator

    zhnnky329/MathModeling-skills

    Generate and run minimal reproducible MATLAB or Beita Tianyuan compatible code for the human-approved main method and usable baseline, with compact experiment artifacts and a canonical run summary.

    1.1k GitHub stars~685 tokensUpdated 13 days ago
    Auto-check passed
  • Model Code Analyzer

    zhnnky329/MathModeling-skills

    Translate a human-approved main method and usable baseline into a minimal language-neutral implementation and experiment contract.

    1.1k GitHub stars~881 tokensUpdated 13 days ago
    Auto-check passed

Questions about Problem Parser

What does Problem Parser do?

Parse a mathematical-modeling problem into goals, objects, data, constraints, outputs, subquestions, dependencies, variables, relationships, and human-confirmed success criteria before any method…. Problem Parser is an agent skill from zhnnky329/MathModeling-skills. Parse a mathematical-modeling problem into goals, objects, data, constraints, outputs, subquestions, dependencies, variables, relationships, and human-confirmed success criteria before any method selection.

How do I install Problem Parser in Claude Code?

Run `npx skills add zhnnky329/MathModeling-skills --skill problem-parser -a claude-code`. Or copy the skill folder (.codex/skills/problem-parser in zhnnky329/MathModeling-skills) into .claude/skills/problem-parser in your project. Claude Code loads it when a task matches its description.

How do I install Problem Parser in Codex?

Run `npx skills add zhnnky329/MathModeling-skills --skill problem-parser -a codex`. Or copy the skill folder (.codex/skills/problem-parser in zhnnky329/MathModeling-skills) into .agents/skills/problem-parser in your project. Codex loads it when a task matches its description.

Can I use Problem Parser in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add zhnnky329/MathModeling-skills --skill problem-parser -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/problem-parser, .gemini/skills/problem-parser, .github/skills/problem-parser and .opencode/skills/problem-parser in your project.

What does Problem Parser need to run?

SKILL.md names no scripts, command-line tools or credentials: Problem Parser is instructions for the agent only.

Does Problem Parser access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Problem Parser safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Problem Parser use?

Problem Parser is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Problem Parser use?

About 662 tokens (SKILL.md is roughly 2.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Problem Parser?

Skills that share tags, products or a category with Problem Parser: Goal Objective Drafter (QwenLM/qwen-code, 28k stars), OmniRoute Model Catalog (diegosouzapw/OmniRoute, 74k stars), Math Modeling Problem Analysis (jihe520/MathModelAgent, 6.2k stars) and Model Bank Metadata (lobehub/lobehub, 83k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Problem Parser?

zhnnky329 (a GitHub user) maintains it in zhnnky329/MathModeling-skills, which has 1,060 GitHub stars. The repository holds 29 skills in this directory. The repository was last updated on September 24, 2026.

Source: zhnnky329/MathModeling-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.