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 agentmods add skills/haodongcui/thesis-md2docx/skillnpx skills add haodongcui/Thesis-md2docx --skill skillgit clone --depth 1 https://github.com/haodongcui/Thesis-md2docxWrote 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/haodongcui/thesis-md2docx/skill)<a href="https://agentmods.dev/skills/haodongcui/thesis-md2docx/skill"><img src="https://agentmods.dev/badge/skills/haodongcui/thesis-md2docx/skill.svg" alt="Measured on agentmods" 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.00065 | $0.00693 |
| Opus 5 | $0.00032 | $0.00347 |
| Sonnet 5 | $0.00013 | $0.00139 |
| Haiku 4.5 | $0.00006 | $0.00069 |
Grade A, and why
thesis-md2docx 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 6d 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 — 77 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Thesis MD2DOCX Skill
Use this skill when the user wants an agent to work with a thesis maintained as Markdown and exported with the thesis-md2docx repository.
Prefer Markdown as the source of truth. Treat DOCX/PDF files as generated outputs.
Repository
Expected repository:
https://github.com/haodongcui/Thesis-md2docx
If the current working directory is not the repository root, set:
export THESIS_MD2DOCX_REPO=/path/to/Thesis-md2docx
If the repository is missing, clone it first:
git clone https://github.com/haodongcui/Thesis-md2docx.git
Workflow
-
Locate the repository root. It must contain
md2docx.py. -
Check the environment:
bash scripts/check_env.sh -
If the Markdown contains formulas, make sure the formula helper is installed:
npm install --prefix thesis_md2docx/math/latex2omml_node -
Check the source Markdown structure. Load
references/markdown-usage.mdwhen the document is missing front matter, numbered chapters, references, figures, tables, or appendices. -
Export DOCX:
md2docx thesis.md --out output --profile xju-undergraduate-thesis -
Export PDF and page images when layout preview is needed:
md2docx thesis.md --pdf --pages --out output --profile xju-undergraduate-thesis --backend auto -
For the repository example,
./export-example.sh/.ps1/.cmdshould produceexample/output/thesis-demo.docx,example/output/thesis-demo.pdf, andexample/output/pages/page-*.png. -
Use the Word backend as the final layout baseline when available. Use LibreOffice for quick preview only.
-
Remind the user that final Word/WPS inspection is still required for TOC refresh, pagination, figures, tables, formulas, and references.
References
references/markdown-usage.md: Markdown writing conventions and minimal structure.references/pdf-backends.md: Word, LibreOffice, and auto PDF backend guidance.references/troubleshooting.md: common warnings, formula dependency issues, and layout checks.
What ships with it
7 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.
- 6d ago First seen · 77 lines · 65 tokens per session scan A f5ae953d13ed
thesis-md2docx is a skill published in the GitHub repository haodongcui/Thesis-md2docx (11 stars, last pushed 3mo ago), licensed MIT. It adds 65 tokens to every session and 693 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
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.
foundry-hosted-agent-validation
Step-by-step process for validating a Python Foundry hosted agent sample (under python/samples/04-hosting/foundry-hosted-agents/) end to end — running it locally (native runtime and azd ai agent run) and after deploying it to an Azure AI Foundry project with azd. Use this when asked to validate a hosted agent sample.
skill-doc-delivery
Convert markdown to DOCX, PPTX, XLSX, PDF office documents — use when you need exportable deliverables.
pdf-extract-create-workflow
Complete PDF lifecycle: download, extract, and generate structured documents with reportlab.
document-direct-python
Use direct Python execution for reliable document creation including spreadsheets, PDFs, and structured reports.
pdf-verification-cli
Verify PDF page count and content using command-line tools when Python libraries unavailable.