Agent skill

Thesis DOCX

by catlog22 in catlog22/maestro-flow

Create, revise, and format thesis or dissertation Word documents with strict academic formatting control.

MITAuto-check passedDocuments & Office

Install Thesis DOCX

skills CLI
$ npx skills add catlog22/maestro-flow --skill thesis-docx -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install catlog22/maestro-flow thesis-docx --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/catlog22/maestro-flow.git skills-src && mkdir -p .claude/skills && cp -r skills-src/optional/skills/scholar-thesis-docx .claude/skills/thesis-docx && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
thesis-docx
GitHub stars
564
Used in
1 other repo
Token cost
~2.5k tokens
SKILL.md length
1,265 words
Files
18 (incl. scripts, references)
Skills in repo
30
Repo updated
First seen
Licence
MIT

At a glance

Create, revise, and format thesis or dissertation Word documents with strict academic formatting control.

  • Works in 4 steps: audit first, → separate explicit school requirements… → fix only what is justified, → …
  • An AI agent needs to generate
  • SKILL.md covers Overview, Pre-load (before execution), Workflow and Style Strategy, plus 7 more sections
  • Runs PowerShell and Python scripts from its folder

What it does

Thesis DOCX is an agent skill from catlog22/maestro-flow. Create, revise, and format thesis or dissertation Word documents with strict academic formatting control. Use when an AI agent needs to generate or revise thesis content, normalize Word styles, follow a school template, fix captions or page numbers or section levels, or produce evidence-based Mermaid figures and LaTeX-formatted code listings for a thesis document.

Its SKILL.md is about 2.5k tokens, which your agent loads only when the skill is triggered. The skill folder holds 21 other files, including scripts and reference files (for example `README.md`, `README_EN.md` and `agents/openai.yaml`).

It sits in Documents & Office, covering Essays and academic help and Word documents. It works with Microsoft Word, Mermaid and LaTeX. The repository describes itself as: Intent-driven workflow orchestration for multi-agent AI development — adaptive lifecycle engine, self-reinforcing knowledge graph, and visual dashboard for Claude Code, Gemini…. The licence is MIT.

When your agent uses it

  • An AI agent needs to generate
  • Revise thesis content
  • Normalize Word styles
  • Follow a school template

Example prompts

  • “/thesis-docx”

Requirements

  • Python 3
  • PowerShell

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. audit first,
  2. separate explicit school requirements from unspecified formatting,
  3. fix only what is justified,
  4. re-check page by page before claiming completion.

What it can do on your machine

Read from SKILL.md and the folder at commit af37312. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 4 files in scripts/ (PowerShell and Python, from the files we listed), which the agent can run.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Thesis DOCX loads about 2.5k tokens when it runs, and up to ~5.5k if it reads all its reference files. Until then it costs about 95 tokens; SKILL.md has 1,265 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~95
When it runs · the whole SKILL.md, loaded when a task matches
~2.5k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~5.5k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from catlog22/maestro-flow at commit af37312, republished under its MIT licence (© catlog22). 1,265 words, ~2,540 tokens.

