Logo de Office

Office

Comunidade
Lynricsy
office

Creates, edits and converts local Word, PowerPoint, Excel and PDF files; not Google Docs or Sheets. Use when a deliverable or input is .docx, .pptx, .xlsx or .pdf: reports, decks, spreadsheets with formulas, tracked changes and comments, form filling, PDF merge, split, OCR or table extraction, or Markdown to Word, including a small edit to an existing file.

Visão geral

Publicado porLynricsy
RepositórioHyperSkills
Nome da habilidadeoffice
Estrelas
26
Forks
0
Arquivos incluídos
24
LicençaMIT
Links
  • Instruções em Markdown

    Um arquivo SKILL.md que o modelo carrega sob demanda, consumindo tokens apenas quando uma solicitação é realmente relevante para a habilidade.

  • Funciona com qualquer LLM

    As habilidades de IA são escritas em Markdown simples, não em código específico de um provedor. Por isso, funcionam com GPT, Claude, Gemini, Grok ou um modelo local.

  • Arquivos incluídos: 24

    Scripts, templates e referências que o modelo pode ler enquanto trabalha. Os arquivos são somente para leitura e nunca são executados.

  • Código aberto

    Publicada por Lynricsy no GitHub. Leia os arquivos da habilidade antes de instalá-la.

Instalação

Instale a habilidade de IA Office no TypingMind para usá-la com qualquer LLM ou adicione-a a outro agente que leia SKILL.md.

1

Instalar no TypingMind

O TypingMind instala uma habilidade diretamente da pasta dela no GitHub — lê o arquivo SKILL.md, reúne os arquivos de recursos em um pacote e armazena o resultado localmente.

  1. Abra o app e vá para Plugins → Habilidades.
  2. Escolha "Instalar do GitHub".
  3. Cole a URL abaixo, que aponta para a pasta da habilidade, e confirme.
    https://github.com/Lynricsy/HyperSkills/tree/main/skills/office
  4. Ative a habilidade em cada chat em que quiser disponibilizá-la.
Plugins → Habilidades → Adicionar habilidade → Via URL do GitHub. Depois, cole a URL da pasta e pressione Continuar.
2

Instalar em outro agente

Qualquer agente que leia o formato Agent Skills pode usar esta habilidade — copie a pasta para o diretório de habilidades desse agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Lynricsy/HyperSkills.git /tmp/HyperSkills
mkdir -p .claude/skills
cp -r /tmp/HyperSkills/skills/office .claude/skills/office
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Office em qualquer chat do TypingMind e o modelo cuida do resto. O nome e a descrição da habilidade ficam no prompt do sistema e, assim que uma solicitação relevante aparece, o modelo carrega as instruções completas automaticamente — sem precisar de acionamento manual e sem consumir tokens até que ela seja realmente usada.

O modelo carrega Office automaticamente assim que uma solicitação é relevante para essa habilidade.

Funciona com qualquer modelo de IA

Habilidades de IA são instruções em Markdown simples, não código específico de um provedor. Por isso, Office não fica vinculada ao modelo para o qual foi criada. Instale-a uma vez no TypingMind e use-a com GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou um modelo local executado por conta própria — tudo com suas próprias chaves de API.

  • Carregada apenas quando necessário

    O prompt do sistema contém apenas o nome e a descrição. As instruções são buscadas na primeira solicitação relevante, então uma habilidade sem uso não gera custo.

  • Troque de modelo durante a conversa

    Como a habilidade é composta de instruções, não de código, trocar de modelo não afeta seu funcionamento — o próximo modelo lê o mesmo arquivo SKILL.md.

Instruções da habilidade

Este é o conteúdo de SKILL.md que o modelo carrega. Leia antes de instalar — uma habilidade é um conjunto de instruções que seu modelo seguirá.

office

Paths below are relative to this skill's directory.

Scope

Local Office and PDF files: .docx, .pptx, .xlsx, .pdf, plus the macro-enabled and template variants (.docm, .pptm, .potx, .xlsm). Creating them, editing existing ones in place, extracting their content, and converting between them and Markdown.

