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 MrSGSA/math-modeling-skill-dify --skill paper-writergit clone --depth 1 https://github.com/MrSGSA/math-modeling-skill-difyWrote 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/mrsgsa/math-modeling-skill-dify/paper-writer)<a href="https://agentmods.dev/skills/mrsgsa/math-modeling-skill-dify/paper-writer"><img src="https://agentmods.dev/badge/skills/mrsgsa/math-modeling-skill-dify/paper-writer/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/mrsgsa/math-modeling-skill-dify/paper-writer"><img src="https://agentmods.dev/badge/skills/mrsgsa/math-modeling-skill-dify/paper-writer.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.00040 | $0.01723 |
| Opus 5 | $0.00020 | $0.00861 |
| Sonnet 5 | $0.00008 | $0.00345 |
| Haiku 4.5 | $0.00004 | $0.00172 |
Grade A, and why
paper-writer 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 9d 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 — 63 lines — stays where its author put it; the contents beside it link to each section on GitHub.
论文手
路径
ROLE_ROOT:本文件所在目录。SKILL_ROOT:ROLE_ROOT/../../..,只读。PROJECT_ROOT:用户项目目录,论文只写这里。
交付物
默认交付 PROJECT_ROOT/完整论文.docx;当届官方提交格式包含 PDF 时,同时交付门禁发布的 PROJECT_ROOT/完整论文.pdf。内部候选稿、清单和日志不交付。论文仅供参考。
官方规则优先级
- 用户提供的当届官方模板和规则。
- 从目标竞赛官方网站取得的当届模板和规则。
references/论文模板.docx与../../../tools/docx/scripts/paper_format.py只作为无官方模板时的构建基线,不得声称替代当届官方文件。
在生成前明确竞赛名称、届次、语言和官方规则来源。官方结构、页型、页边距、摘要页、页数、编号和提交格式均以当届规则为准。
不自动添加、删除或推断 AI 使用披露,也不把模型或厂商名写成默认作者、批注者或修订者。是否需要披露及披露内容,由用户依据当届官方规则明确决定;规则强制要求时必须遵守,决定与依据应留在项目发布记录中,而不是由工具暗中写入文档元数据。
同时把约束分成两类:当届官方硬约束,以及用户明确要求或根据题目论证需求预先声明的质量区间。没有可追溯依据时,不设置固定最低字数、恰好页数、摘要填充率或公式/图/表数量;往届或其他竞赛的数值只能作核验线索,不能成为当前项目默认值。源码、支撑材料清单、附录版式和提交方式均按目标竞赛当届规则处理。不得为压缩或拉长篇幅擅自改成横版、双栏、极小字号、重复内容或强制章节分页;只有官方模板、用户明确要求或真实排版需要才改变版式或分页。
图形既包括真实代码结果图,也包括帮助读者理解模型的算法流程图、模型结构图、几何解释图、变量关系图和验证逻辑图。解释类图形可用 Python、矢量工具或流程图工具生成,不要求全部由主求解语言绘制;但必须与最终模型、符号、算法和代码一致,并在正文承担明确的解释作用。数值图只能使用真实运行结果,禁止用示意图冒充结果图。
执行顺序
- 完整读取
../../用户追加硬限制.md,筛选当前有效条目并形成“限制—发布清单字段—验证证据”映射;未映射的适用硬限制直接阻断写作。 - 读取题目、
题目分析报告.md、术语表格.md、全部真实运行表格、图和代码。 - 读取通过评审门的
results/red_team_audit.json与results/result_registry.json;关键审计未通过时禁止开始定稿。 - 用 Claim-Evidence 映射核对每个主张;缺证据时回退到评审手指定的建模手或编程手,禁止编造。所有重复数值从结果注册表写入,不在论文脚本中手工复制。
- 核对审计中的参数语义与约束对照:正文使用的参数值、单位、允许域和行为必须与审计一致;未解决的越界、贴边、反常单调性、不可辨识或跨模型冲突不得藏入“模型缺点”后继续给出确定结论。
- 若发现会使核心结论失效的重大缺陷,先回退修复或替换模型,不把重大缺陷留到“模型评价”中自我否定,也不得隐瞒后继续声称结论可靠。
- 按审计文件标注的证据强度使用“可行方案、当前预算下较优、离散层全局最优、全局最优”等措辞,不得升级结论。
- 按官方结构写完整正文。引用先由检索结果发现,再以 DOI 或原始出版页面核验;两个引擎均可用时执行交叉匹配,单引擎故障时保留失败原因和“未完成双引擎交叉验证”状态,不因降级而伪造第二来源。
- 使用
../../../tools/docx/SKILL.md和paper_format.py从官方参考模板构建 DOCX;公式必须为 Word 原生 OMML,表格必须可编辑。 - 只生成
论文候选稿.docx,不得在此步写出完整论文.docx。使用发布清单指定、与最终阅卷环境兼容的渲染器将候选稿实际渲染为 PDF;模板依赖 Word 专有布局时优先使用 Word,改用其他渲染器时记录版本并抽检差异。 - 建立 2.1 版发布清单,动态声明:竞赛与届次、规则来源及核验日期、模板路径与 SHA-256、分页结构、适用的官方硬约束和质量目标、摘要必答项及逐项
requirement/原文证据,以及候选稿、渲染 PDF、结果注册表、红队审计文件的路径与 SHA-256。记录实际渲染器及版本;备用模板必须有用户明确批准。 - 运行
../../../tools/docx/scripts/paper_release_gate.py。官方硬约束、来源锁定、证据文件锁定和结构错误始终阻断;声明为阻断的质量目标同样阻断。只有用户明确批准并留下证据时才可调整非官方质量目标,不能豁免官方硬约束或红队失败。门禁通过后才发布完整论文.docx,并按official_rules.submission_format发布可选的最终 PDF。
What ships with it
9 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.
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.
- 9d ago First seen · 63 lines · 40 tokens per session scan A 69a0aca5f39c
paper-writer is a skill published in the GitHub repository MrSGSA/math-modeling-skill-dify (4 stars, last pushed 1mo ago), licensed MIT. It adds 40 tokens to every session and 1,723 once invoked, about $0.0002 per session on Opus 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-31.
Other skills, from other repositories
clinical-case-report
Structured medical case presentation for clinical rounds, conferences, and documentation. Generates SOAP-format or narrative case reports with physiologically accurate vitals, labs, and evidence-based plans. Use when the brief mentions "case report", "case presentation", "SOAP note", "clinical case", "ward rounds"…
instrument-data-to-allotrope
Convert laboratory instrument output files (PDF, CSV, Excel, TXT) to Allotrope Simple Model (ASM) JSON format or flattened 2D CSV. Use this skill when scientists need to standardize instrument data for LIMS systems, data lakes, or downstream analysis. Supports auto-detection of instrument types. Outputs include full…
pydicom
Use pydicom to read, inspect, write, transform, and safely preflight local DICOM datasets and pixel data. Applies to DICOM metadata, transfer syntaxes, compression plugins, frames, private elements, JSON, and bounded de-identification review.
nature-experiment-log
A workflow for turning experiment notes, images, audio, or text into structured Markdown laboratory logs with YAML metadata. It can also organize raw attachments and optionally connect the logs to Feishu or Obsidian.
structuring-radiology-reports
Converts free-text radiology narratives into structured findings and impression — with measurements, laterality, anatomy, and follow-up recommendations — after OpenMed NER. Use when the user has a CT/MRI/X-ray/ultrasound/mammography report and needs the sections split (technique, comparison, findings, impression)…
parsing-ccda-documents
Parses C-CDA / CCD XML clinical documents to extract human-readable section narrative plus coded entries, keyed by section LOINC codes and templateIds. Use before OpenMed processing when ingesting C-CDA R2.1 documents (CCD, Discharge Summary, H&P, Consultation Note) exported from an EHR and you need the narrative…