paper-workflow-orchestrator
Skill455 starsChanged 43 days agoMITView on GitHub
编排完整的数学建模工作流,从赛题与附件出发依次完成输入预检、题意分析、模型路线、数据与图表、代码与真实运行、证据门禁、正式写作与 Word/PDF 检查。当用户要做完整篇数学建模论文、需要从零跑通或从中断处续跑整个流程时使用。
1 other project uses a version of this.
Adopted by
Most recently taken up by
- xzwwwwww/Enhanced-mathmodel-Codex-skillstheir own version, first seen May 6, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- xzwwwwww/Enhanced-mathmodel-Codex-skills★ 113same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository10 other files it gives its agents.
- authoritative-data-harvesterSkill
- context-memory-keeperSkill
- data-cleaning-and-visualizationSkill
- model-code-and-result-generatorSkill
- modeling-paper-rubric-and-model-selectorSkill
- paper-formal-writerSkill
- paper-micro-unit-generatorSkill
- problem-doc-model-selectorSkill
- quality-assurance-auditorSkill
- MathModel Skill StandardSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
17 rules. About 0 are common, 7 are distinctive, and 10 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
This author's own choices. Worth a look.
10
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 11
Use this skill as the only entry router for a complete competition-paper task.
- Very specific: line 22
Read paper_output/qa/workflow_guard_report.json and follow recommended_skill plus next_action.
- Distinctive: line 24
Do not run downstream skills before their guard requirement passes.
- Very specific: line 38
Use problem-doc-model-selector to create paper_output/step1/problem_analysis.json.
- Very specific: line 48
Use authoritative-data-harvester only when public external data is necessary.
- Very specific: line 52
Use data-cleaning-and-visualization.
- Very specific: line 56
Use model-code-and-result-generator to write question-specific code under paper_output/code/modeling/, including run_modeling.py and …
- Very specific: line 60
Run the modeling code. Preserve script, input, output, exit-code, size, and SHA-256 records in paper_output/results/run_manifest.json.
- Very specific: line 64
Use quality-assurance-auditor and run official evidence validation:
- Very specific: line 70
Do not enter formal writing until paper_output/qa/evidence_gate_report.json is PASS and all recorded inputs are still fresh.
- Very specific: line 74
Use paper-formal-writer as the sole formal author:
- Distinctive: line 83
After every active unit passes:
- Distinctive: line 125
Never invent model results, data sources, successful runs, citations, or validation.
- Distinctive: line 126
Every critical numeric claim must trace to current machine-readable evidence.
- Distinctive: line 130
Do not expose skill names, guard commands, or workflow prose in the paper body.
- Distinctive: line 131
Do not write contest-specific code into installed skill directories.
- Very specific: line 143
Read the guard report, current stage contracts, and paper_output/context/workflow_memory.json.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 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
MathModel Standard Orchestrator
Resolve <SKILL_ROOT> to the parent directory of this loaded skill folder, using its actual absolute path. Run commands from the contest project root, never from the installed skill directory. The placeholder is not a shell environment variable.
Use this skill as the only entry router for a complete competition-paper task. Standard targets strong models that can maintain a long evidence chain and execute tools reliably while keeping cost controlled. It does not use Pro multi-agent tournaments or approval checkpoints.
Start Or Resume
From the contest project root, run:
python "<SKILL_ROOT>/paper-workflow-orchestrator/scripts/preflight_check.py"
python "<SKILL_ROOT>/paper-workflow-orchestrator/scripts/workflow_guard.py" --statusRead paper_output/qa/workflow_guard_report.json and follow recommended_skill plus next_action. The current files and hashes override conversational memory.
Do not run downstream skills before their guard requirement passes. After a child skill finishes, return here and evaluate status again.
S0-S8
S0 Input Admission
preflight_check.py inventories problem_files/, hashes every input, checks runtime dependencies, prepares paper_output/, and rejects mixed MathModel editions. Required outputs:
paper_output/preflight_report.jsonpaper_output/input_manifest.jsonpaper_output/OUTPUT_LAYOUT.md
S1 Problem Analysis
Use problem-doc-model-selector to create paper_output/step1/problem_analysis.json. Every question, attachment, field, objective, constraint, ambiguity, and required output must be traceable.
S2 Model And Rubric Route
Use modeling-paper-rubric-and-model-selector. Produce:
paper_output/plan/model_route.jsonpaper_output/plan/rubric_alignment.jsonpaper_output/plan/scoring_strategy.md
Use authoritative-data-harvester only when public external data is necessary. Keep source identity and retrieval notes.
S3 Data And Visualization Plan
Use data-cleaning-and-visualization. Read only files classified in the input manifest and produce a fresh load report, data plan, visualization plan, figure index, and cleaned data. Contest-specific code belongs under paper_output/code/, never inside installed skills.
S4 Reproducible Model Code
Use model-code-and-result-generator to write question-specific code under paper_output/code/modeling/, including run_modeling.py and per-question modules. Code must emit machine-readable result contracts.
S5 Real Execution
Run the modeling code. Preserve script, input, output, exit-code, size, and SHA-256 records in paper_output/results/run_manifest.json. Required evidence includes model results, finite metrics, conclusions, tables, and usable figures. Draft placeholders do not count.
S6 Evidence Gate
Use quality-assurance-auditor and run official evidence validation:
python "<SKILL_ROOT>/quality-assurance-auditor/scripts/evidence_gate.py" --mode officialDo not enter formal writing until paper_output/qa/evidence_gate_report.json is PASS and all recorded inputs are still fresh.
S7 Adaptive Formal Writing
Use paper-formal-writer as the sole formal author:
python "<SKILL_ROOT>/paper-formal-writer/scripts/build_paper_outline.py"
python "<SKILL_ROOT>/paper-formal-writer/scripts/prepare_authoring.py" --mode autoNormal competition papers use complete-section drafting, possibly over several turns. Preserve the formal writer's declared competition scope; a short report needs an explicit user-requested scope and reason. Audit every draft with validate_authoring.py --section; global repeated failure falls back to section mode. A section’s second repeated category creates a micro-repair route; only then may paper-micro-unit-generator repair the queued location. The third repeated category blocks S7 and suggests Lite without switching automatically.
After every active unit passes:
python "<SKILL_ROOT>/paper-formal-writer/scripts/assemble_sections.py"
python "<SKILL_ROOT>/paper-formal-writer/scripts/validate_authoring.py" --assembledThe Agent must then globally revise the full assembly into paper_output/final_paper_source.md; a copy-only promotion is rejected. Finish with:
python "<SKILL_ROOT>/paper-formal-writer/scripts/validate_authoring.py" --final
python "<SKILL_ROOT>/paper-formal-writer/scripts/format_formal_docx.py"S8 Format And Render Gate
Run:
python "<SKILL_ROOT>/paper-formal-writer/scripts/check_paper_format.py" --render requiredDelivery requires a fresh PASS in paper_output/format_check_report.json. Fix the reported source, formula, citation, figure/table, DOCX, pagination, or PDF issue and rerun; never edit the report to force PASS.
Formal Outputs
paper_output/plan/writing_plan.json
paper_output/context/authoring_state.json
paper_output/qa/draft_audit.json
paper_output/qa/repair_queue.json
paper_output/drafts/sections/*.md
paper_output/drafts/assembled_draft.md
paper_output/final_paper_source.md
paper_output/final_paper.docx
paper_output/format_check_report.jsonLegacy micro-unit and quickstart outputs remain under paper_output/drafts/legacy/ and paper_output/quickstart/. They can never satisfy S7.
Non-Negotiable Invariants
- Never invent model results, data sources, successful runs, citations, or validation.
- Every critical numeric claim must trace to current machine-readable evidence.
- Any upstream hash change invalidates dependent S6-S8 reports.
- Each included figure/table must exist, be indexed, cited, and interpreted.
- Formal formulas must become editable Word OMML; no screenshot or plain-text substitution.
- Do not expose skill names, guard commands, or workflow prose in the paper body.
- Do not write contest-specific code into installed skill directories.
- Install one MathModel edition per contest project.
Recovery
For an interrupted or long task:
python "<SKILL_ROOT>/paper-workflow-orchestrator/scripts/workflow_guard.py" --status
python "<SKILL_ROOT>/context-memory-keeper/scripts/update_workflow_memory.py"Read the guard report, current stage contracts, and paper_output/context/workflow_memory.json; continue from the first failing stage instead of replaying completed work.
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.

