office-documents

Read, modify, and extract text and structured data from PDF, DOCX, XLSX, and PPTX files.

Updated Jun 18, 2026
One-click install
npx skills add https://github.com/Tsungloong/LearnOS --skill office-documents-tsungloong
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: office-documents
Source: https://github.com/Tsungloong/LearnOS/tree/main/skills2set/office-documents
Command: npx skills add https://github.com/Tsungloong/LearnOS --skill office-documents-tsungloong

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires markitdown, python-docx, openpyxl, python-pptx, pdfplumber, pypdf, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines the process of reading, modifying, and extracting information from PDF, DOCX, XLSX, and PPTX files, freeing up time for more important tasks.

Core Features & Use Cases

  • Document Reading: Extract text, tables, and metadata from various file formats.
  • Document Editing: Safely modify content in PDF, DOCX, XLSX, and PPTX files with JSON-based operations.
  • Use Case: Imagine you need to update a presentation quickly. Use this Skill to change a slide title, modify data in a spreadsheet, or extract key information from a PDF document.

Quick Start

Use the office-documents skill to add a new slide with text 'Welcome to the Presentation' to the first slide of 'presentation.pptx'.

Frequently Asked Questions about office-documents

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I extract text and tables from PDF and DOCX files?

To extract text and tables from PDF and DOCX files, you can use Python libraries like pdfplumber for PDFs and python-docx for Word documents to parse structured data and metadata efficiently.

Can I modify Excel and PowerPoint content using Python automation?

Yes, you can modify Excel and PowerPoint content using Python libraries openpyxl for XLSX files and python-pptx for PPTX files, applying JSON-based operations to update data and slide elements.

What is the best way to automate reading structured data from office documents?

The best way to automate reading structured data from office documents is using Python libraries like markitdown and pdfplumber, which extract text, tables, and metadata from multiple file formats.

Do I need to install specific Python libraries to manipulate PDF and PPTX files?

Yes, you need to install specific Python libraries such as pdfplumber, pypdf for PDF files, and python-pptx for PPTX files to enable full document reading, modification, and extraction functionality.

How do I add a new slide to a PowerPoint presentation programmatically?

To add a new slide to a PowerPoint presentation programmatically, utilize the python-pptx library to insert text content and modify slide structures within PPTX files through automated scripts.