Borrowing it
Nothing to install: this file belongs to fuwenhao12/academic-ref-inserter. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/fuwenhao12/academic-ref-inserter/main/.trae/skills/academic-formula-inserter/SKILL.mdgit clone --depth 1 https://github.com/fuwenhao12/academic-ref-inserterWrote 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/fuwenhao12/academic-ref-inserter/academic-formula-inserter)<a href="https://agentmods.dev/skills/fuwenhao12/academic-ref-inserter/academic-formula-inserter"><img src="https://agentmods.dev/badge/skills/fuwenhao12/academic-ref-inserter/academic-formula-inserter/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/fuwenhao12/academic-ref-inserter/academic-formula-inserter"><img src="https://agentmods.dev/badge/skills/fuwenhao12/academic-ref-inserter/academic-formula-inserter.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.00061 | $0.01520 |
| Opus 5 | $0.00030 | $0.00760 |
| Sonnet 5 | $0.00012 | $0.00304 |
| Haiku 4.5 | $0.00006 | $0.00152 |
Grade A, and why
academic-formula-inserter 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 12d 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 — 178 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Academic Formula Inserter
Insert, format, number, and validate math formulas in academic papers. Supports Word (.docx) with native OMML equations and LaTeX (.tex) output, with automatic formatting per journal standards.
Supported Journal Formats
| Category | Formats | Examples |
|---|---|---|
| Chinese Core | GB/T 7714 formula style | 中文核心、CSCD、CSSCI |
| International | IEEE, APA, Nature, Science | Elsevier, Springer, Taylor & Francis |
| General Academic | Custom numbering & style | Thesis, dissertation, report |
Formula Numbering Styles
| Style | Example | Used By |
|---|---|---|
chinese |
式(1) 式(2) |
Chinese core journals |
parentheses |
(1) (2) |
IEEE, general |
brackets |
[1] [2] |
Some physics journals |
section |
(1.1) (2.3) |
Thesis with section-based numbering |
latex-tag |
\tag{1} \label{eq:1} |
LaTeX native |
Commands
insert-formula — Insert LaTeX formula into Word document
Converts LaTeX string to native Word OMML equation and inserts at cursor or specified location.
Usage:
python insert_formula.py insert-formula <docx_path> --latex "<formula>" [--display] [--style <style>] [--number <num>]
Options:
| Argument | Description |
|---|---|
<docx_path> |
Path to .docx file |
--latex |
LaTeX formula string (e.g. "E=mc^2") |
--display |
Display equation (centered, default: inline) |
--style |
Numbering style: chinese, parentheses, brackets, section, none |
--number |
Specific number for the equation |
--position |
Paragraph index to insert at |
--label |
Equation label for cross-reference |
--interactive |
Interactive mode: prompt to choose numbering style from a menu |
batch-convert — Batch convert all LaTeX in document
Scans the document for $...$ and $$...$$ patterns and converts them to native OMML equations.
Usage:
python insert_formula.py batch-convert <docx_path> [--backup] [--mode quick|safe|full]
What ships with it
11 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.
- scripts/build_docx_raw.py 18 KB runs code
- scripts/build_ole_docx.py 22 KB runs code
- scripts/convert_omml_to_mathtype.py 6.2 KB runs code
- scripts/convert_omml_to_mathtype.vbs 3.5 KB
- scripts/convert_to_mathtype.py 4.6 KB runs code
- scripts/formula_inserter.py 11 KB runs code
- scripts/formula_numbering.py 5.2 KB runs code
- scripts/latex_omml_converter.py 9.5 KB runs code
- scripts/mathtype_integration.py 11 KB runs code
- scripts/run_tests.py 5.5 KB runs code
- scripts/utils/journal_profiles.py 2.9 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.
- 12d ago First seen · 178 lines · 61 tokens per session scan A f93b405006c7
academic-formula-inserter is a skill published in the GitHub repository fuwenhao12/academic-ref-inserter (56 stars, last pushed 3mo ago), licensed MIT. It adds 61 tokens to every session and 1,520 once invoked, about $0.0003 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-30.
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…