docx-thesis

docx-thesis is a skill for Claude Code from KhaledSaeed18/dotclaude. It costs 112 tokens per session (1,236 once invoked), scanned A, original, MIT.

A workflow for writing a thesis in Word while keeping the source in Markdown or LaTeX and generating the final .docx file with Pandoc. It also covers citation files, Zotero, and Word styles.

In plain words
What is it for?
Use it to organise thesis chapters, convert them to Word, apply a department template, manage citations, and rebuild the document when the source changes.
Why use it?
It keeps the editable source, references, formatting rules, and delivered Word document consistent instead of relying on manual edits in Word.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Part of the thesis plugin — 21 skills, 3 commands, 2 agents shipped together

Good fit Use it to organise thesis chapters, convert them to Word, apply a department template, manage citations, and rebuild the document when the source changes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/khaledsaeed18/dotclaude/docx-thesis
Install

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.

Any agent
npx skills add KhaledSaeed18/dotclaude --skill docx-thesis
Clone the repo
git clone --depth 1 https://github.com/KhaledSaeed18/dotclaude

Made for: Claude Code.

Or install thesis, the plugin that ships this one along with the rest of its 21 skills, 3 commands, 2 agents.

Wrote 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.

agentmods badge for docx-thesis

README.md
[![agentmods](https://agentmods.dev/badge/skills/khaledsaeed18/dotclaude/docx-thesis/github.svg)](https://agentmods.dev/skills/khaledsaeed18/dotclaude/docx-thesis)
Your own site
<a href="https://agentmods.dev/skills/khaledsaeed18/dotclaude/docx-thesis"><img src="https://agentmods.dev/badge/skills/khaledsaeed18/dotclaude/docx-thesis/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.

agentmods 80×15 button for docx-thesis

Your own site · 80×15
<a href="https://agentmods.dev/skills/khaledsaeed18/dotclaude/docx-thesis"><img src="https://agentmods.dev/badge/skills/khaledsaeed18/dotclaude/docx-thesis.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 112 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,236 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00112 $0.01236
Opus 5.5 $0.00045 $0.00494
Sonnet 5.5 $0.00022 $0.00247
Haiku 4.5 $0.00011 $0.00124

Measured 25d ago against content hash bcaf09489ea3, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

docx-thesis 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 25d 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.

.claude-plugin/plugins/thesis/skills/docx-thesis/SKILL.md · 67 lines

How it starts

The opening of the file, as written. The whole thing — 67 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Word is a delivery format, not an authoring format. Author in plain text under git, convert at the end of each cycle, and treat the .docx as a build artifact you regenerate rather than edit. This keeps citation-verifier, humanize, and the whole pipeline working while the department gets what it asked for.

Pipeline

chapters/*.md  +  references.bib  +  template/reference.docx  +  style.csl
        │
        └── pandoc ──▶ build/thesis.docx
  1. Author each chapter in Pandoc Markdown ([@key] citations, $math$, ![caption](figures/x.png){#fig:x}, Table: caption {#tbl:x}), or keep LaTeX and let pandoc read it (loses some packages; test early).

  2. Reference document: open the department's template in Word, or create one with pandoc -o template/reference.docx --print-default-data-file reference.docx, then set the styles (Heading 1..3, Body Text, First Paragraph, Caption, Table, Source Code, Bibliography) to the required fonts and spacing. Pandoc copies styles from this file; it ignores its content.

  3. Citation style: download the CSL for the required style (IEEE, APA 7, Harvard) from the Zotero style repository (https://www.zotero.org/styles/<name>) into style.csl.

  4. Build:

    pandoc chapters/*.md \
      --reference-doc=template/reference.docx \
      --citeproc --bibliography=references.bib --csl=style.csl \
      --filter pandoc-crossref \
      --toc --number-sections \
      -o build/thesis.docx
    

    pandoc-crossref numbers figures, tables, and equations and resolves @fig:x. Install with pip install pandoc-crossref or the release binary.

  5. Finish in Word only what pandoc cannot do: the title page from the template, the declaration page, updating the table of contents (right-click, Update field), page numbering sections. Keep a checklist so it is repeatable.

Zotero

The .bib remains the source of truth (bibtex-manager). Two ways to keep Zotero in step:

  • Zotero as a view: import references.bib (File → Import), re-import after changes. Simple, one-way.
  • Better BibTeX auto-export: install Better BibTeX, set its key format to auth.lower + year + shorttitle(1,1).lower so keys match the .bib, then right-click the thesis collection → Export → Better BibLaTeX with "Keep updated". Zotero becomes the editing UI and the file stays current. Use this when the supervisor shares a Zotero group.

Read the full file on GitHub · 67 lines

Changes

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.

  1. 25d ago First seen · 67 lines · 112 tokens per session scan A bcaf09489ea3

Subscribe to this mod's changes

docx-thesis is a skill published in the GitHub repository KhaledSaeed18/dotclaude (5 stars, last pushed 2d ago), licensed MIT. It adds 112 tokens to every session and 1,236 once invoked, about $0.0004 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-09-22.

Related

Other skills, from other repositories

thesis-consistency-audit

A consistency audit for quantitative master’s and doctoral theses in management, finance, or strategy. It checks whether numbers, tables, analyses, and claims agree, and can inspect hidden author information in office documents.

Nero1688/claude-academic-skills · 500 tokens

food-ppt

Turn a food & nutrition review report, evidence brief, or manuscript into a fully EDITABLE PowerPoint (.pptx) that opens in PowerPoint / Keynote / Google Slides with every title, bullet, table, and figure as a native editable object — nothing flattened to an image. Converts the outputs of food-research…

PangenomeAI/academic-skills-food-nutrition · 208 tokens

agri-ppt

Turn an agricultural-science review report, evidence brief, or manuscript into a fully EDITABLE PowerPoint (.pptx) — every title, bullet, table, and figure a native editable object, nothing flattened to an image. Same machinery as food-ppt, but for agricultural work: converts the outputs of agri-research…

PangenomeAI/academic-skills-food-nutrition · 184 tokens

nature-paper2ppt

Build a complete but efficient Nature-style Chinese PPTX presentation from a scientific paper, preprint, PDF, article text, abstract, figure legends, or reading notes. Use this skill whenever the user asks to make slides/PPT/PPTX for journal club, group meeting, paper sharing, thesis seminar, lab meeting, department…

tuoxie2046/claude-code-research-skills · 146 tokens

pydicom

Reads, inspects, writes, transforms, and preflights local DICOM datasets and pixel data. Applies to DICOM metadata, transfer syntaxes, compression plugins, frames, private elements, JSON, and bounded de-identification review.

K-Dense-AI/scientific-agent-skills · 52 tokens

create-technical-diagrams

A guide for creating technical diagrams and engineering documents that show components, connections, processes, states, timing, interfaces, or cause and effect. It includes system and network diagrams, flow and sequence diagrams, electrical plans, mechanical sections, and scientific mechanism diagrams.

EverMind-AI/Raven · 127 tokens