Export
Skill yha9806/academic-writing-toolkit/plugins/academic-writing-toolkit/skills/export
Convert thesis chapters and reading notes from Markdown to Word (.docx) and package for submission. Use when preparing materials for supervisors or examiners.From its SKILL.md
npx -y skills add yha9806/academic-writing-toolkit --skill exportAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- runs commandsInstructs the agent to run 1 command, including `python {skill_dir}/scripts/convert_to_docx.py --base-dir {project_root} --output-dir {project_root}/final_output --scope {scope} --lang-filter {lang_filter}`.
SKILL.md
2.3 KB, 522 tokens by cl100k_base, as published. Nobody here has run it
/export — Document Export Skill
Purpose
Convert thesis chapters and reading notes from Markdown to Word (.docx) format and package them into a ZIP archive for submission to supervisors or examiners. This skill is user-invoked only and will not be triggered automatically.
Trigger Words
This skill activates on: /export. It is never invoked automatically by the model.
Parameters
$ARGUMENTS[0]-- scope:chapters|notes|all(default:all)$ARGUMENTS[1]-- language filter:en-only|all(default:all)
Examples:
/export chapters en-only-- export only chapter files, skip files with significant CJK content/export notes all-- export only reading notes, include all languages/export-- export everything, all languages
Workflow
-
Check dependencies. Verify that
pypandocis installed AND a workingpandocbinary is on PATH (the script smoke-probes viapypandoc.get_pandoc_version()). If pypandoc/pandoc are unavailable, fall back topython-docx+markdown. Report which conversion method is being used.Run from the project root.
-
Run the conversion script.
python {skill_dir}/scripts/convert_to_docx.py \ --base-dir {project_root} \ --output-dir {project_root}/final_output \ --scope {scope} \ --lang-filter {lang_filter} -
Report results.
## Export Complete | Item | Value | |------|-------| | Files converted | {N} | | Files skipped (language filter) | {N} | | Output directory | {path} | | ZIP archive | {path} | | Total size | {size} | Conversion method: {pandoc | python-docx fallback}
Constraints
- User-invoked only. This skill has
disable-model-invocation: trueand must not run unless the user explicitly calls/export. - No hardcoded paths. All paths are derived from arguments or project root.
- No emoji in output.
- Preserve formatting as much as possible during conversion -- headings, tables, block quotes, inline code.
What ships with it: 1 file
13.9 KB alongside SKILL.md, 1 of them executable
scripts/
- convert_to_docx.pyruns13.9 KB