text-to-docx
Installation
SKILL.md
Text to DOCX Skill
Description
This skill converts plain text files into .docx format using the python-docx library. It preserves line breaks by creating a new paragraph for each line in the source file.
Usage
To convert a text file, execute the following command using uv:
XDG_CACHE_HOME=/tmp/.cache UV_CACHE_DIR=/tmp/.uv-cache \
uv run --with python-docx python3 ~/deploy/configs/llm/skills/text-to-docx/scripts/txt_to_docx.py <input_txt> <output_docx>