Logo : Office

Office

Communauté
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.

Présentation

ÉditeurLynricsy
DépôtHyperSkills
Nom de la compétenceoffice
Étoiles
26
Forks
0
Fichiers inclus
24
LicenceMIT
Liens
  • Instructions en Markdown

    Un fichier SKILL.md que le modèle charge à la demande : il ne consomme donc des tokens que lorsqu’une demande correspond réellement à la compétence.

  • Compatible avec tous les LLM

    Les compétences IA sont rédigées en Markdown et non sous forme de code propre à un fournisseur. Elles fonctionnent donc avec GPT, Claude, Gemini, Grok ou un modèle local.

  • Fichiers inclus : 24

    Des scripts, des gabarits et des références que le modèle peut consulter pendant son travail. Les fichiers sont en lecture seule et ne sont jamais exécutés.

  • Open source

    Publiée par Lynricsy sur GitHub. Consultez les sources avant de l’installer.

Installation

Installez la compétence IA Office dans TypingMind pour l’utiliser avec n’importe quel LLM, ou ajoutez-la à un autre agent capable de lire SKILL.md.

1

Installer dans TypingMind

TypingMind installe une compétence directement depuis son dossier GitHub : l’application lit SKILL.md, regroupe les fichiers de ressources et enregistre le tout localement.

  1. Ouvrez l’application et accédez à Plugins → Compétences.
  2. Choisissez « Installer depuis GitHub ».
  3. Copiez l’URL ci-dessous, qui pointe vers le dossier de la compétence, puis collez-la et confirmez.
    https://github.com/Lynricsy/HyperSkills/tree/main/skills/office
  4. Activez la compétence dans chaque discussion où vous souhaitez pouvoir l’utiliser.
Plugins → Compétences → Ajouter une compétence → Via une URL GitHub, puis collez l’URL du dossier et appuyez sur Continuer.
2

Installer dans un autre agent

Tout agent capable de lire le format Agent Skills peut utiliser cette compétence : copiez le dossier dans le répertoire des compétences de cet agent.

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
Redémarrez Claude Code après la copie pour que la nouvelle compétence soit prise en compte.

Utilisez cette compétence dans TypingMind

Activez Office dans n’importe quelle discussion TypingMind et le modèle s’occupe du reste. Le nom et la description de la compétence figurent dans le prompt système. Dès qu’une demande correspond, le modèle charge lui-même l’intégralité des instructions : vous n’avez jamais à l’invoquer manuellement, et elle ne consomme aucun token tant qu’elle n’est pas utilisée.

Le modèle charge automatiquement Office dès qu’une demande correspond à cette compétence.

Compatible avec tous les modèles IA

Les compétences IA sont de simples instructions Markdown, et non du code propre à un fournisseur. Ainsi, la compétence Office n’est pas liée au modèle pour lequel elle a été conçue. Installez-la une seule fois dans TypingMind et utilisez-la avec GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou un modèle local que vous exécutez vous-même, le tout avec vos propres clés API.

  • Chargée uniquement en cas de besoin

    Le prompt système ne contient que le nom et la description. Les instructions sont récupérées à la première demande correspondante : une compétence inutilisée ne coûte donc rien.

  • Changez de modèle en cours de discussion

    La compétence étant constituée d’instructions et non de code, elle reste fonctionnelle lorsque vous changez de modèle : le nouveau modèle lit le même fichier SKILL.md.

Instructions de la compétence

Voici le contenu de SKILL.md que le modèle charge. Lisez-le avant l’installation : une compétence contient des instructions que votre modèle suivra.

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.

Fichiers inclus

Le modèle lit ces fichiers à la demande lorsque la compétence est chargée. Ils sont accessibles en lecture et ne sont jamais exécutés.

Foire aux questions

À quoi sert la compétence IA 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.

Pourquoi utiliser Office sur TypingMind ?

Parce que vous l’installez une seule fois pour l’utiliser avec n’importe quel modèle. Office se compose de simples instructions en Markdown plutôt que de code propre à un fournisseur. La même compétence fonctionne donc avec GPT-5, Claude, Gemini, Grok ou un modèle local, et vous pouvez changer de modèle en cours de discussion sans perturber son fonctionnement. TypingMind utilise vos propres clés API : vous payez donc directement les fournisseurs plutôt qu’un abonnement par siège, et vos compétences et discussions restent dans votre propre espace de stockage.

Comment installer Office dans TypingMind ?

Dans TypingMind, ouvrez Plugins → Compétences → Installer depuis GitHub et collez https://github.com/Lynricsy/HyperSkills/tree/main/skills/office. TypingMind lit le fichier SKILL.md, regroupe les fichiers associés et installe le tout sous forme de compétence que vous pouvez activer pour chaque discussion.

Quels modèles d’IA peuvent utiliser Office ?

N’importe quel modèle que vous connectez dans TypingMind. Les compétences IA sont de simples instructions en Markdown, et non du code propre à un fournisseur. GPT, Claude, Gemini, Grok et les modèles locaux peuvent donc tous charger cette compétence lorsqu’une demande lui correspond.

Combien de modèles d’IA puis-je utiliser avec Office ?

Autant que vous le souhaitez. Vous pouvez utiliser Office avec tout modèle qui prend en charge les compétences : GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama et bien d’autres, le tout dans TypingMind avec vos propres clés API.

La compétence IA Office est-elle gratuite ?

Oui. Cette compétence est publiée sur GitHub par Lynricsy sous licence MIT. Vous ne payez que votre propre fournisseur d’IA pour les tokens utilisés.

Que sont les compétences IA ?

Une compétence IA est un ensemble d’instructions réutilisables qui apprend à un modèle d’IA à accomplir une tâche précise. Elle suit le format ouvert Agent Skills : un fichier SKILL.md contenant un nom et une description, ainsi que les éventuels scripts, gabarits ou fichiers de référence dont le modèle peut avoir besoin. Le modèle ne lit les instructions que lorsque votre demande correspond à la compétence. Une compétence installée ne coûte donc rien tant qu’elle n’est pas utilisée.

En quoi les compétences IA diffèrent-elles des plugins ou des serveurs MCP ?

Un plugin ou un serveur MCP fournit au modèle de nouveaux outils à appeler : du code qui s’exécute quelque part et renvoie un résultat. Une compétence IA lui apporte plutôt des connaissances et une méthode : comment aborder une tâche, quelles étapes suivre et à quoi ressemble un bon résultat. Les compétences sont de simples instructions en Markdown. Elles ne nécessitent donc ni serveur, ni clé API, ni environnement d’exécution, et fonctionnent avec n’importe quel modèle.

Tout voir

Créez votre propre espace de travail IA dès maintenant

Abonnez-vous à notre newsletter pour être informé des nouvelles fonctionnalités et des prochains cadeaux à gagner 👇