Not covered:

  • Google Docs, Sheets and Slides, or any other hosted document API.
  • HTML, Markdown or LaTeX as the deliverable. Markdown input that becomes a .docx is in scope.
  • Analysis whose output is a chart, a number or a written answer rather than a file.
  • Legacy binary formats (.doc, .ppt, .xls) beyond converting them to the modern equivalent with LibreOffice first.
  • .odt / .odp / .ods as authored formats.

Core rules

  • Render the current version of the file and read the page images before calling any of this done. The libraries do not lay out text, so overflow, clipping and missing elements exist only in the render.
  • Reopen every generated file with its matching Python library. LibreOffice converts packages that python-docx rejects, so conversion alone is not proof the file is well formed.
  • Edit an existing file; never regenerate it from what you extracted. Extraction is lossy, so a rewrite silently drops styles, headers, fields and anything you did not read.
  • Write formulas into spreadsheets, never computed values. A workbook of literals cannot be re-run when an assumption changes, which is the only reason the recipient wanted a spreadsheet.
  • Never deliver a workbook until scripts/xlsx_recalc.py exits zero. openpyxl writes formula strings without evaluating them, so an unrecalculated workbook is entirely unverified.
  • Write post-2007 Excel functions with the _xlfn. prefix, and prefer formulas that return one value per cell. Bare XLOOKUP recalculates to #NAME?, and a dynamic array truncates to its first element without raising an error.
  • Pass pptxgenjs colours as six hex digits or a pptx.SchemeColor. Eight-digit hex and CSS names are replaced with black on a stderr warning nothing shows.
  • Give every ImageRun an explicit type. Before docx 9.13 a missing type writes the media part with an undefined extension and no content type; later versions read it from the bytes, but the bundled converter pins 9.7.
  • Wrap every docx-js run in a Paragraph. A TextRun or PageBreak placed directly in a section is written to the file and then ignored by every renderer.
  • Do structural work before content work: adding, deleting or reordering slides or sheets invalidates every index and relationship id cached before it.
  • Choose fonts with metric-compatible substitutes — Arial, Times New Roman, Courier New — and never Aptos. A substituted font with different widths makes the visual check lie about line breaks.
  • Verify tracked changes with pandoc --track-changes=accept and --track-changes=reject, not with a render, which shows both versions at once.
  • Read a document that may carry revisions with --track-changes=all. The default silently returns the accepted text and hides that anything is pending.
  • Never invent a figure to fill a table, chart or field. Leave the gap visible and say what is missing.

Workflows

Task routing

Pick the tool from the deliverable, then follow the matching workflow.

FormatCreateEdit existingRead
docxdocx-js (docx npm)Unpack, edit word/document.xml, repackpandoc -f docx -t markdown
pptxpptxgenjspython-pptx; ppt/slides/slideN.xml for structuremarkitdown
xlsxopenpyxlopenpyxlopenpyxl, or pandas for bulk tables
pdfreportlabpypdf, qpdfpdfplumber, pdftotext -layout

Markdown to docx has its own path: scripts/md_to_docx.mjs by default, pandoc with a reference document when a house template must be matched.

create-document

  • Confirm the format, the audience and whether a template must be matched.
  • Read the reference for the format from the topic router before writing code, for the failure modes rather than the API.
  • Pick fonts with metric substitutes and, for a deck, a named palette.
  • Generate the file.
  • Reopen it with the matching library.
  • xlsx only: uv run scripts/xlsx_recalc.py <file> must exit zero.
  • uv run scripts/render_preview.py <file> and read every image.
  • Gate: library reopen succeeds, recalc is clean where applicable, and the images show no overflow, no missing element and no placeholder text.

