writer
Automate LibreOffice Writer Documents
Manual document creation and format conversion wastes time. This skill automates LibreOffice Writer for batch processing, template generation, and seamless ODT/DOCX/PDF workflows.
Baixar o ZIP da skill
Upload no Claude
Vá em Configurações → Capacidades → Skills → Upload skill
Ative e comece a usar
Testar
A utilizar "writer". Create a document titled Project Status with sections for Overview, Progress, and Risks.
Resultado esperado:
Created: project_status.odt with 3 heading levels, 200 words placeholder content, default Liberation Serif font, saved to workspace.
A utilizar "writer". Convert quarterly_report.odt to PDF and DOCX formats.
Resultado esperado:
Conversion complete: quarterly_report.pdf (245 KB), quarterly_report.docx (89 KB). Original ODT preserved.
A utilizar "writer". Extract text from meeting_notes.odt as markdown.
Resultado esperado:
# Meeting Notes
## Attendees
List of participants...
## Action Items
- Task 1 assigned to John
- Task 2 assigned to Sarah
Auditoria de Segurança
Baixo RiscoStatic analyzer flagged 34 patterns but most are false positives. The skill uses subprocess.run with list arguments (safe pattern, not shell=True). Documentation URLs are references, not network calls. Temp file handling uses secure TemporaryDirectory(). One low concern: function parameters passed to subprocess could benefit from input validation.
Problemas de Baixo Risco (1)
Fatores de risco
⚙️ Comandos externos (2)
📁 Acesso ao sistema de arquivos (1)
Pontuação de qualidade
O Que Você Pode Construir
Business Report Generation
Automate monthly report creation by filling template placeholders with data from spreadsheets, then batch-convert to PDF for distribution.
Document Format Standardization
Convert legacy DOC files to ODT format for version control, ensuring consistent document handling across teams using open standards.
Bulk Certificate Production
Generate hundreds of personalized certificates from a template using mail merge with attendee names from a CSV file.
Tente Estes Prompts
Create a new LibreOffice Writer document with a title heading and two paragraphs of placeholder text. Save it as report.odt in the current directory.
Convert all ODT files in the documents folder to PDF format using headless LibreOffice. Log any conversion failures.
Generate personalized invitation letters using template.odt and attendees.csv. Replace {name}, {date}, and {venue} placeholders. Output each letter as a separate PDF named by attendee.Extract all text content from report.odt while preserving heading hierarchy. Output as structured markdown with H1 for document title and H2 for section headers.
Melhores Práticas
- Use paragraph and character styles instead of direct formatting for consistent document appearance
- Create reusable templates for recurring document types like reports, letters, and memos
- Test format conversions with sample documents before running batch operations on critical files
Evitar
- Do not pass unsanitized user input directly to subprocess commands without path validation
- Avoid running LibreOffice in headless mode without proper error handling for locked files
- Do not store sensitive data in temporary directories without setting restrictive file permissions
Perguntas Frequentes
What is the difference between ODT and DOCX formats?
Do I need LibreOffice installed to use this skill?
Can this skill handle large batch conversions?
How does mail merge work with this skill?
What happens if a conversion fails?
Is the UNO socket connection secure?
Detalhes do Desenvolvedor
Autor
sickn33Licença
MIT
Repositório
https://github.com/sickn33/antigravity-awesome-skills/tree/main/skills/libreoffice/writerReferência
main
Estrutura de arquivos
📄 SKILL.md