Cumcm Workflow logo

Cumcm Workflow

Community
Lucasuiii
cumcm-workflow

Build or resume mathematical-modeling competition work, including CUMCM, MCM/ICM, graduate and regional contests, data challenges, and open-topic statistical modeling. Guide problem framing, modeling, computation, validation, Chinese or English LaTeX writing, and reviewed PDF/source delivery using current official requirements. Not for ordinary paper polishing.

Overview

PublisherLucasuiii
Repositorymodeling-workbench
Skill namecumcm-workflow
Stars
175
Forks
7
Bundled files
87
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.

  • 87 bundled files

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

  • Open source

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

Installation

Install the Cumcm Workflow 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/Lucasuiii/modeling-workbench/tree/main/.agents/skills/cumcm-workflow
  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/Lucasuiii/modeling-workbench.git /tmp/modeling-workbench
mkdir -p .claude/skills
cp -r /tmp/modeling-workbench/.agents/skills/cumcm-workflow .claude/skills/cumcm-workflow
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Cumcm Workflow 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 Cumcm Workflow 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 Cumcm Workflow 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.

Modeling Workbench

Spend reasoning on the problem, mathematics, experiments and explanation. Tools maintain execution records, hashes, snapshots and stage state. Do not create extra checklists or repeatedly edit contracts to silence warnings.

Competition and task routing

For a new competition, read competition adaptation to identify the current official requirements and the supported automation boundary. Competition names do not determine methods, page limits or evidence standards. Keep the existing stages, two knobs and three human stops.

Read additional guidance only when the active work needs it:

Current needRead
Choose a research question under an official theme; find suitable dataOpen-topic research during problem analysis
Choose a model, audit data, design a useful comparison within the available budgetTask-driven modeling during analysis/model design/computation
English summary, audience-specific memo, references or format adaptationCompetition writing during paper planning

For paper initialization, pass the actual --competition and --language zh|en to init_latex_paper.py; omitted options retain CUMCM/Chinese behavior. The shared LaTeX/PDF compile, review and source-package chain works across competition names. Generic scaffolds are not official templates: current-rule compliance, page QA and the three human stops still apply. DOCX export is not implemented.

Start or resume

  1. Read the project's .cumcm/state.json and the incoming handoff, if present. Resume exact 0.6.0 projects; older schemas are unsupported.
  2. For a new project, use intake and init_project.py with the supplied official files.
  3. Read only the active stage guide below. Consult a schema only when the guide and command help leave a specific field unresolved; do not load the checker to learn the workflow.
  4. Define S as the absolute path to this Skill's scripts directory. All examples use python3 "$S/<command>.py"; the contest workspace does not contain these scripts.
  5. After interruption, check pending human decisions before continuing. Existing downstream files do not establish approval. Never infer approval from a quota reset, a new task, or “continue”.

Setup and progress diagnostics

On first setup or an environment change, run python3 "$S/doctor.py"; on resumption or a progress question, run python3 "$S/project_status.py" --project <p>. Both print reports without changing project state. Summarize what is usable, what blocks the next action, and the next step; continue authorized work instead of adding a confirmation point. Missing paper tools do not block modeling. A ready preflight is not approval: read the separately reported checkpoint availability. Use diagnostics for probe depth, JSON output, optional model dependencies and exit codes. Do not run diagnostics on every reply or reinstall an already prepared environment.

Three human stops

BeforeShow the userRecord after their explicit reply
Official computationObjective, constraints, all candidates and their discriminating evidence, chosen scope, any unanswered requirementmodel-design
Paper writingEvery claim's text, scope, evidence state, and open P0/P1validation
Final deliveryCurrent PDF pages, answers, remaining findings and actual delivery filesdelivery

Stop the dependent work after presenting the material. Model self-review is useful judgement, never human acceptance. A reply before the material was shown does not approve it. If a reviewed claim or model changes, show the revision and obtain a new decision; do not relabel the old acceptance.

After the user accepts all the presented current material, one command fills the existing checkpoint, records its snapshot and advances state:

bash
python3 "$S/record_decision.py" --project <p> --stage <stage> \
  --decision accepted --confirm-human --task-turn-ref <user-reply-ref> \
  --summary <what-the-user-accepted>

