Логотип Office

Office

Спільнота
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.

Огляд

ВидавецьLynricsy
РепозиторійHyperSkills
Назва навичкиoffice
Зірки
26
Форки
0
Файли в пакеті
24
ЛіцензіяMIT
Посилання
  • Інструкції у форматі Markdown

    Файл SKILL.md, який модель завантажує за потреби, тож токени витрачаються лише тоді, коли запит справді відповідає навичці.

  • Працює з будь-якою LLM

    Навички ШІ — це звичайний Markdown, а не код для певного постачальника, тому вони працюють із GPT, Claude, Gemini, Grok або локальною моделлю.

  • Файлів у комплекті: 24

    Скрипти, шаблони й довідкові матеріали, які модель може читати під час роботи. Файли доступні лише для читання й ніколи не виконуються.

  • Відкритий вихідний код

    Видавець на GitHub: Lynricsy. Перед установленням перегляньте вихідні файли навички.

Встановлення

Установіть навичку ШІ Office у TypingMind, щоб використовувати її з будь-якою LLM, або додайте її до іншого агента, що читає SKILL.md.

1

Встановити в TypingMind

TypingMind встановлює навичку безпосередньо з її папки на GitHub — читає SKILL.md, збирає файли ресурсів у пакет і зберігає результат локально.

  1. Відкрийте застосунок і перейдіть до розділу «Плагіни» → «Навички».
  2. Виберіть «Встановити з GitHub».
  3. Вставте наведений нижче URL папки навички та підтвердьте встановлення.
    https://github.com/Lynricsy/HyperSkills/tree/main/skills/office
  4. Увімкніть навичку в кожному чаті, де хочете її використовувати.
Плагіни → Навички → Додати навичку → За URL GitHub, потім вставте URL папки й натисніть «Продовжити».
2

Встановити в іншому агенті

Будь-який агент, що підтримує формат Agent Skills, може використовувати цю навичку — скопіюйте папку до каталогу навичок цього агента.

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
Після копіювання перезапустіть Claude Code, щоб завантажити нову навичку.

Використовуйте навичку в TypingMind

Увімкніть навичку Office в будь-якому чаті TypingMind, і далі модель усе зробить сама. Назва й опис навички містяться в системному промпті, а щойно надходить відповідний запит, модель самостійно завантажує повні інструкції — вам не потрібно викликати навичку вручну, і до фактичного використання вона не витрачає токенів.

Модель самостійно завантажує навичку Office, щойно надходить відповідний запит.

Працює з будь-якою моделлю ШІ

Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для певного постачальника, тому навичка Office не прив’язана до моделі, для якої її створено. Установіть її один раз у TypingMind і використовуйте з GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama або локальною моделлю, яку ви запускаєте самостійно, — усе з вашими власними ключами API.

  • Завантажується лише за потреби

    Системний промпт містить лише назву й опис. Інструкції завантажуються за першого відповідного запиту, тож поки навичка не потрібна, токени на її інструкції не витрачаються.

  • Змінюйте моделі під час чату

    Оскільки навичка — це інструкції, а не код, зміна моделі не порушує її роботу: наступна модель читає той самий файл SKILL.md.

Інструкції навички

Це вміст файлу SKILL.md, який завантажує модель. Прочитайте його перед установленням — навичка містить інструкції, яких дотримуватиметься ваша модель.

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.

Файли в пакеті

Модель читає ці файли за потреби, поки навичку завантажено. Вони доступні для читання й ніколи не виконуються.

Поширені запитання

Що робить навичка ШІ 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.

Навіщо використовувати Office у TypingMind?

Тому що ви встановлюєте її один раз і використовуєте з будь-якою моделлю. Office — це звичайний Markdown, а не код для конкретного постачальника, тому та сама навичка працює з GPT-5, Claude, Gemini, Grok або локальною моделлю. Ви можете змінити модель навіть посеред чату, і навичка продовжить працювати. TypingMind використовує ваші власні ключі API, тож ви платите безпосередньо постачальникам замість передплати за кожне місце користувача, а ваші навички й чати залишаються у вашому сховищі.

Як встановити Office у TypingMind?

Відкрийте в TypingMind Плагіни → Навички → Встановити з GitHub і вставте https://github.com/Lynricsy/HyperSkills/tree/main/skills/office. TypingMind прочитає файл SKILL.md, додасть супровідні файли та встановить навичку, яку можна вмикати окремо для кожного чату.

Які моделі ШІ можуть використовувати Office?

Будь-яка модель, яку ви підключите в TypingMind. Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для конкретного постачальника, тому GPT, Claude, Gemini, Grok і локальні моделі можуть завантажувати цю навичку, коли запит їй відповідає.

Зі скількома моделями ШІ можна використовувати Office?

Зі скількома забажаєте. У TypingMind ви можете використовувати Office із будь-якою моделлю, яка підтримує навички, зокрема з GPT, Claude, Gemini, Grok, DeepSeek, Mistral чи Llama. Для цього ви використовуєте власні ключі API.

Чи безкоштовна навичка ШІ Office?

Так. На GitHub цю навичку публікує Lynricsy за ліцензією MIT. Ви платите лише своєму постачальнику ШІ за використані токени.

Що таке навички ШІ?

Навичка ШІ — це набір інструкцій для повторного використання, який навчає модель ШІ виконувати одне конкретне завдання. Він відповідає відкритому формату Agent Skills: файл SKILL.md із назвою та описом, а також скрипти, шаблони чи довідкові файли, які можуть знадобитися моделі. Модель читає інструкції лише тоді, коли ваш запит відповідає навичці, тому встановлена навичка нічого не коштує, доки її не використано.

Чим навички ШІ відрізняються від плагінів або серверів MCP?

Плагін або сервер MCP надає моделі нові інструменти, які вона може викликати, — код, який десь виконується й повертає результат. Натомість навичка ШІ дає моделі знання й пояснює порядок дій: як підійти до завдання, яких кроків дотримуватися та яким має бути якісний результат. Навички — це звичайний Markdown, тож їм не потрібні ні сервер, ні ключ API, ні середовище виконання, і вони працюють із будь-якою моделлю.

Усі

Створіть власний робочий простір зі ШІ вже зараз

Підпишіться на нашу розсилку, щоб дізнаватися про нові функції та майбутні розіграші 👇