edit-existing

  • Render the original first, so "what changed" has a baseline.
  • Decide the layer: library API if it can express the change, OOXML unpack if it cannot (tracked changes, comments, slide order, themes).
  • Keep the original file untouched and work on a copy.
  • Structural edits first, then save, reopen, then content edits.
  • For OOXML work: uv run scripts/office_unpack.py in.docx work/, edit, uv run scripts/office_pack.py work/ out.docx.
  • Reopen with the matching library.
  • Render the result and compare against the baseline render.
  • Gate: the intended change is visible, nothing else moved, and for redlining pandoc --track-changes=reject reproduces the original text while --track-changes=accept shows the edit.

read-extract

  • Establish what is being asked for: text, tables, numbers, or a summary.
  • Use the read tool from the routing table.
  • Word documents: pass --track-changes=all when revisions may exist.
  • PDFs: a page yielding no text is a scan — switch to OCR rather than concluding the file is broken.
  • Spot-check extracted numbers against the rendered page before anything acts on them.
  • Gate: every figure reported has been checked against the rendered source, and OCR-derived text is labelled as such.

convert

  • Markdown to docx: node scripts/md_to_docx.mjs in.md out.docx, or pandoc with --reference-doc when a template must be matched.
  • Office to PDF: soffice --headless --convert-to pdf <file>.
  • Office to Markdown: pandoc for docx, markitdown for pptx and xlsx.
  • Legacy binary to modern: soffice --headless --convert-to docx old.doc, then treat the result as the source.
  • Render the output and confirm the conversion did not reflow anything that matters — tables, page breaks, image placement.
  • Gate: the converted file opens in its library and its render matches the source's intent.

Topic router

TopicRead whenFile
Word creation, styles, tables, images, TOCBuilding or reading a .docxreferences/docx.md
Tracked changes, comments, redliningA reviewer must accept or reject editsreferences/docx-tracked-changes-comments.md
Markdown to Word, reference templatesConverting Markdown, or matching a house templatereferences/markdown-to-docx.md
pptxgenjs, python-pptx, template fillingBuilding or editing a deckreferences/pptx.md
Layouts, type scale, palette, avoid listThe deck has to look designedreferences/pptx-design.md
openpyxl, merged cells, formats, charts, VBAAny spreadsheet workreferences/xlsx.md
_xlfn. prefixes, dynamic arrays, model conventionsWriting formulas, or a financial modelreferences/xlsx-formulas.md
reportlab, pypdf, merge, split, watermark, encryptAny PDF workreferences/pdf.md
AcroForm fields, overlays, table extraction, OCRFilling a form or extracting from a PDFreferences/pdf-forms-tables-ocr.md
Package layout, content types, relationships, repackThe library cannot express the changereferences/ooxml-editing.md
Render loop, what to look for, font substitutionEvery delivery; before choosing fontsreferences/render-qa-fonts.md

Output format

When the deliverable is a file, report it like this — path, what was verified, and what a reader still has to decide:

report.docx — 4 pages
  verified: python-docx reopen; rendered 4/4 pages and reviewed
  assumptions: Q3 figures from the attached CSV; growth rate left at 12%
  open: the appendix table runs to the margin at A4; confirm Letter is intended

For a spreadsheet, include the recalculation result:

model.xlsx — Model sheet, 12 formula cells
  verified: xlsx_recalc.py clean (0 errors); openpyxl reopen keeps formulas
  assumptions: B2 growth 12%, B3 COGS 40% — both editable, everything derives

When a gate fails, say which one and what the failure was, rather than delivering with a caveat:

deck.pptx — NOT delivered
  gate: visual review, slide 4
  failure: the traction chart title overflows its box at 24 pt

Environment

System packages:

bash
# Debian / Ubuntu
sudo apt-get install -y libreoffice poppler-utils pandoc qpdf tesseract-ocr \
  fonts-liberation fonts-crosextra-carlito fonts-crosextra-caladea
# macOS
brew install --cask libreoffice && brew install poppler pandoc qpdf tesseract

Python (each bundled script declares its own PEP 723 dependencies, so uv run scripts/<name>.py needs no environment setup):

bash
uv pip install openpyxl pandas "markitdown[pptx,docx,xlsx,pdf]" Pillow lxml \
  python-docx python-pptx pypdf pdfplumber reportlab pytesseract pdf2image

