Rylai DOCX
SkillFiles & storageCreate, inspect, edit, and verify Word DOCX files with python-docx, including Markdown conversion, text replacement, metadata inspection, and optional PDF render.
Available today. Use it from your connected AI after setup.
No other account needed.
Connect ahel once, and every AI you use reads what you have installed.
Then ask your AI: use the Rylai DOCX skill
What this skill tells your AI
The instructions your AI receives, as published by rylaispirit/rylai-codex-hermes-skills in skills/docx/SKILL.md and read by ahel’s review.
This is an original Rylai Codex-Hermes-Claude workflow. Use the open-source
python-docx package for document work and LibreOffice only when local
rendering is useful.
Runtime
- Required for the bundled script: Python 3 and
python-docx. - Optional: LibreOffice (
soffice) for PDF rendering. - Resolve
scripts/docx_tool.pyrelative to this skill folder. - Do not install packages unless the user approves installation.
- Set new or modified document author metadata to
Rylaiunless the user explicitly requests another author.
Workflow
- Inspect source files and identify the requested document structure.
- Keep instructions out of the final document body.
- Create a new output path instead of overwriting the user's source.
- Reopen the saved DOCX to verify that it is readable.
- For layout-sensitive work, render to PDF with LibreOffice and inspect the result.
Bundled CLI
Create a styled DOCX from simple Markdown:
python scripts/docx_tool.py create input.md output.docx --title "Report"
Supported Markdown includes headings, paragraphs, bullet lists, numbered lists, block quotes, simple emphasis, inline code, and pipe tables.
Inspect structure and metadata:
python scripts/docx_tool.py inspect output.docx
python scripts/docx_tool.py inspect output.docx --text
Replace text while keeping the source unchanged:
python scripts/docx_tool.py replace input.docx output.docx \
--set "{{client}}=Rylai Studio" \
--set "{{date}}=2026-08-09"
Render to PDF when LibreOffice is available:
python scripts/docx_tool.py render output.docx rendered
Quality Rules
- Preserve the visual conventions of an existing document unless the user asks for a redesign.
- Use real heading styles instead of visually enlarged body paragraphs.
- Keep tables readable and avoid squeezing too many columns onto one page.
- Verify metadata, paragraph count, table count, and extracted text with the
inspectcommand. - Report that visual verification was skipped when LibreOffice is unavailable.
Signals
- GitHub stars
- 55
- Forks
- 41
- Last commit
- Aug 2026
- Hacker News mentions
- 20
Advanced
- Catalog kind
- skill
- Gateway key
docx-rylaispirit- Source
- github.com/rylaispirit/rylai-codex-hermes-skills