docx-thesis

docx-thesis is a skill for Claude Code from KhaledSaeed18/dotclaude. It costs 112 tokens per session (1,265 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,265 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.01265
Opus 5.5 $0.00045 $0.00506
Sonnet 5.5 $0.00022 $0.00253
Haiku 4.5 $0.00011 $0.00127

Measured today against content hash b0e3a5132ae7, 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 today.

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 · 68 lines

How it starts

The opening of the file, as written. The whole thing — 68 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 · 68 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. today Changed · +1 lines b0e3a5132ae7
  2. 2mo 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 (7 stars, last pushed today), licensed MIT. It adds 112 tokens to every session and 1,265 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

docx-thesis compared with skills from other repositories

docx-thesis next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
docx-thesisKhaledSaeed18/dotclaudeSkill7todayMITA112Claude Code
food-pptPangenomeAI/academic-skills-food-nutritionSkill494d agoMITA208Claude Code
agri-pptPangenomeAI/academic-skills-food-nutritionSkill494d agoMITA184Claude Code
thesis-consistency-auditNero1688/claude-academic-skillsSkill151mo agoMITA500Claude Code, Codex
nature-paper2ppttuoxie2046/claude-code-research-skillsSkill65mo agononeA146Claude Code
pydicomK-Dense-AI/scientific-agent-skillsSkill59kyesterdayMITA52Claude Code, Codex
create-technical-diagramsEverMind-AI/RavenSkill6.4ktodayApache-2.0A127Claude Code, Codex