Download SKILL.mdSave it as .claude/skills/thesis-docx/SKILL.md (or your agent's skills folder). This skill also uses 17 other files; get the full folder from GitHub.
name
thesis-docx
description
Create, revise, and format thesis or dissertation Word documents with strict academic formatting control. Use when an AI agent needs to generate or revise thesis content, normalize Word styles, follow a school template, fix captions or page numbers or section levels, or produce evidence-based Mermaid figures and LaTeX-formatted code listings for a thesis document.
disable-model-invocation
true
session-mode
none

Thesis DOCX

Overview

Use this skill for thesis-oriented .docx work where content quality and format fidelity both matter. Prefer Microsoft Word desktop automation over WPS-like alternatives whenever the task involves batch formatting, styles, captions, pagination, tables of contents, or cross-references.

This skill is designed to avoid the most common thesis-editing failure mode: the agent makes broad formatting changes too early, introduces new layout problems, and then forces the user to catch them one by one. The default behavior should therefore be:

  1. audit first,
  2. separate explicit school requirements from unspecified formatting,
  3. fix only what is justified,
  4. re-check page by page before claiming completion.

Pre-load (before execution)

  1. Codebase docs: If .workflow/codebase/ARCHITECTURE.md exists, read for project context
  2. Specs: maestro load --type spec --category coding — load coding conventions
  3. Wiki knowledge: maestro search "thesis academic writing docx formatting" --json — top 5 entries as prior context
  4. All optional — proceed without if unavailable

Workflow

  1. Check Microsoft Word and COM/DOM automation first.
    • On Windows, run:
    powershell
    powershell -ExecutionPolicy Bypass -File scripts/check_word_com.ps1 -Json
    • If Word is missing, COM is unavailable, or DOM access fails:
      • Stop the automation-heavy plan.
      • Tell the user to install desktop Microsoft Word.
      • Explain briefly that WPS or similar tools are likely to degrade layout fidelity for thesis formatting.
  2. Read the user's real constraints before editing.
    • Collect the thesis template, school formatting guide, screenshots, existing document, sample pages, and any explicit chapter rules.
    • If the user gave formal requirements, follow them strictly.
    • If the user did not give requirements, do not invent school-specific standards. Use conservative academic defaults and say that they are defaults.
    • Explicitly classify requirements into two buckets before editing:
      • must enforce: school guide, template, user-confirmed style rules
      • preserve current state: anything the school guide does not define
  3. Audit the DOCX / OOXML before risky bulk edits.
    • Prefer scripts/audit_docx_ooxml.py before large-scale formatting.
    • Use it to detect hidden indentation, section drift, stale REF display text, and style-ID mismatches before deciding on a repair strategy.
  4. Standardize with styles, not scattered direct formatting.
    • Reuse and repair existing styles whenever possible.
    • Create missing styles only when no matching style exists.
    • Keep body text, headings, figure captions, table captions, references, abstract, and appendix styles separate and consistent.
    • Before changing any style globally, inspect whether the document contains direct paragraph formatting or OOXML overrides that will survive the style change.
  5. Edit content only from user-provided facts.
    • Expand, polish, or reorganize thesis text only within the user's topic, evidence, codebase, notes, or source material.
    • Do not invent experimental data, system structure, entities, or results.
  6. Generate figures only when the source material is sufficient.
    • Use Mermaid for architecture diagrams, E-R diagrams, flow charts, state diagrams, and similar thesis figures.
    • Base every node, field, relation, and dependency on real materials from the user, such as code, SQL schema, API docs, project docs, or the thesis draft itself.
    • If the materials are insufficient, refuse to fabricate the figure and ask for the missing source information.
  7. Typeset code with LaTeX conventions when thesis code excerpts are needed.
    • Keep only the code relevant to the argument.
    • Preserve real identifiers from the user's code or design.
    • Avoid synthetic filler code written only to look complete.
  8. Audit before you claim completion.
    • Run a structure audit first: styles, sections, captions, references, page number scheme, cross-references, hidden paragraph overrides.
    • Then export the document to PDF from Word and review page by page.
    • Only say the task is complete after the PDF-level audit passes or after you clearly state the remaining manual visual checks.

Style Strategy

  • Treat styles as the single source of truth for formatting.
  • Prefer these logical style buckets:
    • Body Text
    • Heading 1 / Heading 2 / Heading 3
    • Figure Caption
    • Table Caption
    • References
    • Abstract
    • Keywords
    • Appendix Title
  • If the document already has equivalent styles, map to them and normalize their font, spacing, indentation, and numbering behavior.
  • If direct formatting conflicts with styles, reduce the direct formatting and bring the document back under style control.
  • Do not globally normalize sections that the school guide does not specify. Examples of high-risk overreach:
    • page header/footer redesign when the user only asked for headings
    • changing code box appearance when the task is only about references
    • normalizing table internals when the school guide does not regulate them
  • When a visual issue remains after style normalization, inspect hidden OOXML state such as firstLineChars, numbering indentation, titlePg, differentFirstPageHeaderFooter, REF field display text, and direct run formatting.
Show full SKILL.md (538 more words)Show less

Audit-First Discipline

Before bulk editing, produce and internally follow a checklist like this:

  1. Which parts are explicitly regulated by the school guide?
  2. Which parts are user-defined house rules?
  3. Which parts are currently acceptable and must be preserved?
  4. Which problems are structural vs. visual-only?
  5. Which fixes can be done safely through styles?
  6. Which fixes require Word COM or OOXML-level patching?

Do not say "finished" merely because a structural audit looks good. For thesis work, pagination and page-level rendering are part of correctness.

High-Risk Pitfalls

Read references/failure-patterns-and-quality-gates.md before large-scale formatting work. In particular, guard against:

  • style names that look correct but map to the wrong style IDs
  • paragraph-level direct formatting that overrides the intended style
  • firstLineChars or numbering indentation creating invisible extra indents
  • TOC fields or cross-reference fields showing stale display text
  • section-level first-page settings causing missing headers or page numbers
  • Word vs. WPS differences for table row height, vertical alignment, and code box title clipping
  • punctuation normalization that accidentally rewrites DOI, URLs, code, or English references

Visual Review Rule

For school-format-sensitive thesis work, final verification should prefer this order:

  1. Word COM/DOM structural checks
  2. Word export to PDF
  3. page-by-page PDF review
  4. only then final delivery language

If page rendering cannot be verified, say so explicitly instead of implying the formatting is fully validated.

Figure Rules

  • Use Mermaid when a thesis figure is needed and the structure can be traced to real source material.
  • Keep the diagram academically neutral and concise.
  • Avoid decorative labels, chatty callouts, and speculative entities.
  • Match the user's terminology unless it conflicts with the real materials.
  • Read references/figure-and-code-rules.md before generating diagrams.

Code Listing Rules

  • Prefer LaTeX-oriented code presentation when the thesis includes code listings.
  • Keep the listing faithful to the actual code.
  • Trim non-essential boilerplate when it does not support the thesis argument.
  • If the user requests a specific LaTeX package or listing style, follow it.

Resource Guide

  • scripts/check_word_com.ps1
    • Detect whether Microsoft Word desktop and COM/DOM automation are available.
  • scripts/audit_docx_ooxml.py
    • Audit DOCX styles, direct indentation, section settings, numbering, and REF field behavior before making risky formatting changes.
  • scripts/normalize_word_styles.ps1
    • Batch-normalize thesis body text, Heading 1-3, figure captions, and table captions through Word COM automation.
  • scripts/export_word_pdf.ps1
    • Export the current thesis document to PDF through Word COM for page-level review.
  • scripts/render_mermaid_figure.ps1
    • Render Mermaid source into thesis-ready SVG, PNG, or PDF figure assets.
  • references/paper-format-workflow.md
    • Read for the standard Word thesis formatting workflow.
  • references/figure-and-code-rules.md
    • Read before generating Mermaid figures or LaTeX code listings.
  • references/failure-patterns-and-quality-gates.md
    • Read before large-scale formatting or before claiming the thesis is fully checked.
  • references/script-usage.md
    • Read for command examples and config file conventions.

Final Checks

  • Confirm the document is still style-driven after edits.
  • Confirm captions, numbering, page breaks, and table of contents are coherent.
  • Confirm cross-references display the current target labels, not stale field text.
  • Confirm section settings do not silently remove page headers or page numbers from first pages.
  • Confirm references are formatted according to the school rules and that punctuation normalization did not damage DOI or English references.
  • Confirm every diagram and code block is grounded in user-provided material.
  • Export to PDF and inspect every page before saying the format is complete.
  • If Word automation or PDF verification was unavailable, explicitly warn that layout fidelity was not guaranteed.

© catlog22, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 17 other files (scripts, references) in optional/skills/scholar-thesis-docx of catlog22/maestro-flow.

  • SKILL.md
  • .gitignore
  • LICENSE
  • README.md
  • README_EN.md
  • agents/openai.yaml
  • examples/architecture.sample.mmd
  • examples/final-audit-checklist.sample.md
  • examples/word-style-config.sample.json
  • references/failure-patterns-and-quality-gates.md
  • references/figure-and-code-rules.md
  • references/paper-format-workflow.md
  • references/script-usage.md
  • scripts/audit_docx_ooxml.py
  • scripts/check_word_com.ps1
  • scripts/export_word_pdf.ps1
  • scripts/normalize_word_styles.ps1
  • … and 1 more

Open the folder on GitHubat commit af37312

Used in 1 other repository

We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in catlog22/maestro-flow, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Thesis DOCX next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Thesis DOCX compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Thesis DOCX this skillcatlog22/maestro-flow5641 repos~2.5kAutomated safety check: PassMIT
Paper2patent7toCR/paper2patent649—~2.5kAutomated safety check: PassMIT
Thu ThesisLeoYeAI/openclaw-master-skills2.2k—~4kAutomated safety check: PassMIT
Academic Paper ComposerAAASS554/codex-academic-paper-skills5391 repos~3.2kAutomated safety check: PassMIT
Chinese Thesis WorkbenchZyhSechub/chinese-thesis-workbench-skill576—~2.9kAutomated safety check: PassMIT
Master Thesis Studiodarksider-9/master-thesis-studio-skill129—~3.1kAutomated safety check: PassMIT

Similar skills

  • Paper2patent

    7toCR/paper2patent

    Turn an academic paper (PDF, LaTeX, pasted text, thesis chapter or technical disclosure) into a Chinese invention patent application draft — 说明书摘要、摘要附图、权利要求书、说明书、说明书附图 — delivered as DOCX/PDF with…

    649 GitHub stars~2.5k tokensUpdated 2 days ago
    Documents & OfficeAuto-check passed
  • Thu Thesis

    LeoYeAI/openclaw-master-skills

    清华大学毕业论文 Word → PDF 一键格式规范化工具。输入任意 Word (.docx) 格式的清华毕业论文,自动转换为符合清华 thuthesis 官方 LaTeX 模板规范的高质量 PDF。适用于所有清华学位论文(MBA/学硕/专硕),一条命令搞定。功能:自动提取章节结构、中英文摘要、参考文献(自动生成 BibTeX)、图片(含…

    2.2k GitHub stars~4k tokensUpdated 2 mo ago
    Documents & OfficeAuto-check passed
  • Academic Paper Composer

    AAASS554/codex-academic-paper-skills

    A skill your agent uses when the user needs to turn a real software engineering / computer science project and an existing thesis draft into a submission-ready undergraduate thesis manuscript.

    539 GitHub starsUsed in 1 repo~3.2k tokens
    Documents & OfficeAuto-check passed
  • Chinese Thesis Workbench

    ZyhSechub/chinese-thesis-workbench-skill

    Standardizes, drafts, revises, checks and packages Chinese undergraduate theses from school templates, source code and literature, with evidence traceability and DOCX output.

    576 GitHub stars~2.9k tokensUpdated 5 mo ago
    Documents & OfficeAuto-check passed
  • Master Thesis Studio

    darksider-9/master-thesis-studio-skill

    A skill your agent uses for Southeast University-style master's thesis projects from a Word template or existing draft, including optional reverse parsing of an existing DOCX, user intake, outline…

    129 GitHub stars~3.1k tokensUpdated 5 mo ago
    Documents & OfficeAuto-check passed
  • Biomedical Paper

    LeoYeAI/openclaw-master-skills

    AI-powered biomedical manuscript generation with docx output.

    2.2k GitHub stars~3.3k tokensUpdated 2 mo ago
    Documents & OfficeAuto-check passed

More from catlog22/maestro-flow

All 30 skills in this repo
  • Team Swarm

    catlog22/maestro-flow

    Swarm intelligence team skill — ACO-driven multi-agent exploration with hybrid LLM coordinator + Python optimization controller.

    564 GitHub stars~2k tokensUpdated yesterday
    Auto-check: notes
  • Scholar Anti AI Writing

    catlog22/maestro-flow

    Remove AI writing patterns from academic prose. An agent skill from catlog22/maestro-flow.

    564 GitHub stars~1.7k tokensUpdated yesterday
    Auto-check: notes
  • Scholar Citation Verify

    catlog22/maestro-flow

    Four-layer citation verification for academic papers. An agent skill from catlog22/maestro-flow.

    564 GitHub stars~1.6k tokensUpdated yesterday
    Auto-check: notes
  • Maestro Help

    catlog22/maestro-flow

    Maestro Flow 命令帮助系统。搜索命令、浏览技能、工作流推荐、新手引导。Triggers on "maestro-help", "帮助", "命令", "怎么用", "skill", "workflow", "maestro 怎么用".

    564 GitHub stars~2.4k tokensUpdated yesterday
    Auto-check passed
  • Maestro Impeccable

    catlog22/maestro-flow

    A skill your agent uses when designing, reviewing, refining, fixing, or codifying frontend UI with Maestro's self-contained Impeccable core

    564 GitHub stars~4.8k tokensUpdated yesterday
    Auto-check: notes
  • Scholar Experiment

    catlog22/maestro-flow

    Systematic experimental results analysis workflow for ML/AI research papers.

    564 GitHub stars~3.4k tokensUpdated yesterday
    Auto-check: notes

Questions about Thesis DOCX

What does Thesis DOCX do?

Create, revise, and format thesis or dissertation Word documents with strict academic formatting control. Thesis DOCX is an agent skill from catlog22/maestro-flow. Create, revise, and format thesis or dissertation Word documents with strict academic formatting control.

When should I use Thesis DOCX?

Thesis DOCX fits situations like: an AI agent needs to generate; revise thesis content; normalize Word styles; follow a school template.

How do I install Thesis DOCX in Claude Code?

Run `npx skills add catlog22/maestro-flow --skill thesis-docx -a claude-code`. Or copy the skill folder (optional/skills/scholar-thesis-docx in catlog22/maestro-flow) into .claude/skills/thesis-docx in your project. Claude Code loads it when a task matches its description.

How do I install Thesis DOCX in Codex?

Run `npx skills add catlog22/maestro-flow --skill thesis-docx -a codex`. Or copy the skill folder (optional/skills/scholar-thesis-docx in catlog22/maestro-flow) into .agents/skills/thesis-docx in your project. Codex loads it when a task matches its description.

Can I use Thesis DOCX in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add catlog22/maestro-flow --skill thesis-docx -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/thesis-docx, .gemini/skills/thesis-docx, .github/skills/thesis-docx and .opencode/skills/thesis-docx in your project.

What does Thesis DOCX need to run?

Going by SKILL.md and its folder, Thesis DOCX needs PowerShell and Python for the scripts in its folder. Our summary lists: Python 3; PowerShell.

Does Thesis DOCX access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Thesis DOCX safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Thesis DOCX use?

Thesis DOCX is published under the MIT licence (from the LICENSE file in the skill folder). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Thesis DOCX use?

About 2.5k tokens (SKILL.md is roughly 10k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 3k tokens, read only when the agent opens those files.

What are the alternatives to Thesis DOCX?

Skills that share tags, products or a category with Thesis DOCX: Paper2patent (7toCR/paper2patent, 649 stars), Thu Thesis (LeoYeAI/openclaw-master-skills, 2.2k stars), Academic Paper Composer (AAASS554/codex-academic-paper-skills, 539 stars) and Chinese Thesis Workbench (ZyhSechub/chinese-thesis-workbench-skill, 576 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Thesis DOCX?

catlog22 (a GitHub user) maintains it in catlog22/maestro-flow, which has 564 GitHub stars. The repository holds 30 skills in this directory. The repository was last updated on October 7, 2026.

Source: catlog22/maestro-flow on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.