No manual timestamps, presented-ID lists, hashes or state edits. Other stages are technical completions: use the same command without --confirm-human, after their checks pass, referencing the current task. They do not require another user confirmation. Reopen with --decision revision_requested; downstream approvals become unusable. Decisions are honest conversation records, not cryptographic proof that a person answered.

Working and finalizing

  • working permits incomplete model drafts and cheap exploratory runs. Failed exploration never blocks. Use preflight while drafting: pending review is visible but does not fail the command.
  • enforce requires the three human stops in both modes. Official recording and paper entry also check the corresponding stop, so skipping a checker does not silently replace approval with self-review.
  • finalizing requires complete current evidence, decisions, independent review and delivery binding. Switch with set_mode.py. Do not run full finalizing checks before exploratory model selection: formal assertions do not exist yet.
bash
python3 "$S/cumcm_check.py" --project <p> --stage <stage> --gate-mode preflight

Warnings remain visible; they are not a request to rewrite upstream evidence. An error requires repair; awaiting_review means present the material and wait. Passing does not prove mathematical correctness.

Stage guides

WorkReadOutgoing handoff
Problem analysis02-problem-analysis.md—
Model candidates and cheap comparisons03-model-design.mdmodeling-computation
One backend, official runs and result indexing04-computation.mdcomputation-validation
Independent review and conclusions05-validation.mdvalidation-paper
Reader-facing paper and visual QA06-paper-writing.mdpaper-delivery
Actual delivery packages07-compile-delivery.mdfinal package

Build handoffs with build_handoff.py; read handoffs only at a crossing. computation-validation and validation-paper must cross into fresh tasks. Task refs are a paste guard, not proof of independence; same-model new-context review remains correlated. After a full review finds P0, the package builder defaults to targeted re-review of those findings.

Evidence without paperwork

  • Preserve official files. record_run.py records real execution and freezes declared evidence; index_result.py reads values from outputs. Never type machine facts into contracts.
  • Choose a model after cheap candidate evaluation; officially implement one backend. MATLAB preference breaks ties, not task suitability. No parity implementation unless requested.
  • Runs are append-only. A rerun uses --rerun, never overwrites its parent. Only successful official descendants supersede. plan_redo.py scopes affected work; it does not waive checks.
  • P0: wrong computation/data, task mismatch, scope beyond evidence, stale evidence, fabricated approval/review, or unusable delivery. P1: weaknesses within a supported and task-relevant scope. P2: optional improvements. Narrowing a claim cannot erase an unanswered requirement.
  • Derive review priorities from the current task, not previous failure examples. Check task coverage, model assumptions, solution validity and claim scope using a few tests or independent arguments that could expose a plausible wrong answer. Choose applicable mathematical properties; do not require every problem to run the same tests. A repair must address the failure mechanism and affected conclusions, not only the failing example.
  • Claims use supported_not_reproduced unless an isolated rerun and comparison establish reproduced. Label simulations and synthetic scenarios explicitly.
  • Keep workflow IDs and evidence bookkeeping out of reader-facing prose. Compilation logs do not establish visual quality; inspect rendered pages.
  • refresh_evidence.py --only delivery --package builds declared ZIPs with project-relative directories and refreshes their existing metadata. It never refreshes official sources. No-change refreshes do not rewrite files.

Use artifact contracts only for an unfamiliar artifact and evidence rules for unresolved evidence semantics. Do not read every reference at startup.

Bundled files

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

and 27 more files.

Frequently asked questions

What does the Cumcm Workflow AI skill do?

Build or resume mathematical-modeling competition work, including CUMCM, MCM/ICM, graduate and regional contests, data challenges, and open-topic statistical modeling. Guide problem framing, modeling, computation, validation, Chinese or English LaTeX writing, and reviewed PDF/source delivery using current official requirements. Not for ordinary paper polishing.

Why use Cumcm Workflow on TypingMind?

Because you install it once and use it with any model. Cumcm Workflow 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 Cumcm Workflow in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/Lucasuiii/modeling-workbench/tree/main/.agents/skills/cumcm-workflow. 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 Cumcm Workflow?

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 Cumcm Workflow?

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

Is the Cumcm Workflow AI skill free?

Yes. It is published on GitHub by Lucasuiii 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 👇