Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add chengziyue1222/math-model-agent --skill write-model-papergit clone --depth 1 https://github.com/chengziyue1222/math-model-agentWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/chengziyue1222/math-model-agent/write-model-paper)<a href="https://agentmods.dev/skills/chengziyue1222/math-model-agent/write-model-paper"><img src="https://agentmods.dev/badge/skills/chengziyue1222/math-model-agent/write-model-paper/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/chengziyue1222/math-model-agent/write-model-paper"><img src="https://agentmods.dev/badge/skills/chengziyue1222/math-model-agent/write-model-paper.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00042 | $0.01756 |
| Opus 5.5 | $0.00017 | $0.00702 |
| Sonnet 5.5 | $0.00008 | $0.00351 |
| Haiku 4.5 | $0.00004 | $0.00176 |
Grade A, and why
write-model-paper scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 72 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Write Model Paper
Reconcile every abstract/body/caption/table number with the same saved value and denominator. Review figures at their final inserted size on the rendered manuscript pages; a standalone export cannot establish manuscript readability.
Read references/practical-figure-insertion.md for specialized figures. Use saved values and denominators in captions and prose; retain one semantic palette across the paper. Internal evidence IDs can remain in saved registries without visible [claim:ID] markers. Explicit venue controls layout; profile controls process intensity.
Write the paper a contest reader sees: mathematical reasoning, evidence, figures and readable pages. Evidence checks protect the draft backstage; they must not turn the paper into an engineering log.
Workflow
- Confirm the contest template, problem source, model-selection rationale, results, figures, validation evidence and citations. Do not draft numbers, references or claims that lack a source.
- Read
references/paper-generation-guide.mdandreferences/paper-structure.md. If the working project providesconfig/paper_style.yaml, treat it as an optional local override rather than a required file. For CUMCM 2026, also readreferences/cumcm-2026-authoring.md. Use current official rules over repository defaults. - Draft an abstract that fits one page: problem essence and overall framework, then each question's method, decisive result and necessary validation; end with a short scope statement and 4--7 keywords.
- Build the paper in the canonical order: abstract, keywords, restatement, analysis, assumptions, notation, conditional unified model, each question's model/solution/results, validation and sensitivity, evaluation, AI-tool declaration when required by the venue, references and appendix. CUMCM papers do not include a contents page.
- Add a unified-model section only when upstream dependency analysis establishes a shared core. Otherwise make the separate routes clear rather than forcing a formal common layer.
- For every formula, write purpose before it and definitions, computation and validity after it. For every result, write result, pattern, mechanism, evidence and implication; include limitations where they affect a decision.
Read
references/evidence-and-consistency.mdwhen drafting results, revising claims or reconciling repeated numbers. Distinguish a supported mechanism from a proposed explanation, and keep terminology, precision and uncertainty definitions synchronized across prose, figures and tables. - Use figures and three-line tables as evidence, not decoration. Put a table title above the table; retain representative rows in the body and move exhaustive data to an attachment.
- Cite only sources actually needed for methods, non-original theorems or external facts. Put references and appendix on separate pages. The appendix must list every support-package file and include every complete, self-authored runnable source file at readable size; list third-party dependencies and installation steps instead of embedding library source or binaries.
- Render and visually inspect the PDF. Check that the abstract is electronic page 1, restatement follows it with continuous numbering, no contents or blank contents page exists, venue-specific page and package limits (30 pages and 20 MB (local cap: 20,000,000 bytes) for the configured CUMCM baseline) are respected, and no page, table, figure, bibliography or code is clipped or garbled.
- Build the support ZIP/RAR from a manifest, verify the manifest exactly matches archive entries, include all local modules/data/config/fonts/plot assets, and rerun the declared reproduction command from a clean extracted temporary directory. RAR validation requires
rarfileand a workingunrar,7zip,unar, orbsdtarbackend. Any missing dependency or nonzero run blocks submission readiness. - For CUMCM 2026, place
AI工具使用声明before references. If AI was used, generateAI工具使用详情.pdffrom actual records (useassets/ai-tool-usage-details-template.md), include it in the support manifest/archive and reconcile every adopted non-language output with a manual verification record.
What ships with it
18 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- agents/openai.yaml 254 B
- assets/ai-tool-usage-details-template.md 1.5 KB
- assets/cume-template.tex 12 KB
- references/cumcm-2026-authoring.md 2.8 KB
- references/evidence-and-consistency.md 2.8 KB
- references/paper-generation-guide.md 3.3 KB
- references/paper-structure.md 2.9 KB
- references/practical-figure-insertion.md 886 B
- references/rule-pack-integration.md 672 B
- scripts/docx_png_figures.lua 585 B
- scripts/execute_skill.py 374 B runs code
- scripts/format_cumcm_docx.py 9.5 KB runs code
- scripts/render_template_preview.py 3.7 KB runs code
- scripts/resolve_paper_venue.py 812 B runs code
- scripts/set_docx_body_restart.ps1 1.5 KB runs code
- scripts/validate_cumcm_layout.py 7.9 KB runs code
- scripts/write_process_competition_paper.py 27 KB runs code
- scripts/write_supplier_competition_paper.py 32 KB runs code
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3d ago Changed · +18 lines 53e714461fd9
- 1mo ago Changed · +6 lines 8479c0d74b17
- 2mo ago First seen · 48 lines · 42 tokens per session scan A cef00814daf0
write-model-paper is a skill published in the GitHub repository chengziyue1222/math-model-agent (24 stars, last pushed 4d ago), licensed MIT. It adds 42 tokens to every session and 1,756 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
write-model-paper compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| write-model-paperchengziyue1222/math-model-agent | Skill | 24 | 4d ago | MIT | A | 42 | Codex |
| instrument-data-to-allotropeanthropics/knowledge-work-plugins | Skill | 35k | 2d ago | Apache-2.0 | A | 123 | Claude Code |
| exploratory-data-analysisK-Dense-AI/scientific-agent-skills | Skill | 56k | 4d ago | MIT | A | 83 | Claude Code |
| matlabK-Dense-AI/scientific-agent-skills | Skill | 56k | 4d ago | MIT | A | 44 | Claude Code |
| phylogeneticsK-Dense-AI/scientific-agent-skills | Skill | 56k | 4d ago | MIT | A | 71 | Claude Code, Codex |
| research-engineerdavila7/claude-code-templates | Skill | 33k | yesterday | MIT | A | 43 | Claude Code, Codex |
| mapping-to-snomedmaziyarpanahi/openmed | Skill | 5.8k | yesterday | Apache-2.0 | A | 205 | Claude Code |