Node, for document generation:

bash
cd scripts && npm install     # docx, marked
npm install pptxgenjs         # in the working directory for a deck

Bundled scripts:

ScriptModePurpose
scripts/render_preview.pyRunAny Office or PDF file to page PNGs for review
scripts/xlsx_recalc.pyRunRecalculate with LibreOffice, scan for error cells, non-zero exit on any
scripts/office_unpack.pyRunUnpack an OOXML package, recording entry order
scripts/office_pack.pyRunRepack it with [Content_Types].xml first and no directory prefix
scripts/md_to_docx.mjsRunMarkdown to Word with no native dependency
scripts/pdf_form_fields.pyRunList AcroForm fields with checkbox states; fill them with validation

Fonts are a correctness dependency, not cosmetics: check fc-match <font> returns the metric-compatible substitute before trusting a render, as described in references/render-qa-fonts.md.

Arquivos incluídos

O modelo lê esses arquivos sob demanda enquanto a habilidade está carregada. Eles são disponibilizados para leitura e nunca são executados.

Perguntas frequentes

O que a habilidade de IA Office faz?

Creates, edits and converts local Word, PowerPoint, Excel and PDF files; not Google Docs or Sheets. Use when a deliverable or input is .docx, .pptx, .xlsx or .pdf: reports, decks, spreadsheets with formulas, tracked changes and comments, form filling, PDF merge, split, OCR or table extraction, or Markdown to Word, including a small edit to an existing file.

Por que usar Office no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. A habilidade Office é escrita em Markdown simples, e não em código específico de um provedor, então a mesma habilidade funciona com GPT-5, Claude, Gemini, Grok ou um modelo local — e é possível trocar de modelo no meio do chat sem que ela deixe de funcionar. No TypingMind, você usa suas próprias chaves de API e paga diretamente aos provedores, em vez de pagar uma assinatura por licença de usuário. Suas habilidades e chats permanecem no seu próprio armazenamento.

Como instalar Office no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/Lynricsy/HyperSkills/tree/main/skills/office. O TypingMind lê o arquivo SKILL.md, reúne os arquivos da habilidade e a instala para que possa ser ativada em cada chat.

Quais modelos de IA podem usar Office?

Qualquer modelo conectado no TypingMind. As habilidades de IA são instruções em Markdown simples, e não código específico de um provedor. Assim, GPT, Claude, Gemini, Grok e modelos locais podem carregar esta habilidade quando uma solicitação corresponder a ela.

Quantos modelos de IA posso usar com Office?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Office com ele — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e outros — tudo no TypingMind com suas próprias chaves de API.

A habilidade de IA Office é gratuita?

Sim. A habilidade é publicada no GitHub por Lynricsy sob a licença MIT. O pagamento é feito apenas ao seu provedor de IA pelos tokens usados.

O que são habilidades de IA?

Uma habilidade de IA é um conjunto reutilizável de instruções que ensina um modelo de IA a realizar uma tarefa específica. Ela segue o formato aberto Agent Skills: um arquivo SKILL.md com nome e descrição, além de scripts, templates ou arquivos de referência de que o modelo possa precisar. O modelo lê as instruções apenas quando sua solicitação corresponde à habilidade, então uma habilidade instalada não gera custos até ser usada.

Qual é a diferença entre habilidades de IA e plugins ou servidores MCP?

Um plugin ou servidor MCP oferece ao modelo novas ferramentas que ele pode acionar — código que é executado em algum lugar e retorna um resultado. Já uma habilidade de IA dá ao modelo o conhecimento e as orientações de que ele precisa: como abordar uma tarefa, quais etapas seguir e como deve ser um bom resultado. As habilidades são escritas em Markdown simples, por isso não precisam de servidor, chave de API nem ambiente de execução, e funcionam com qualquer modelo.

Ver lista completa

Crie seu próprio espaço de trabalho com IA agora

Inscreva-se na nossa newsletter para receber avisos sobre novos recursos e futuros sorteios 👇