paper-micro-unit-generator
Skill455 starsChanged 43 days agoMITView on GitHub
按修复队列重写反复不通过的论文章节,或按明确要求生成旧版与演练草稿脚手架。当章节连续审计失败需要局部重写、或用户明确要求快速草稿而非正式论文时使用。
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-workflow-orchestratorSkill
- 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
13 rules. About 0 are common, 7 are distinctive, and 6 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.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 11
Use this skill only for local repair or an explicitly requested legacy scaffold.
- Very specific: line 27
Read paper_output/plan/writing_plan.json, paper_output/context/authoring_state.json, paper_output/qa/draft_audit.json, and …
- Distinctive: line 29
Read the affected section draft and only the evidence needed by that issue.
- Very specific: line 30
Write repair material to paper_output/drafts/repairs/<issue-id>.md.
- Very specific: line 40
If the same blocking category reaches the third changed attempt, respect authoring_state.status = BLOCKED.
- Distinctive: line 45
Use only computed values and paths present in the current evidence chain.
- Distinctive: line 47
Do not invent data, citations, completed experiments, or successful validation.
- Distinctive: line 48
Do not expose workflow language in paper prose.
- Distinctive: line 49
Do not renumber existing figure, table, equation, or bibliography references.
- Very specific: line 75
Never write final_paper.md, final_paper_source.md, final_paper.docx, or similarly formal names from legacy/quickstart mode.
- Distinctive: line 79
Read references/micro-unit-library.md only when a queued repair needs a fine-grained paragraph/sentence pattern or when the user explicitly …
- Distinctive: line 83
After a formal repair, run workflow status and update persistent context:
- Very specific: line 91
Read the persistent snapshot at paper_output/context/workflow_memory.json before resuming a repair.
≈ “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
Paper Micro-Unit Generator
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 only for local repair or an explicitly requested legacy scaffold. paper-formal-writer remains the sole formal author and the only producer of paper_output/final_paper_source.md and paper_output/final_paper.docx.
Entry Check
For formal repair, run:
python "<SKILL_ROOT>/paper-workflow-orchestrator/scripts/workflow_guard.py" --skill paper-micro-unit-generatorContinue only when S0-S6 pass and paper_output/qa/repair_queue.json contains at least one item whose strategy is micro-repair. Do not create a repair queue manually to bypass the two-failure threshold.
Legacy and quickstart modes are installation or old-model scaffolds. They do not satisfy S7 and do not require the formal repair queue.
Formal Repair Mode
- Read
paper_output/plan/writing_plan.json,paper_output/context/authoring_state.json,paper_output/qa/draft_audit.json, andpaper_output/qa/repair_queue.json. - Select only queued
micro-repairitems. Keep the issue ID, section, failure category, expected evidence, and attempt count intact. - Read the affected section draft and only the evidence needed by that issue. Do not rewrite unrelated sections.
- Write repair material to
paper_output/drafts/repairs/<issue-id>.md. The material must contain concrete replacement text, its target location, and any required evidence marker. - Apply the replacement to the queued section draft. Preserve valid headings, equations, figure/table identifiers, citations, and evidence markers.
- Re-run the section audit:
python "<SKILL_ROOT>/paper-formal-writer/scripts/validate_authoring.py" --section <section-id>- Return to
paper-formal-writerorpaper-workflow-orchestrator. This skill must not assemble the formal manuscript or generate Word.
If the same blocking category reaches the third changed attempt, respect authoring_state.status = BLOCKED. Report the evidence or requirement causing the failure and suggest Lite as a user decision; never switch editions automatically.
Repair Rules
- Repair the failed claim or paragraph, not the whole paper.
- Use only computed values and paths present in the current evidence chain.
- Preserve
<!-- mathmodel-evidence: ... -->markers until deterministic assembly removes them. - Do not invent data, citations, completed experiments, or successful validation.
- Do not expose workflow language in paper prose.
- Do not renumber existing figure, table, equation, or bibliography references.
- A repair is complete only after
validate_authoring.py --sectionreturns PASS.
Legacy Mode
The old command names remain available. With no arguments they write only to paper_output/drafts/legacy/:
python "<SKILL_ROOT>/paper-micro-unit-generator/scripts/generate_all_offline.py"
python "<SKILL_ROOT>/paper-micro-unit-generator/scripts/merge.py"Expected outputs:
paper_output/drafts/legacy/micro_units/*.txt
paper_output/drafts/legacy/generate_log.json
paper_output/drafts/legacy/legacy_scaffold.md
paper_output/drafts/legacy/legacy_scaffold.docx
paper_output/drafts/legacy/legacy_ref_check.mdtasks.json is required only for this legacy batch path. The merge is deterministic and preserves existing reference numbers.
For the built-in smoke test, the orchestrator passes --output-root paper_output/quickstart --stem quickstart_scaffold; all smoke-test files stay under paper_output/quickstart/.
Never write final_paper.md, final_paper_source.md, final_paper.docx, or similarly formal names from legacy/quickstart mode.
Template Library
Read references/micro-unit-library.md only when a queued repair needs a fine-grained paragraph/sentence pattern or when the user explicitly requests legacy scaffolding. Do not load the full 200+ template library for ordinary section writing.
Handoff
After a formal repair, run workflow status and update persistent context:
python "<SKILL_ROOT>/paper-workflow-orchestrator/scripts/workflow_guard.py" --status
python "<SKILL_ROOT>/context-memory-keeper/scripts/update_workflow_memory.py"The guard report is authoritative if memory and current artifacts disagree.
Read the persistent snapshot at paper_output/context/workflow_memory.json before resuming a repair.
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.

