python-model-code-generator
Skill1.1k starsChanged 3 months agoMITView on GitHub
Generate and run minimal reproducible Python modeling code for the human-approved main method and usable baseline, saving compact experiment artifacts and a canonical run summary.
Trending
More talk lately.thin dataabout the whole repository
Who's talking about zhnnky329/MathModeling-skills
- sudosubin/agents.nix“codex-plugins.github.zhnnky329.mathmodeling-skills: init at 0-unstable-2026-09-24”GitHub · Oct 4, 2026
- sudosubin/agents.nix“codex-marketplaces.github.zhnnky329.mathmodeling-skills: init at 0-unstable-2026-09-24”GitHub · Oct 4, 2026
The biggest 2 of 2 mentions linking to the repository that our crawl found. Each line is their own headline.
In this repository30 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- code-reviewerSkill
- completeness-auditorSkill
- consistency-auditorSkill
- data-auditor-cleanerSkill
- decision-prompt-builderSkill
- figure-table-plannerSkill
- final-method-explainerSkill
- math-figure-generatorSkill
- matlab-code-reviewerSkill
- matlab-model-code-generatorSkill
- method-selectorSkill
- model-assumptions-builderSkill
- model-code-analyzerSkill
- modeler-decision-loggerSkill
- paper-polisherSkill
- paper-section-writerSkill
- problem-classifierSkill
- problem-parserSkill
- python-code-reviewerSkill
- quality-assurance-auditorSkill
- reference-managerSkill
- related-paper-analyzerSkill
- result-report-generatorSkill
- robustness-checkerSkill
- solution-package-builderSkill
- submission-packagerSkill
- symbol-table-builderSkill
- workflow-orchestratorSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
13 rules. About 0 are common, 11 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈11
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 17
Read the code plan, decision ledger, method card, probe conditions, and data profile.
- Distinctive: line 23
Use project-root-safe paths, fixed seeds, explicit inputs, and minimal justified dependencies.
- Distinctive: line 31
Run the code. Do not claim success from code generation alone.
- Distinctive: line 36
Prefer the smallest clear layout:
- Distinctive: line 46
Do not create one script per unapproved candidate.
- Very specific: line 50
Follow the schema in model-code-analyzer.
- Distinctive: line 64
Do not change the approved model or baseline.
- Distinctive: line 65
Do not read or overwrite raw data.
- Distinctive: line 66
Do not hide assumptions in code.
- Distinctive: line 67
Do not emit placeholder metrics, figures, or successful statuses.
- Very specific: line 68
Prefer portable .py scripts over notebook-only workflows.
- Distinctive: line 69
Keep intermediate files only when needed for explanation, review, robustness, or debugging.
- Distinctive: line 70
Use Type 1 diagnostic figures internally.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Preconditions
- G2.5 human method choice is recorded in
methods/Qx/qx_decisions.jsonl. code/Qx/qx_code_plan.mdexists.- Required cleaned data and profile exist.
- The plan targets Python.
Legacy method pools and code/model-code-analyzer.md may be read during migration, but they do not override the human choice.
Workflow
- Read the code plan, decision ledger, method card, probe conditions, and data profile.
- Confirm scope:
- one approved main method;
- one usable baseline;
- fallback only when an activation decision or evidenced trigger exists.
- Generate clear runnable
.pyfiles undercode/Qx/. - Use project-root-safe paths, fixed seeds, explicit inputs, and minimal justified dependencies.
- Save:
- tables to
results/Qx/experiments/roundN/tables/; - metrics to
.../metrics/; - useful diagnostic/comparison figures to
.../figures/; - canonical
run_summary.json.
- tables to
- Evaluate and record output-degeneracy and fallback-trigger metrics required by the plan.
- Persist full logs only on failure or when a warning needs reproduction.
- Run the code. Do not claim success from code generation alone.
- Hand off to
code-reviewer.
Script Layout
Prefer the smallest clear layout:
code/Qx/
├── qx_code_plan.md
├── qx_baseline.py
├── qx_main.py
└── run_all.py # only when coordination is usefulDo not create one script per unapproved candidate. Do not create a README that duplicates the code plan.
Run Summary
Follow the schema in model-code-analyzer. Include:
- approved decision ID;
- method IDs and roles;
- inputs and outputs;
- seed and environment;
- execution status and timing;
- compact metric summaries;
- output-degeneracy evidence;
- warnings/errors;
- fallback-trigger state.
Rules
- Do not change the approved model or baseline.
- Do not read or overwrite raw data.
- Do not hide assumptions in code.
- Do not emit placeholder metrics, figures, or successful statuses.
- Prefer portable
.pyscripts over notebook-only workflows. - Keep intermediate files only when needed for explanation, review, robustness, or debugging.
- Use Type 1 diagnostic figures internally; do not present them as paper figures.
Verification
- Main and baseline both ran and are directly comparable.
- Fallback code is absent unless activated.
- Formal outputs and run summary exist.
- Seed, inputs, versions, warnings, and errors are recorded.
- Required concentration/degeneracy checks are saved.
- Next handoff is
code-reviewer.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

