Skip to main content

docx

Works on existing Word (.docx) files at the package level with python-docx and lxml. Dumps and replaces text while keeping run formatting, adds or lists comments, accepts, rejects or creates tracked changes, unpacks, repacks and validates the OOXML package, converts with headless LibreOffice.

When to use​

Use when the user asks to "edit this Word file", "add comments to the docx", "accept all tracked changes", "replace the text in the contract" or "check why this docx is corrupted". In French "modifie ce fichier Word", "ajoute des commentaires dans ce document", "accepte les modifications suivies" or "remplace le texte du contrat". New documents from scratch belong to docx-generator.

Inputs and tools​

The skill takes the request of the user in natural language: its frontmatter declares no argument. It declares no allowed-tools: the tools available are those of the agent that loads it, under the tool policy of the project.

Reference​

FieldValue
Namedocx
CategoryDocuments
VersionNot declared
LicenceNot declared
Allowed toolsNot declared
Pluginsdocument-skills
Sourcecatalog/navin/skills/docx/SKILL.md
Digestsha256:18e2b14c2818da45a9b6fdc50bf573cc91b071e017122785690e7353b939fa64
skill_md_digestsha256:9b01d6efe71161a96229f53713730fd8771acd44e72fed8d60b07f5d067b14b8
EmojiπŸ“

Bundled files​

PathCount
catalog/navin/skills/docx/references1
catalog/navin/skills/docx/scripts5

Frontmatter​

Every field of the SKILL.md frontmatter, with the value of the source:

FieldValue
namedocx
descriptionWorks on existing Word (.docx) files at the package level with python-docx and lxml. Dumps and replaces text while keeping run formatting, adds or lists comments, accepts, rejects or creates tracked changes, unpacks, repacks and validates the OOXML package, converts with headless LibreOffice. Use when the user asks to "edit this Word file", "add comments to the docx", "accept all tracked changes", "replace the text in the contract" or "check why this docx is corrupted". In French "modifie ce fichier Word", "ajoute des commentaires dans ce document", "accepte les modifications suivies" or "remplace le texte du contrat". New documents from scratch belong to docx-generator.
metadata.navin.emojiπŸ“
metadata.navin.categorydocuments