Saltar al contenido
Skillpedia
PDF, Word y diapositivas12 mil · #11564

docx

Qué hace

Esta skill ayuda al agente a trabajar con archivos de Microsoft Word. Puede leerlos, crear nuevos y hacer ediciones cuidadosas. Está pensada para cualquiera que necesite producir o actualizar un documento de Word.

Cuándo usarla

  • ✓Cuando quieres crear un nuevo documento de Word a partir de tu contenido.
  • ✓Cuando quieres que se hagan cambios en un archivo de Word sin alterar su formato.
  • ✓Cuando necesitas rellenar una plantilla de Word o revisar cambios controlados y comentarios.

Link de la skill

https://github.com/EKKOLearnAI/ekko-studio/blob/main/packages/ekko-agent/skills/docx/SKILL.md

Cópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.

Cómo usar

La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.

Mensaje listo para pegar

Usa esta skill para ayudarme: https://github.com/EKKOLearnAI/ekko-studio/blob/main/packages/ekko-agent/skills/docx/SKILL.md Lee el archivo SKILL.md de ese link y sigue sus instrucciones en mi tarea.
¿Quieres que tu IA encuentre skills como esta por sí sola?Instala el MCP gratis de Skillpedia: una línea, y busca entre 15.000+ skills antes de cada tarea.Instalar en 1 minuto →

Ejemplo de qué pedirle a la IA

“Rellena los marcadores de esta plantilla de Word con los datos de clientes de mi lista.”

5 skills nuevas por semana. 1 minuto de lectura.

Cómo funciona

El agente primero inspecciona el archivo y después usa pequeños scripts auxiliares para leer, editar, añadir comentarios, rellenar plantillas o comprobar el resultado. Por defecto guarda una copia nueva en lugar de sobrescribir el original.

Contenido técnico (SKILL.md original)

Texto original del autor, en inglés, directo de GitHub.

Word documents

Use this Skill for .docx work. Preserve the user's content and formatting intent, and make the smallest change that satisfies the request.

Start here

Call skill_view for this Skill before using its resources. It returns baseDirectory; every bundled helper below lives under <baseDirectory>/scripts.

Default to a new output file. Replace the input only when the user explicitly asks for an in-place edit. Before changing a document, inspect it with docx_read.py and keep a recoverable original.

Core dependency:

python3 -m pip install python-docx lxml

Do not install dependencies silently. Check availability first and explain any missing dependency that blocks the task.

Helpers

  • docx_read.py: extract paragraphs, headings, tables, links, comments, headers, footers, and document metadata.
  • docx_create.py: create a document from structured JSON.
  • docx_edit.py: perform targeted text, paragraph, table, image, header, and footer edits.
  • docx_template.py: inspect placeholders and populate a template.
  • docx_comments.py: add, list, or remove comments.
  • docx_revisions.py: inspect, accept, or reject tracked revisions.
  • docx_validate.py: validate the resulting package and report structural problems.

Run helpers with terminal_exec, passing python3 as the command and arguments as an array. Use --help when a helper's exact arguments are unclear.

python3 <baseDirectory>/scripts/docx_read.py input.docx --json
python3 <baseDirectory>/scripts/docx_create.py spec.json -o output.docx
python3 <baseDirectory>/scripts/docx_edit.py input.docx edits.json -o output.docx
python3 <baseDirectory>/scripts/docx_validate.py output.docx

For tracked changes and comments, read references/revisions-and-comments.md through skill_view before editing them.

Workflow

  1. Inspect the source document and identify the exact sections to preserve or change.
  2. Build a structured specification or edit plan. Do not approximate names, numbers, dates, citations, or legal wording.
  3. Generate or edit a new .docx.
  4. Run docx_validate.py.
  5. When layout matters, convert the result to PDF with LibreOffice if available, render the relevant PDF pages with the bundled pdf Skill, and inspect the images with view_image. Check clipping, page breaks, tables, headers, footers, and image placement.
  6. Return the final absolute path and summarize material changes.

If LibreOffice is unavailable, still perform structural validation and clearly state that visual rendering was not available.

Safety

  • Never discard comments or tracked revisions unless the user requested that operation.
  • Treat accept-all/reject-all revisions and remove-all comments as destructive transformations; confirm the intended scope when it is ambiguous.
  • Do not execute macros or embedded objects.
  • Avoid copying sensitive document text into external services unless the user requested a workflow that requires it.
Preguntas frecuentes

¿Sobrescribirá mi archivo original?

No. Trabaja con un archivo de salida nuevo por defecto y edita el original solo cuando lo pides de forma explícita.

¿Puede gestionar los cambios controlados?

Sí. La skill incluye auxiliares para inspeccionar, aceptar o rechazar las revisiones controladas.

¿Necesita software adicional?

Necesita los paquetes Python python-docx y lxml, y el agente los comprueba antes de empezar.

Detalles

Descripción original del autor

Create, inspect, edit, validate, and visually verify Microsoft Word .docx documents, including templates, comments, tracked revisions, tables, images, headers, and footers.

repo: EKKOLearnAI/ekko-studio

Popularidad

Estrellas en GitHub
12 mil
Posición en el ranking
#11564
Licencia
—
Actualizada
2/11/2026

¿Te sirve esta skill?

0

Entra para votar.

Comentarios

  • …

Más skills de este repositorio

Skills parecidas