model-code-analyzer
Skill1.1k starsChanged 3 months agoMITView on GitHub
Translate a human-approved main method and usable baseline into a minimal language-neutral implementation and experiment contract. Use after G2.5 and data readiness, before Python or MATLAB code generation.
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
- modeler-decision-loggerSkill
- paper-polisherSkill
- paper-section-writerSkill
- problem-classifierSkill
- problem-parserSkill
- python-code-reviewerSkill
- python-model-code-generatorSkill
- 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
We split this skill into the rules it gives an agent
11 rules. About 0 are common, 9 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈9
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 18
Read legacy candidate/decision artifacts only when the new artifacts are absent.
- Distinctive: line 22
Read the approved choice, method card, probe conditions, and experiment budget.
- Very specific: line 40
Create logs/ only for failures, warnings, or reproducibility needs.
- Very specific: line 41
Write code/Qx/qx_code_plan.md for Python or code/matlab/Qx/qx_code_plan.md for MATLAB.
- Distinctive: line 97
Do not write executable model code.
- Distinctive: line 98
Do not add candidates or change model meaning.
- Distinctive: line 99
Do not plan a diagnostic reference as the official baseline.
- Distinctive: line 100
Do not implement a fallback before activation.
- Distinctive: line 101
Do not require success logs.
- Distinctive: line 102
Do not create a README when the code plan already provides the same instructions.
- Distinctive: line 103
Stop if a human choice, required parameter, input field, or comparable baseline output is missing.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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
Purpose
Define exactly what code must implement and save. Do not expand the approved experiment scope or fully plan a dormant fallback.
Preconditions
methods/Qx/qx_method_card.mdand probe summary exist.methods/Qx/qx_decisions.jsonlcontains a humanDECIDEDmethod choice.- A usable baseline is identified.
- Cleaned data and
data_profile.jsonare ready when data is required. - Implementation target and round are known.
Read legacy candidate/decision artifacts only when the new artifacts are absent.
Workflow
- Read the approved choice, method card, probe conditions, and experiment budget.
- Plan only:
- approved
main; - approved
usable_baseline; - shared helpers and comparison logic.
- approved
- Record the fallback ID and trigger, but do not plan its full implementation unless the trigger is already evidenced and the human chose activation.
- Map mathematical definitions to inputs, processing steps, intermediate evidence, outputs, and validation checks.
- Define a directly comparable metric/output contract for main and baseline.
- Define the round output:
results/Qx/experiments/roundN/
├── figures/
├── tables/
├── metrics/
└── run_summary.jsonCreate logs/ only for failures, warnings, or reproducibility needs.
7. Write code/Qx/qx_code_plan.md for Python or code/matlab/Qx/qx_code_plan.md for MATLAB.
8. Hand off to the matching language generator.
Run Summary Contract
Require:
{
"schema_version": 1,
"question": "Q1",
"round": "round1",
"implementation_target": "python",
"random_seed": 2026,
"approved_decision_id": "q1_method_choice",
"methods": [
{
"method_id": "M1",
"role": "usable_baseline",
"script": "code/Q1/q1_baseline.py",
"status": "success",
"execution_time_seconds": 0,
"input_files": [],
"output_files": [],
"figure_files": [],
"metrics_summary": {},
"warnings": [],
"errors": []
}
],
"comparison": {},
"fallback_trigger": {
"fallback_id": null,
"condition": null,
"observed": false,
"evidence": null
},
"environment": {}
}Code Plan Contents
- target language and round purpose;
- approved decision ID;
- main and baseline IDs and roles;
- input fields and units;
- per-method computation steps;
- comparable outputs and metrics;
- risk-probe conditions that implementation must monitor;
- fallback trigger evaluation;
- paths, seed, dependencies, and expected runtime;
- named review checks expected downstream.
Rules
- Do not write executable model code.
- Do not add candidates or change model meaning.
- Do not plan a diagnostic reference as the official baseline.
- Do not implement a fallback before activation.
- Do not require success logs.
- Do not create a README when the code plan already provides the same instructions.
- Stop if a human choice, required parameter, input field, or comparable baseline output is missing.
Verification
- Plan scope is exactly main plus usable baseline unless fallback activation is recorded.
- Outputs are directly comparable.
- Probe risks and fallback trigger are represented in
run_summary.json. - Paths follow the experiment contract.
- Handoff targets the correct language generator.
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.

